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

Cava crashes when annotating certain transcripts #10

Open
jrwalsh opened this issue Mar 28, 2019 · 0 comments
Open

Cava crashes when annotating certain transcripts #10

jrwalsh opened this issue Mar 28, 2019 · 0 comments

Comments

@jrwalsh
Copy link

jrwalsh commented Mar 28, 2019

I have encountered a crash when annotating the transcript ENST00000390367.3 using Cava v1.2.0. Cava throws and error from the makeProteinString function of csn.py relating to an index out of bounds error.

This seems to be related to transcripts defined with an incomplete terminal codon and no UTR region. Variants in the position of the incomplete codon cannot be translated to an amino acid, causing the index error. When a UTR is present, it seems that cava will still define amino acids beyond the coding region, so there is no index error or crash.

This can be reproduced using this cava_db definition:
ENST00000390367.3 TRBV11-1 ENSG00000211720 -/0.5kb/2/0.4kb/115 7 -1 142223819 142224284 18 142224267 142223820 142224218 142224284 142223819 142224117

and either of these 2 variants:
chr7 142223820 . G T 39.13 LOW_VQSLOD
chr7 142223821 . G T 39.13 LOW_VQSLOD

Cava reports successful completion despite the hard crash. It would be preferable to have cava report a failure.

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