phasing genotype
How can I "translate" the genotype of my vcf file in alleles? For example: 0|1 vs A|T
• 1,413 views
•
link
3 answers
bcftools query -f'%REF|%ALT\n' in.vcf > output.txt
G|A
T|A
C|T
G|A
C|T
C|T
A|G
T|C
T|C
T|C
G|A
• 0 views
•
link
If you want to reconstruct the haplotypes having a VCF with phased genotypes in place, I can recommend haplosaurus, developed by Ensembl.
• 0 views
•
link
bcftools query -f '%CHROM %POS %ID[ %TGT]\n' in.vcf
• 0 views
•
link
Log in to answer this question.