Skip to content
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

getRightStrand.py, IndexError: list index out of range #40

Open
codeatcg opened this issue Oct 30, 2020 · 0 comments
Open

getRightStrand.py, IndexError: list index out of range #40

codeatcg opened this issue Oct 30, 2020 · 0 comments

Comments

@codeatcg
Copy link

I met some problems (not the latest docker image). After checking my gff3 file and getRightStrand.py I found that error occurred when a gene contained an mRNA but lost CDS, just the situation in my gffs file. It seems to be different from the closed issue, though the error message is similar. I am worried that the latest image and the modification were not fit to the situation i encountered.
After modifying the code
if(len(position)<1):
continue
the errors seem to disappear.

Traceback (most recent call last):
File "/opt/LoReAn/code/lorean.py", line 610, in
main()
File "/opt/LoReAn/code/lorean.py", line 568, in main
update3_1 = grs.remove_redudant(ref_rename, update2)
File "/opt/LoReAn/code/getRightStrand.py", line 873, in remove_redudant
fasta = pep_seq(genome, final_evm)
File "/opt/LoReAn/code/getRightStrand.py", line 774, in pep_seq
t.start = position[0]
IndexError: list index out of range

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

1 participant