From Genome Analysis Wiki
Jump to navigationJump to search
466 bytes removed
, 14:01, 18 January 2019
Line 4: |
Line 4: |
| = Introduction = | | = Introduction = |
| DosageConvertor is a C++ tool to convert dosage files (in VCF format) from [[Minimac4| Minimac3/4]] to other formats such as MaCH or PLINK. | | DosageConvertor is a C++ tool to convert dosage files (in VCF format) from [[Minimac4| Minimac3/4]] to other formats such as MaCH or PLINK. |
| + | |
| + | [Please note that this tool CANNOT handle missing values in the input files and may NOT work appropriately for non-Minimac3/4 VCF files] |
| + | |
| | | |
| = Download = | | = Download = |
Line 19: |
Line 22: |
| | | | | |
| [https://github.com/Santy-8128/DosageConvertor DosageConvertor - Github] | | [https://github.com/Santy-8128/DosageConvertor DosageConvertor - Github] |
− | |-
| |
− | | Source Files
| |
− | |
| |
− | [ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz UNIX Users ]
| |
− | |-
| |
− | | Binary Executable <sup>†</sup>
| |
− | (Ubuntu 4.8.4)
| |
− | |
| |
− | [ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertorExecutable.tar.gz UNIX Users ]
| |
| | | |
| |} | | |} |
− |
| |
− | '''<sup>†</sup>''' Binary executables are NOT guaranteed to run on every LINUX machine. Please compile from source files if you have trouble with the executable, or clone from the [https://github.com/Santy-8128/DosageConvertor github repository]. Else contact the author [mailto:sayantan@umich.edu Sayantan Das].
| |
| | | |
| = Installation = | | = Installation = |
Line 39: |
Line 31: |
| ## EXTRACT M3VCFTOOLS AND COMPILE | | ## EXTRACT M3VCFTOOLS AND COMPILE |
| | | |
− | wget ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz | + | git clone https://github.com/Santy-8128/DosageConvertor |
− | tar -xzvf DosageConvertor.v1.0.3.tar.gz
| |
| cd DosageConvertor/ | | cd DosageConvertor/ |
| make | | make |
Line 59: |
Line 50: |
| == Convert to MaCH Files == | | == Convert to MaCH Files == |
| | | |
− | The following command will convert an input VCF dosage file to a MaCH/minimac dosage file (the format for previous versions of [[Minimac | minimac]]). The generated dosage files can be tested for association using [http://genome.sph.umich.edu/wiki/Mach2dat:_Association_with_MACH_output mach2dat]. | + | The following command will convert an input VCF dosage file to a MaCH/minimac dosage file (the format for previous versions of [[Minimac | minimac]]). The generated dosage files can be tested for association using tools like [http://genome.sph.umich.edu/wiki/Mach2dat:_Association_with_MACH_output mach2dat] or [http://www.genabel.org/packages/ProbABEL ProbABEL]. |
| | | |
| ./DosageConvertor --vcfDose TestDataImputedVCF.dose.vcf.gz | | ./DosageConvertor --vcfDose TestDataImputedVCF.dose.vcf.gz |