Minimac3 VCF to .gen and .sample format
1
0
Entering edit mode
6.9 years ago
Caragh ▴ 40

Hi there,

I imputed some genotype data using the Michigan imputation server and got the output in VCF format. This is the first time I have used this server and I'm struggling to figure out how to handle the data.

Is there a way to convert the VCF files into .gen and .sample files whilst retaining info scores?

Many thanks,

Caragh

SNP imputation minimac3 .gen • 3.8k views
ADD COMMENT
1
Entering edit mode
6.9 years ago

If the VCF only has dosage information ("DS"), this is possible with recent plink 2.0 alpha builds (which you can get from https://www.cog-genomics.org/plink/2.0/ ):

plink2 --vcf minimac_output.vcf dosage=DS --export oxford --out new_fileset_prefix

However, if the VCF file contains genotype probabilities ("GP") and you want to preserve them, you may need to write your own script for this.

ADD COMMENT

Login before adding your answer.

Traffic: 2520 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