-
Notifications
You must be signed in to change notification settings - Fork 0
Augustus Training (with optimisation)
Gemy George Kaithakottil edited this page Apr 22, 2026
·
8 revisions
General note:
- Augustus comes with a fairly wide set of trained species, and training jobs can be submitted via the web service http://bioinf.uni-greifswald.de/webaugustus/training/create
- Augustus can be trained manually using the supplied scripts http://bioinf.uni-greifswald.de/augustus/binaries/retraining.html
- Maker pipeline provides a process for training Snap and Augustus
- Braker allows for fully automated training of Augustus and GeneMark-EX from RNA-seq and protein homology data
- BUSCO can be used to train augustus https://busco.ezlab.org/busco_userguide.html
cd /home/train/Annotation_workshop/Augustus/Trainingrm -rf Output && mkdir -p Output(
gff2gbSmallDNA.pl \
Inputs/gold.gff \
Inputs/Athaliana_447_TAIR10.Chr3.fa \
1000 \
Output/good_transcripts.full_models.gb \
--overlap
)gff2gbSmallDNA.pl Inputs/gold.gff Inputs/Athaliana_447_TAIR10.Chr3.fa 1000 Output/good_transcripts.full_models.gb --overlapgrep -c '^LOCUS' Output/good_transcripts.full_models.gbIf over (>) 1000 models:
randomSplit.pl Output/good_transcripts.full_models.gb 1000cd Output && ln -s good_transcripts.full_models.gb.test good_transcripts.gb && cd ..
else:
cd Output && ln -s good_transcripts.full_models.gb good_transcripts.gb && cd ..
randomSplit.pl Output/good_transcripts.gb 2005. Copy Augustus species config directory to current working directory to prevent accident modification of pre-trained Augustus species.
cp -a /opt/data/config Output/confignew_species.pl --AUGUSTUS_CONFIG_PATH=$PWD/Output/config --species=ath_wksp_optvim Output/config/species/ath_wksp_opt/ath_wksp_opt_parameters.cfg8. Make an initial Augustus training. This creates parameter files for exon, intron and intergenic region in the directory $AUGUSTUS_CONFIG_PATH/species/ath_wksp_opt
(
etraining \
Output/good_transcripts.gb.train \
--AUGUSTUS_CONFIG_PATH=$PWD/Output/config \
--species=ath_wksp_opt \
--stopCodonExcludedFromCDS=false
)etraining Output/good_transcripts.gb.train --AUGUSTUS_CONFIG_PATH=$PWD/Output/config --species=ath_wksp_opt --stopCodonExcludedFromCDS=false...
...
start codon frequencies: ATG(800)
# admissible start codons and their probabilities: ATG(1), CTG(0), TTG(0)
...
...
(
augustus \
--AUGUSTUS_CONFIG_PATH=$PWD/Output/config \
--species=ath_wksp_opt \
Output/good_transcripts.gb.test \
> Output/augustus.initial_test.txt
)augustus --AUGUSTUS_CONFIG_PATH=$PWD/Output/config --species=ath_wksp_opt Output/good_transcripts.gb.test > Output/augustus.initial_test.txtgrep -A 22 Evaluation Output/augustus.initial_test.txt...
...
******* Evaluation of gene prediction *******
---------------------------------------------\
| sensitivity | specificity |
---------------------------------------------|
nucleotide level | 0.978 | 0.81 |
---------------------------------------------/
----------------------------------------------------------------------------------------------------------\
| #pred | #anno | | FP = false pos. | FN = false neg. | | |
| total/ | total/ | TP |--------------------|--------------------| sensitivity | specificity |
| unique | unique | | part | ovlp | wrng | part | ovlp | wrng | | |
----------------------------------------------------------------------------------------------------------|
| | | | 388 | 165 | | |
exon level | 1493 | 1270 | 1105 | ------------------ | ------------------ | 0.87 | 0.74 |
| 1493 | 1270 | | 105 | 3 | 280 | 107 | 3 | 55 | | |
----------------------------------------------------------------------------------------------------------/
----------------------------------------------------------------------------\
transcript | #pred | #anno | TP | FP | FN | sensitivity | specificity |
----------------------------------------------------------------------------|
gene level | 310 | 200 | 110 | 200 | 90 | 0.55 | 0.355 |
----------------------------------------------------------------------------/
What the above means is that:
Of the 200 genes, 110 were predicted exactly
87% of the exons were predicted exactly
74% of the predicted exons were exactly as in the test set.
11. Start the optimize_augustus.pl script to optimise the prediction accuracy by adjusting the meta parameters in the *_parameters.cfg file. This optimisation can take quite some time.
(
optimize_augustus.pl \
--AUGUSTUS_CONFIG_PATH=$PWD/Output/config \
--species=ath_wksp_opt \
Output/good_transcripts.gb.train \
--cpus=4 \
--kfold=8 \
--UTR=on
)optimize_augustus.pl --AUGUSTUS_CONFIG_PATH=$PWD/Output/config --species=ath_wksp_opt Output/good_transcripts.gb.train --cpus=4 --kfold=8 --UTR=on12. After optimize_augustus.pl has finished or (after you have interrupted it) you should (re)train AUGUSTUS
(
etraining \
Output/good_transcripts.gb.train \
--AUGUSTUS_CONFIG_PATH=$PWD/Output/config \
--species=ath_wksp_opt \
--stopCodonExcludedFromCDS=false
)etraining Output/good_transcripts.gb.train --AUGUSTUS_CONFIG_PATH=$PWD/Output/config --species=ath_wksp_opt --stopCodonExcludedFromCDS=false(
augustus \
--AUGUSTUS_CONFIG_PATH=$PWD/Output/config \
--species=ath_wksp_opt \
Output/good_transcripts.gb.test \
> Output/augustus.final_test.txt
)augustus --AUGUSTUS_CONFIG_PATH=$PWD/Output/config --species=ath_wksp_opt Output/good_transcripts.gb.test > Output/augustus.final_test.txtgrep -A 22 Evaluation Output/augustus.final_test.txt******* Evaluation of gene prediction *******
---------------------------------------------\
| sensitivity | specificity |
---------------------------------------------|
nucleotide level | 0.98 | 0.801 |
---------------------------------------------/
----------------------------------------------------------------------------------------------------------\
| #pred | #anno | | FP = false pos. | FN = false neg. | | |
| total/ | total/ | TP |--------------------|--------------------| sensitivity | specificity |
| unique | unique | | part | ovlp | wrng | part | ovlp | wrng | | |
----------------------------------------------------------------------------------------------------------|
| | | | 406 | 149 | | |
exon level | 1527 | 1270 | 1121 | ------------------ | ------------------ | 0.883 | 0.734 |
| 1527 | 1270 | | 98 | 3 | 305 | 101 | 3 | 45 | | |
----------------------------------------------------------------------------------------------------------/
----------------------------------------------------------------------------\
transcript | #pred | #anno | TP | FP | FN | sensitivity | specificity |
----------------------------------------------------------------------------|
gene level | 316 | 200 | 109 | 207 | 91 | 0.545 | 0.345 |
----------------------------------------------------------------------------/
What the above means is that:
Of the 200 genes, 109 were predicted exactly (9 genes fewer compared to 32 CPUs and 32 kfold run below)
88.3% of the exons were predicted exactly
73.4% of the predicted exons were exactly as in the test set.
******* Evaluation of gene prediction *******
---------------------------------------------\
| sensitivity | specificity |
---------------------------------------------|
nucleotide level | 0.983 | 0.807 |
---------------------------------------------/
----------------------------------------------------------------------------------------------------------\
| #pred | #anno | | FP = false pos. | FN = false neg. | | |
| total/ | total/ | TP |--------------------|--------------------| sensitivity | specificity |
| unique | unique | | part | ovlp | wrng | part | ovlp | wrng | | |
----------------------------------------------------------------------------------------------------------|
| | | | 377 | 131 | | |
exon level | 1516 | 1270 | 1139 | ------------------ | ------------------ | 0.897 | 0.751 |
| 1516 | 1270 | | 82 | 2 | 293 | 85 | 2 | 44 | | |
----------------------------------------------------------------------------------------------------------/
----------------------------------------------------------------------------\
transcript | #pred | #anno | TP | FP | FN | sensitivity | specificity |
----------------------------------------------------------------------------|
gene level | 312 | 200 | 118 | 194 | 82 | 0.59 | 0.378 |
----------------------------------------------------------------------------/
What the above means is that:
Of the 200 genes, 118 were predicted exactly (9 genes more compared to 4 CPUs and 8 kfold run above)
89.7% of the exons were predicted exactly
75.1% of the predicted exons were exactly as in the test set.
cp -a Output/config Output/ath_wksp_opt_config- Workshop Wiki Home
- Basic Unix Command Guide
- Transcript assembly commands
- Mikado commands
- Annotation liftover commands
- Augustus
- Tiberius commands
- Helixer commands
- GALBA commands
- BRAKER3 commands
- Minos commands
- EVidenceModeler (EVM) commands
- Annotation Web Apollo Browser
- Workshop data locations
- Software tools used
- Guacamole tips
- Troubleshooting