conversion of VCF to M3VCF using Minimac
1
1
Entering edit mode
3.6 years ago
dec986 ▴ 370

I'm attempting to convert a VCF into a M3VCF.

I've been looking at https://genome.sph.umich.edu/wiki/M3VCF_Files and https://genome.sph.umich.edu/wiki/Minimac3 and supposedly minimac3 can convert, but the exact command line syntax is a mystery.

I've tried Minimac3 --refHaps chrX.F.vcf.gz --processReference --prefix tmp

but this says that Missing Value for Individual : ZBAZDCC at Marker : X:167699 but there's nothing that I can do about this, this is a sample failure.

Using minimac4 --refHaps chrX.F.vcf.gz --haps chrX.F.vcf.gz --processReference --prefix tmp --ignoreDuplicates I get another error:

ERROR !!! 
 VCF Format detected ...
 The current version of Minimac4 can ONLY handle M3VCF files for imputation 
 Please convert the VCF file to M3VCF using Minimac3 
 We will implement this feature in Minimac4 very soon

so the most recent version (minimac4) can't do this at all, I have to use the older minimac3.

How can I convert VCF to M3VCF?

minimac • 1.8k views
ADD COMMENT
0
Entering edit mode
3.5 years ago
awakumaya ▴ 30

You should do gunzip the chrX.F.vcf.gz. I could solve it by giving the gunzipped vcf file to minimac3.

ADD COMMENT

Login before adding your answer.

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