funannotate icon indicating copy to clipboard operation
funannotate copied to clipboard

Funannotate compare-IndexError: list index out of range

Open Skhanal2 opened this issue 3 years ago • 2 comments

Hello, I am trying to run Funannotate compare. I have gbk file from seven genome generated by "Funannotate annotate" However, everytime i run I get the following error saying list index out of range

code: singularity exec /sw/hprc/sw/bio/containers/funannotate-1.8.11-07122022.sif funannotate compare -i TX_1_Tilletia_horrida.gbk TX_2_Tilletia_horrida.gbk TX_3_Tilletia_horrida.gbk TX_4_Tilletia_horrida.gbk TX_5_Tilletia_horrida.gbk TX_6_Tilletia_horrida.gbk TX_7_Tilletia_horrida.gbk

error: [Jul 19 10:32 AM]: OS: Debian GNU/Linux 10, 28 cores, ~ 65 GB RAM. Python: 3.8.13 [Jul 19 10:32 AM]: Running 1.8.11 [Jul 19 10:32 AM]: Now parsing 7 genomes [Jul 19 10:32 AM]: working on Tilletia horrida isolate TX_1 Traceback (most recent call last): File "/venv/bin/funannotate", line 8, in sys.exit(main()) File "/venv/lib/python3.8/site-packages/funannotate/funannotate.py", line 716, in main mod.main(arguments) File "/venv/lib/python3.8/site-packages/funannotate/compare.py", line 253, in main lib.gb2proteinortho(GBK, protortho, name) File "/venv/lib/python3.8/site-packages/funannotate/library.py", line 7852, in gb2proteinortho (item, k, v['protein'][i])) IndexError: list index out of range

Thank you

Skhanal2 avatar Jul 19 '22 15:07 Skhanal2

where did your genbank files come from - I now there are some parsing challenges at times - but are these annotations you perhaps did with funannotate?

hyphaltip avatar Jul 19 '22 18:07 hyphaltip

Yes, All those annotation were done with funannotate.

Skhanal2 avatar Jul 19 '22 19:07 Skhanal2