Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
olechnwin opened this issue May 3, 2023 · 1 comment

Comments

@olechnwin
Copy link

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants