How to get the sample ID number to print with variant Information
0
1
Entering edit mode
2.4 years ago
bennen2 ▴ 10

Hello, I am very new to bioinformatics and I am working on analyzing a file. Using code: bcftools query -f '%CHROM\t%POS[\t%GT\t]\n' Regiononly.vcf.gz Prints out the genotypes and one sample is showing heterozygous for the variant of interest. However I cannot figure out the code to print the sample ID for the heterozygous individual.

Thank you in advance for your help. If more context is needed, please let me know.

ID VCF heterozygous sample • 410 views
ADD COMMENT

Login before adding your answer.

Traffic: 2528 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6