Illegal division by zero
Closed this issue · 2 comments
juancresc commented
I'm running tephra using potato genome
nohup tephra all -c tephra_config.yml &
This is the config file, the rest is as default
~/tephra/tephra-0.12.2/config$ cat tephra_config.yml
## For more information about this file, see:
## https://github.com/sestaton/tephra/wiki/Specifications-and-example-usage.
all:
- logfile: tephra_potato_genome.log
- genome: potato_dm_v404_all_pm_un.fasta
- outfile: potato_genome_transposons.gff3
- repeatdb: TEs_all_Repbase_St.fasta
- trnadb: TephraDB
- hmmdb: TephraDB
- threads: 14
- clean: YES
- debug: NO
- subs_rate: 1e-8
And this is the output with the error
tail -f nohup.out
INFO - Output files - /home/dzavallo/tephra/tephra-0.12.2/config/potato_dm_v404_all_pm_un_tephra_transposon_fragments.fasta
INFO - Command - Generating combined FASTA file of fragments and complete elements at: 06-11-2018 03:10:43.
INFO - Results - Finished generating combined FASTA file of fragments and complete elements at: 06-11-2018 03:10:49. Final output files:
INFO - Output files - potato_genome_transposons.fasta
INFO - Command - Generating combined GFF3 file at: 06-11-2018 03:10:49.
INFO - Results - Finished generating combined GFF3 file at: 06-11-2018 03:11:14. Final output files:
INFO - Output files - potato_genome_transposons.gff3
INFO - Command - Calculating global transposon family similarity at: 06-11-2018 03:11:14.
Use of uninitialized value $pid_sum in division (/) at /usr/local/share/perl/5.22.1/Tephra/Annotation/Util.pm line 378.
Illegal division by zero at /usr/local/share/perl/5.22.1/Tephra/Annotation/Util.pm line 378.
sestaton commented
This is just a warning that can be ignored for now, but I will fix the issue in the next release (today, probably).
It looks like the command completed fine otherwise. Do you see the output files according to the logs?
juancresc commented
I'll check the outputs but looks good till now. Thanks