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

varcode fails when it sees strange sequences in a vcf #88

Open
kippakers opened this issue May 29, 2015 · 3 comments
Open

varcode fails when it sees strange sequences in a vcf #88

kippakers opened this issue May 29, 2015 · 3 comments

Comments

@kippakers
Copy link

I've been working with 1000 genomes vcfs and they have the following unusual alternate alleles scattered throughout, which understandably anger varcode:

22 51179178 BI_GS_DEL1_B4_P2897_43 A 100 PASS
22 51068654 ALU_umary_ALU_12538 G INS:ME:ALU 100 PASS

gives:
AttributeError: '_SV' object has no attribute 'sequence'

I removed these lines to get it working (~1000 in chr22) but it would be nice if varcode just skipped these rather than dying.

@timodonnell
Copy link
Contributor

Thanks, Kip. Do you have a link to the VCF?

On Fri, May 29, 2015 at 6:06 PM, kippakers [email protected] wrote:

I've been working with 1000 genomes vcfs and they have the following
unusual alternate alleles scattered throughout, which understandably anger
varcode:

22 51179178 BI_GS_DEL1_B4_P2897_43 A 100 PASS
22 51068654 ALU_umary_ALU_12538 G INS:ME:ALU 100 PASS

gives:
AttributeError: '_SV' object has no attribute 'sequence'

I removed these lines to get it working (~1000 in chr22) but it would be
nice if varcode just skipped these rather than dying.


Reply to this email directly or view it on GitHub
#88.

@kippakers
Copy link
Author

Sure, ftp://ftp-trace.ncbi.nih.gov/1000genomes/ftp/release/20130502/supporting/functional_annotation/filtered/ALL.chr22.phase3_shapeit2_mvncall_integrated_v5.20130502.sites.annotation.vcf.gz

@iskandr
Copy link
Contributor

iskandr commented Sep 25, 2015

Related to #123 (we don't yet support structural variants)

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

3 participants