agshumate/Liftoff

IndexError: list index out of range

ZhaoyanZhong opened this issue · 1 comments

Hello,
Thanks for the wonderful tool!

when I run the command 'liftoff -g Cv0.1.gff -m minimap2 -p 10 C.final.rawchrom.fasta Cndv0.1.fa', I faced this error:

2021-12-19 11:47:29,603 - INFO - Running ANALYZE features
extracting features
Traceback (most recent call last):
File "/home/zhaoyanzhong/App/miniconda3/envs/liftoff/lib/python3.9/site-packages/pyfaidx/init.py", line 559, in build_index
rname = line.rstrip('\n\r')[1:].split()[
IndexError: list index out of range

I would like to ask how to solve this problem?
Thanks so much!

hi,
this looks like the error is coming from the pyfaidx library during the fasta indexing step. I would make sure that both of your fasta files are correctly formatted