Difference between revisions of "Minimac3 Cookbook : Converting Files to VCF"
From Genome Analysis Wiki
Jump to navigationJump to searchSanty.8128 (talk | contribs) |
Santy.8128 (talk | contribs) |
||
Line 26: | Line 26: | ||
--input-haps Gwas.Chr20.Phased.Output \ | --input-haps Gwas.Chr20.Phased.Output \ | ||
--output-vcf Gwas.Chr20.Phased.Output.VCF.format.vcf | --output-vcf Gwas.Chr20.Phased.Output.VCF.format.vcf | ||
− | |||
= Contact = | = Contact = | ||
In case of any queries and bugs please contact [mailto:sayantan@umich.edu Sayantan Das]. | In case of any queries and bugs please contact [mailto:sayantan@umich.edu Sayantan Das]. |
Revision as of 22:07, 29 January 2015
Introduction
After the pre-phasing has been done, we can begin to run the imputation. But before that, we need to convert our phased GWAS panel files (obtained above) to VCF format (since Minimac3 can only use VCF format files). If pre-phased GWAS data is available in VCF format, users can skip this step. Otherwise, the following steps show how to convert other format files to VCF format.
Convert PLINK Files
Use PLINK2 (available here) as follows:
plink --bfile Gwas.Chr20.Phased.Output \ --recode vcf \ --out Gwas.Chr20.Phased.Output.VCF.format
Convert MaCH Files
Use Mach2VCF (coming soon) as follows:
mach2VCF --haps Gwas.Chr20.Phased.Output.hap \ --snps Gwas.Chr20.Phased.Output.snps \ --prefix Gwas.Chr20.Phased.Output.VCF.format
Convert SHAPEIT Files
Use SHAPEIT (available here) as follows:
shapeit -convert \ --input-haps Gwas.Chr20.Phased.Output \ --output-vcf Gwas.Chr20.Phased.Output.VCF.format.vcf
Contact
In case of any queries and bugs please contact Sayantan Das.