How to phase a vcf file
1
1
Entering edit mode
3.0 years ago

Hi

I want to Phasing VCF file. But I do not know how this work is done? What software is required? I only know that the Beagle can be used. But I do not know what command lines are needed.

mostafa

SNP • 2.6k views
1
Entering edit mode
3.0 years ago

know how this work is done?

two mutations carried by the same read = phasing

What software is required

GATK HaplotypeCaller does this job.

0
Entering edit mode

But I mean, I want to phasing my VCF file. Because my VCF file is not phasing.

0
Entering edit mode

I've created a VCF file with using GATK. I have also done the filtering steps. And in fact it is a final VCF file. So, The next step is to phasing you right?

0
Entering edit mode

I've created a VCF file with using GATK.

as far as I remember HaplotypeCaller puts a FORMAT field named PGT for phased genotypes. Of course, if your reads are too short or your variants are not close to each other, there will be no phasing.