-
Notifications
You must be signed in to change notification settings - Fork 55
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
Fixed #103 (KeyError: 'CIPOS') #111
base: master
Are you sure you want to change the base?
Conversation
I am still getting CIPOS error. Could you please check the following error?
|
Hi can you provide an example vcf for me to test with? I'll try to see what I can do. |
Sure. Here is the VCF file I am using https://bcm.box.com/s/otlv5zqdc0nbkgg1l4phskeelbfgrry9 Please let me know if you cannot download that file. |
It works good by adding "CIPOS=-100,100;CIEND=-100,100" to each SV entry in vcf file. |
Dear @srbehera Thank you for commenting on this post; I added "CIPOS=-100,100;CIEND=-100,100" to all my records and it worked; however, I'm worried about the genotyping results. I mean, doesn't adding "CIPOS=-100,100;CIEND=-100,100" to the variants affect the genotyping accuracy in samples? Thank you in advance for your time, |
Hello @dr-ashu-geno |
This pull requests fixes issue KeyError: 'CIPOS' #103 where svtyper fails with a KeyError due to the input VCF missing "CIPOS" information.
Fix consists of adding a try block around the offending code and setting
ci = [0, 0]