Gaius-Augustus / Augustus

Genome annotation with AUGUSTUS
http://bioinf.uni-greifswald.de/webaugustus/
272 stars 107 forks source link

properly message errors stemming from truncated parameter files #413

Open MarioStanke opened 3 weeks ago

MarioStanke commented 3 weeks ago

When a training process does not properly finish (e.g. multiple training processes write to the same species' directory, an interruption), augustus can come up with cryptic error messages.

An example to reproduce such an error:

cd Augustus/config/species/fly
rm fly_exon_probs.pbl
touch fly_exon_probs.pb

augustus --species=fly examples/example.fa

produces

augustus: ERROR
        Invalid nucleotide '�' encountered.

There should be an error message that reports a problem in the specific file. It is also possible, although I have not tested this, that different partial or corrupt parameter files lead to a segmentation fault.