GenomeRIK / tama

Transcriptome Annotation by Modular Algorithms (for long read RNA sequencing data)
GNU General Public License v3.0
124 stars 24 forks source link

IndexError: list index out of range when running tama_orf_blastp_parser.py #103

Open olechnwin opened 1 year ago

olechnwin commented 1 year ago

Hi Richard,

I have another error running TAMA ORF prediction pipeline on a different annotation file.

This was the exact error and command run:

python /opt/tama/tama_go/orf_nmd_predictions/tama_orf_blastp_parser.py -b blastp_ensembl_rslt.txt -o blastp_ensembl_rslt_parsed.txt -f ensembl
opening blastp file
opening blastp file
Traceback (most recent call last):
  File "/opt/tama/tama_go/orf_nmd_predictions/tama_orf_blastp_parser.py", line 425, in <module>
    q_frame = q_name_split[-7]
IndexError: list index out of range

Any idea on how to fix this?

Thank you! Cen

GenomeRIK commented 9 months ago

Hi Cen,

Sorry for the late response. This typically happens when there is a formatting issue in the blastp output. Can you copy paste hat line to also show hidden characters?

Thank you, Richard