Question: Minimac3 VCF to .gen and .sample format
gravatar for Caragh
2.0 years ago by
Caragh 40
Caragh 40 wrote:

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,


.gen snp minimac3 imputation • 1.6k views
ADD COMMENTlink modified 2.0 years ago by chrchang5236.3k • written 2.0 years ago by Caragh 40
gravatar for chrchang523
2.0 years ago by
United States
chrchang5236.3k wrote:

If the VCF only has dosage information ("DS"), this is possible with recent plink 2.0 alpha builds (which you can get from ):

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 COMMENTlink written 2.0 years ago by chrchang5236.3k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 821 users visited in the last hour