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.