BRAKER3 permission issue

Recently, I submitted a job to annotate a genome using the BRAKER3 tool. The job ended with an error described as follows. Could you please check into this? I need to get this annotation as soon as possible. I believe this is a permission issue that the Galaxy/BRAKER3 admin needs to check.

Fatal error: Exit code 2 ()

ERROR in file /opt/BRAKER/scripts/braker.pl at line 6005
Failed to create new species with new_species.pl, check write permissions in /opt/Augustus/config//species directory! Command was /usr/bin/perl /opt/Augustus/scripts/new_species.pl --species=Sp_1 --AUGUSTUS_CONFIG_PATH=/opt/Augustus/config/ 1> /dev/null 2>/data/jwd07/main/086/145/86145761/working/braker/errors/new_species.stderr

HI @Milind_Mutnale

Thanks for sharing the job logs!

Would you be able to confirm that you are working at UseGalaxy.eu? And, are you following a tutorial (this one?) or is this your own data.

I’m also starting up an independent test at the EU server with the tutorial data to see if I can trigger the same error, but if you would like to capture the Job Details table for your run (lists all runtime parameters) that would be very helpful! A peek at your genome file would be helpful too (also on that view, the expanded dataset is enough since it will show all the metadata).

Use the i-info icon on any dataset, or tab into Details from the bug report view.

Let’s start there – I’ll get my simple test going meanwhile. Thanks! :slight_smile:


XRef

  1. Not all of the available parameters for BRAKER3 can be supported at the public Galaxy servers. Details → genome annotation with Braker3
  2. Then, if you want to run this on your own computer, there is a Docker image recommended by the tool authors. Details → Installing BRAKER3 with GENEMARK configured on a local Galaxy server - #6 by abretaud

Hi @jennaj

Thanks for your reply. Yes, I am using the “http://usegalaxy.eu/”.

I had used Braker3 in the past, but had never come across this error.

The dataset details are as follows. Let me know if you need any furthur information.

Dataset Information

Number 84
Name BRAKER3 on data 61 and data 80: GTF Annotation
Created Tuesday Jul 15th 17:27:57 2025 GMT+1
Filesize -
Dbkey ?
Format gtf
File contents contents
History Content API ID 26c75dcccb616ac89e1cfc81a14c2c47
History API ID 14584605ee478e61 (view)
UUID 05737e61-5aa4-4db9-b685-996f589aecd7
Full Path /data/dnb11/galaxy_db/files/0/5/7/dataset_05737e61-5aa4-4db9-b685-996f589aecd7.dat
Originally Created From a File Named braker.gtf

Tool Parameters

Input Parameter Value
Assembly to annotate
Genome sequence is soft-masked true
Species name Not available.
evidences
RNA-seq mapped to genome to train Augustus/GeneMark
Proteins to map to genome
genemark
Fungal genome false
augustus
Use CRF training for Augustus false
Number of optimization rounds used in optimize_augustus.pl 5
Output ab initio predictions by AUGUSTUS false
CRF parameters false
advanced
Filter out too short training gene predicted by GeneMark-EX false
Reference set to evaluate predictions
File with pseudogenes that will be excluded from accuracy evaluation
Output alternative transcripts based on explicit evidence from hints true
dev
List of splice site patterns for UTR prediction Not available.
Minimal contig length for GeneMark-EX Not available.
Probablity for donor splice site pattern GC for gene prediction with GeneMark-EX 0.001
Maximum allowed size of intergenic regions in GeneMark-EX Not available.
Lambda parameter of the Poisson distribution 2
Output format GTF

Job Outputs

Tool Outputs Dataset
BRAKER3 on : GTF Annotation

Job Information

Galaxy Tool ID toolshed.g2.bx.psu.edu/repos/genouest/braker3/braker3/3.0.8+galaxy1
Job State error
Command Line braker.pl --genome ‘/data/dnb11/galaxy_db/files/5/6/f/dataset_56fce47c-aeaa-483b-9468-1c0db2e15eb1.dat’ --bam /data/dnb11/galaxy_db/files/f/2/8/dataset_f28c1f3b-1217-4604-9696-4ea92f9361cd.dat --rounds 5 --alternatives-from-evidence=true --gc_probability 0.001 --downsampling_lambda 2 --threads ${GALAXY_SLOTS:-2} --useexisting
Tool Standard Output # Tue Jul 15 19:37:34 2025: Log information is stored in file /data/jwd07/main/086/145/86145761/working/braker/braker.log
Tool Standard Error ERROR in file /opt/BRAKER/scripts/braker.pl at line 6005 Failed to create new species with new_species.pl, check write permissions in /opt/Augustus/config//species directory! Command was /usr/bin/perl /opt/Augustus/scripts/new_species.pl --species=Sp_1 --AUGUSTUS_CONFIG_PATH=/opt/Augustus/config/ 1> /dev/null 2>/data/jwd07/main/086/145/86145761/working/braker/errors/new_species.stderr
Tool Exit Code 2
Job Messages * desc: Fatal error: Exit code 2 ()
  • error_level: 3
  • type: exit_code
  • exit_code: 2|
    |Job API ID|11ac94870d0bb33a8a436ffdfc0a24f1

Hi @Milind_Mutnale

Thanks for sharing the parameters, and I think I see the problem.

If you can supply the input for

RNA-seq mapped to genome to train Augustus/GeneMark

Then, there will be data available for this option to also be toggled to true

Output alternative transcripts based on explicit evidence from hints

If not supplied, then the tool is falling back and attempting to call using GeneMark directly, which isn’t available in the public version. The CFC predictions are also not available from Augustus, but with the BAM mapping you can use ab initio predictions.

A bit complicated but hopefully this helps! :slight_smile: I don’t think this has changed from what was available in the prior versions hosted at the EU server (and the GTN VGP tutorials also support this usage), but if you can share an example, we can look into it more with that exact comparison. I didn’t have any successful jobs with the other options used.

Hi! We had the same type of errors on the .fr server, looks like there was a mistake in the last update of the braker3 tool (add docker image for Braker3 by rlibouba · Pull Request #57 · genouest/galaxy-tools · GitHub)
We’re working on a fix :slightly_smiling_face:
Anthony

1 Like

Hi @jennaj,
I had supplied the RNA-Seq mapped bam file for this job to train Augustus and GeneMark. However, I was still having this error. In the past, I had obtained annotations without providing any BAM file, too.

I just noticed when you mentioned aboout the RNA-Seq file.
Somehow when I copied and pasted the job details, the file names were not copied which I was using for the job. Below is the screenshot which shows my file names that were used for this job which ended up having an error. You can see that I have used RNA-Seq mapped bam file.

Hi @abretaud

I am not expert in this, but the error suggests that there is a write permission issue when writing it for new species. As i need a annotation for a species which is not in a database currently, I can not chose its name from the drop down menu.

I am not sure, but may be a recent update of BRAKER3 did not have write permission to public. Granting a write permission to all would might solve the issue?

Please let me know when this will be fixed. And thank you both of you for checking this issue.

Thanks @Milind_Mutnale for the extra details!

It looks like the author @abretaud is making a correction here

All of my tests across versions failed too, so there isn’t a workaround yet. Let’s wait for the fix and follow up with status here. :slight_smile: