This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How do I extract GT information from VCF using PyVCF?

Hi,

Can you show an example to extract GT fields from below data (columns starting from 9th position included) using PyVCF?

FORMAT                  MATERIAL_A      MATERIAL_B      MATERIAL_C        MATERIAL_C

GT:DP:AR:AQ:AMXQ        ./.:0:0:.:.     1/1:1:1:31:31   1/0:4:2:30:31     ./.:0:0:.:.
sequencing pyvcf

Please choose sensible tags, in this case 'pyvcf' is crucial if you want the developer to find your question. I've edited your post to add this tag.

Ok, any python solution?

0 answers

No answers yet.

Log in to answer this question.