hall-lab / svtyper

Bayesian genotyper for structural variants
MIT License
126 stars 55 forks source link

Missing 'STR' field #4

Closed lancour closed 9 years ago

lancour commented 9 years ago

Hey, I am trying to convert site specific vcfs to genotyped vcfs using svtyper. The issue I am running into is that some of them get a key error corresponding to a 'STR' key. Is this a start value? What variant caller(s) do you use that can create the STR value in the .vcf file? Thanks.

P.S. you can close this and email me if you want, my email is on my profile.

cc2qe commented 9 years ago

Hi Dan,

The STR key is our VCF INFO tag referring to strand orientation for the variant. SVTyper was designed to work with the LUMPY SV detector, with LUMPY output converted to VCF with this script.

I realize that this workflow is convoluted and restrictive. We are actively developing LUMPY to directly output a VCF file that SVTyper can process. I will also update SVTyper to infer strand from the standard VCF fields, rather than our homebrewed "STR" tag, and I'll let you know when it's ready.

--Colby

cc2qe commented 9 years ago

Commit https://github.com/cc2qe/svtyper/commit/5099f82578f9bc177bb28d6bc637f76941a0e4b4 ought to make SVTyper more robust to generic VCF files. No longer requiring STR in the info field.

However, I haven't tested this on many VCFs outside of the LUMPY framework, so if you still run into problems, just email me a portion of your VCF. (cc2qe at virginia dot edu)