<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://genome.sph.umich.edu/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Yukt</id>
	<title>Genome Analysis Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://genome.sph.umich.edu/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Yukt"/>
	<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/wiki/Special:Contributions/Yukt"/>
	<updated>2026-09-25T08:04:57Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=15130</id>
		<title>Minimac4</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=15130"/>
		<updated>2019-07-20T03:29:04Z</updated>

		<summary type="html">&lt;p&gt;Yukt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Minimac4 &#039;&#039;&#039; is a latest version in the series of genotype imputation software - preceded by [[Minimac3|Minimac3]] (2015), [[Minimac2|Minimac2]] (2014), [[Minimac|minimac]] (2012) and [[MaCH|MaCH]] (2010). &#039;&#039;&#039;Minimac4&#039;&#039;&#039; is a lower memory and more computationally efficient implementation of the original algorithms with comparable imputation quality.&lt;br /&gt;
&lt;br /&gt;
The Minimac3 mailing list has been renamed as the Minimac4 mailing list. If you were already a member, no need to re-join. If not, please join our [https://groups.google.com/forum/embed/?place=forum/minimac4-help&amp;amp;umich.edu| mailing list] to get updates about future releases or report possible bugs or email them to [mailto:yukt@umich.edu  Ketian Yu] or [mailto:sayantan@umich.edu Sayantan Das].&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Minimac4 (version 1.0.0, released 2.14.2018)&#039;&#039;&#039; is currently available on [https://github.com/Santy-8128/Minimac4 Minimac4 Github]. &lt;br /&gt;
&lt;br /&gt;
The easiest way to install Minimac4 and its dependencies is to use the install.sh file provided.&lt;br /&gt;
 git clone &amp;lt;nowiki&amp;gt;https://github.com/statgen/Minimac4.git&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 cd Minimac4&lt;br /&gt;
 bash install.sh&lt;br /&gt;
&lt;br /&gt;
Please see [https://github.com/Santy-8128/Minimac4 Minimac4 Github] for the full instructions for installation.&lt;br /&gt;
&lt;br /&gt;
Commonly used reference panels in &amp;lt;font face=Courier&amp;gt;M3VCF&amp;lt;/font&amp;gt; format are available for download in [[#Reference Panels for Download | Reference Panels]]. &lt;br /&gt;
&lt;br /&gt;
= What&#039;s New =&lt;br /&gt;
&lt;br /&gt;
The input file format, output file formats and typical command lines are the same in Minimac4 (as they were in minimac3). Some of the main new features are summarized below:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Improved Speed - &#039;&#039;&#039; Minimac4 is approximately &#039;&#039;&#039;6 times&#039;&#039;&#039; faster for 1000 Genomes Phase 1 and Phase 3 and &#039;&#039;&#039;2 times&#039;&#039;&#039; faster for the HRC reference panels at comparable accuracy (details of accuracy for imputing into 10 European samples are given here). The speed can be further improved by tuning the approximation parameters (see below), but we recommend using the default values.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Automated Chunking - &#039;&#039;&#039; Minimac4 automatically chunks the whole chromosome (into overlapping chunks), analyzes each chunk sequentially and then concatenates the imputed chunks back. This caps the memory usage across different chromosomes (memory requirement is based on chunk size, not chromosome size). The length of the chunk and the overlap can be controlled by the &amp;lt;code&amp;gt;--chunkLengthMb&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;--chunkLengthOverlapMb&amp;lt;/code&amp;gt; options, although we recommend using the default values of 20 and 3, respectively. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Approximations - &#039;&#039;&#039; Minimac4 uses some simple approximations to speed up the imputation analyses. The levels of approximation can be controlled by the parameters &amp;lt;code&amp;gt;--probThreshold&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--diffThreshold&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;--topThreshold&amp;lt;/code&amp;gt; (details given in Minimac4 Usage). Higher levels of approximation will reduce the compute time but marginally reduce the imputation accuracy. We recommend using the default values (0.01).&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Improved Chromosome X/Y Support - &#039;&#039;&#039; Minimac4 can handle different ploidys in the same VCF file for imputation of sex chromosomes. For example, for the non-PAR region on chromosome X, males and females can be imputed together, irrespective of whether males are coded as haploids or diploids. However, each sample must have a fixed ploidy. Thus, PAR and non-PAR regions still need to be imputed separately. Please see Chromosome X Imputation for more details.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Other Helpful Features&#039;&#039;&#039;&lt;br /&gt;
** We introduced a new feature called &amp;lt;code&amp;gt;--memUsage&amp;lt;/code&amp;gt; that will estimate and report the memory required by Minimac4. This feature should be useful for users running their jobs on a compute cluster that requires memory specification.&lt;br /&gt;
** We introduced some other FORMAT options for the output dosage data, allowing users to retrieve haplotype dosages, genotype probabilities, genotype dosages or any other measure of summary that they want.&lt;br /&gt;
** We have fixed the bug related to FILTER=GENOTYPED and FILTER=GENOTYPED_ONLY which was causing a crash in bcftools.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Obsolete Features&#039;&#039;&#039;&lt;br /&gt;
** In Minimac4, we removed the &amp;lt;code&amp;gt;--doseOutput&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;--hapOutput&amp;lt;/code&amp;gt; options. Please use [[DosageConvertor]] to convert your files to MaCH or PLINK dosage format.&lt;br /&gt;
** Currently Minimac4 can ONLY handle M3VCF format files. If your reference panel is in VCF format, please use [[Minimac3]] to convert the VCF file to M3VCF (along with parameter estimation) and then use that M3VCF for imputation using Minimac4. The same holds for the option &amp;lt;code&amp;gt;--processReference&amp;lt;/code&amp;gt; as well. Although the handle is made available, we will implement it in a later version.&lt;br /&gt;
** Parameters such as &amp;lt;code&amp;gt;--rounds&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--states&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--rec&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--err&amp;lt;/code&amp;gt; have been deactivated for now until we implement parameter estimation in minimac4.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
A typical Minimac4 command line for imputation is as follows&lt;br /&gt;
&lt;br /&gt;
 minimac4 --refHaps refPanel.m3vcf \&lt;br /&gt;
          --haps targetStudy.vcf \&lt;br /&gt;
          --prefix testRun&lt;br /&gt;
&lt;br /&gt;
Here &amp;lt;font face=Courier&amp;gt;refPanel.m3vcf&amp;lt;/font&amp;gt; is the reference panel used in M3VCF format (e.g. 1000 Genomes),  &amp;lt;font face=Courier&amp;gt;targetStudy.vcf&amp;lt;/font&amp;gt; is the phased GWAS data in VCF format, and  &amp;lt;font face=Courier&amp;gt;testRun&amp;lt;/font&amp;gt; is the prefix for the output files.&lt;br /&gt;
&lt;br /&gt;
=== Full List of Options ===&lt;br /&gt;
Please see &#039;&#039;&#039;[[Minimac4 Documentation]]&#039;&#039;&#039; for detailed explanation of all available options.&lt;br /&gt;
&lt;br /&gt;
Also, users can always type the following for the full list of available options:&lt;br /&gt;
 minimac4 --help&lt;br /&gt;
&lt;br /&gt;
=== Convert VCF to M3VCF ===&lt;br /&gt;
If the reference panel is in VCF format, please use [[Minimac3]] to convert it into M3VCF format first. &lt;br /&gt;
 ../bin/Minimac3 --refHaps refPanel.vcf \ &lt;br /&gt;
                 --processReference \ &lt;br /&gt;
                 --prefix refPanel&lt;br /&gt;
&lt;br /&gt;
=== Multi-Threading ===&lt;br /&gt;
The following example shows the same analysis as above, but using 5 threads:&lt;br /&gt;
&lt;br /&gt;
 minimac4 --refHaps refPanel.m3vcf \&lt;br /&gt;
          --haps targetStudy.vcf \&lt;br /&gt;
          --prefix testRun \&lt;br /&gt;
          --cpus 5&lt;br /&gt;
&lt;br /&gt;
= Reference Panels for Download = &lt;br /&gt;
&lt;br /&gt;
Some commonly used reference panels are available for download here:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|- bgcolor=&amp;quot;lightgray&amp;quot;&lt;br /&gt;
! width=&amp;quot;150px&amp;quot; |Reference Panel&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; |Number &amp;lt;br&amp;gt; of Samples&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; |File Format&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; |Parameter &amp;lt;br&amp;gt;  Estimates &amp;lt;br&amp;gt; Available&lt;br /&gt;
! width=&amp;quot;120px&amp;quot; |Chromosomes&lt;br /&gt;
! width=&amp;quot;80px&amp;quot; |Link&lt;br /&gt;
|- &lt;br /&gt;
| rowspan=4 | &#039;&#039;&#039;1000 Genomes&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Phase 3&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
(version 5)&lt;br /&gt;
| rowspan=4  style=&amp;quot;text-align:center&amp;quot; | &#039;&#039;&#039;2,504&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039; &lt;br /&gt;
| -&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P3_VCF_Files.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P3_VCF_Files.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| rowspan=2  style=&amp;quot;text-align:center&amp;quot; | &#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| 1-22,X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_WITH_ESTIMATES.tar.gz Download] &amp;lt;!-- [ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_WITH_ESTIMATES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
|NO&lt;br /&gt;
| 1-22,X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_NO_ESTIMATES.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_NO_ESTIMATES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039;,&#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P3_CHR_X_VCF_M3VCF_FILES.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P3_CHR_X_VCF_M3VCF_FILES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| rowspan=4 |  &#039;&#039;&#039;1000 Genomes&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Phase 1&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
(version 3)&lt;br /&gt;
| rowspan=4  | &#039;&#039;&#039;1,092&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039; &lt;br /&gt;
| -&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P1_VCF_Files.tar.gz Download]&lt;br /&gt;
|- &lt;br /&gt;
|  rowspan=2  style=&amp;quot;text-align:center&amp;quot; | &#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P1_M3VCF_FILES_WITH_ESTIMATES.tar.gz Download]&lt;br /&gt;
|- &lt;br /&gt;
| NO&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P1_M3VCF_FILES_NO_ESTIMATES.tar.gz Download]&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039;,&#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P1_CHR_X_VCF_M3VCF_FILES.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P1_CHR_X_VCF_M3VCF_FILES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Wiki Pages =&lt;br /&gt;
&lt;br /&gt;
There are a few pages in this Wiki that may be useful to for &#039;&#039;&#039;Minimac4&#039;&#039;&#039; users. Here are links to a few:&lt;br /&gt;
&lt;br /&gt;
* [[Minimac4| Minimac4 Overview Page]]&lt;br /&gt;
&lt;br /&gt;
* [[Minimac4 Documentation]]&lt;br /&gt;
&lt;br /&gt;
* [[M3VCF Files| M3VCF Files]]&lt;/div&gt;</summary>
		<author><name>Yukt</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=15129</id>
		<title>Minimac4</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=15129"/>
		<updated>2019-07-20T03:22:21Z</updated>

		<summary type="html">&lt;p&gt;Yukt: /* Full List of Options */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Minimac4 &#039;&#039;&#039; is a latest version in the series of genotype imputation software - preceded by [[Minimac3|Minimac3]] (2015), [[Minimac2|Minimac2]] (2014), [[Minimac|minimac]] (2012) and [[MaCH|MaCH]] (2010). &#039;&#039;&#039;Minimac4&#039;&#039;&#039; is a lower memory and more computationally efficient implementation of the original algorithms with comparable imputation quality.&lt;br /&gt;
&lt;br /&gt;
The Minimac3 mailing list has been renamed as the Minimac4 mailing list. If you were already a member, no need to re-join. If not, please join our [https://groups.google.com/forum/embed/?place=forum/minimac4-help&amp;amp;umich.edu| mailing list] to get updates about future releases or report possible bugs or email them to [mailto:yukt@umich.edu  Ketian Yu] or [mailto:sayantan@umich.edu Sayantan Das].&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Download =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Minimac4 (version 1.0.0, released 2.14.2018)&#039;&#039;&#039; is currently available on [https://github.com/Santy-8128/Minimac4 Minimac4 Github]. Please follow the instructions in the GitHub repository for installation.&lt;br /&gt;
&lt;br /&gt;
Commonly used reference panels in &amp;lt;font face=Courier&amp;gt;M3VCF&amp;lt;/font&amp;gt; format are available for download in [[#Reference Panels for Download | Reference Panels]]. &lt;br /&gt;
&lt;br /&gt;
= What&#039;s New =&lt;br /&gt;
&lt;br /&gt;
The input file format, output file formats and typical command lines are the same in Minimac4 (as they were in minimac3). Some of the main new features are summarized below:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Improved Speed - &#039;&#039;&#039; Minimac4 is approximately &#039;&#039;&#039;6 times&#039;&#039;&#039; faster for 1000 Genomes Phase 1 and Phase 3 and &#039;&#039;&#039;2 times&#039;&#039;&#039; faster for the HRC reference panels at comparable accuracy (details of accuracy for imputing into 10 European samples are given here). The speed can be further improved by tuning the approximation parameters (see below), but we recommend using the default values.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Automated Chunking - &#039;&#039;&#039; Minimac4 automatically chunks the whole chromosome (into overlapping chunks), analyzes each chunk sequentially and then concatenates the imputed chunks back. This caps the memory usage across different chromosomes (memory requirement is based on chunk size, not chromosome size). The length of the chunk and the overlap can be controlled by the &amp;lt;code&amp;gt;--chunkLengthMb&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;--chunkLengthOverlapMb&amp;lt;/code&amp;gt; options, although we recommend using the default values of 20 and 3, respectively. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Approximations - &#039;&#039;&#039; Minimac4 uses some simple approximations to speed up the imputation analyses. The levels of approximation can be controlled by the parameters &amp;lt;code&amp;gt;--probThreshold&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--diffThreshold&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;--topThreshold&amp;lt;/code&amp;gt; (details given in Minimac4 Usage). Higher levels of approximation will reduce the compute time but marginally reduce the imputation accuracy. We recommend using the default values (0.01).&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Improved Chromosome X/Y Support - &#039;&#039;&#039; Minimac4 can handle different ploidys in the same VCF file for imputation of sex chromosomes. For example, for the non-PAR region on chromosome X, males and females can be imputed together, irrespective of whether males are coded as haploids or diploids. However, each sample must have a fixed ploidy. Thus, PAR and non-PAR regions still need to be imputed separately. Please see Chromosome X Imputation for more details.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Other Helpful Features&#039;&#039;&#039;&lt;br /&gt;
** We introduced a new feature called &amp;lt;code&amp;gt;--memUsage&amp;lt;/code&amp;gt; that will estimate and report the memory required by Minimac4. This feature should be useful for users running their jobs on a compute cluster that requires memory specification.&lt;br /&gt;
** We introduced some other FORMAT options for the output dosage data, allowing users to retrieve haplotype dosages, genotype probabilities, genotype dosages or any other measure of summary that they want.&lt;br /&gt;
** We have fixed the bug related to FILTER=GENOTYPED and FILTER=GENOTYPED_ONLY which was causing a crash in bcftools.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Obsolete Features&#039;&#039;&#039;&lt;br /&gt;
** In Minimac4, we removed the &amp;lt;code&amp;gt;--doseOutput&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;--hapOutput&amp;lt;/code&amp;gt; options. Please use [[DosageConvertor]] to convert your files to MaCH or PLINK dosage format.&lt;br /&gt;
** Currently Minimac4 can ONLY handle M3VCF format files. If your reference panel is in VCF format, please use [[Minimac3]] to convert the VCF file to M3VCF (along with parameter estimation) and then use that M3VCF for imputation using Minimac4. The same holds for the option &amp;lt;code&amp;gt;--processReference&amp;lt;/code&amp;gt; as well. Although the handle is made available, we will implement it in a later version.&lt;br /&gt;
** Parameters such as &amp;lt;code&amp;gt;--rounds&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--states&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--rec&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--err&amp;lt;/code&amp;gt; have been deactivated for now until we implement parameter estimation in minimac4.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The easiest way to install Minimac4 and its dependencies is to use the install.sh file provided.&lt;br /&gt;
 git clone &amp;lt;nowiki&amp;gt;https://github.com/statgen/Minimac4.git&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 cd Minimac4&lt;br /&gt;
 bash install.sh&lt;br /&gt;
&lt;br /&gt;
A typical Minimac4 command line for imputation is as follows&lt;br /&gt;
&lt;br /&gt;
 minimac4 --refHaps refPanel.m3vcf \&lt;br /&gt;
          --haps targetStudy.vcf \&lt;br /&gt;
          --prefix testRun&lt;br /&gt;
&lt;br /&gt;
Here &amp;lt;font face=Courier&amp;gt;refPanel.m3vcf&amp;lt;/font&amp;gt; is the reference panel used in M3VCF format (e.g. 1000 Genomes),  &amp;lt;font face=Courier&amp;gt;targetStudy.vcf&amp;lt;/font&amp;gt; is the phased GWAS data in VCF format, and  &amp;lt;font face=Courier&amp;gt;testRun&amp;lt;/font&amp;gt; is the prefix for the output files.&lt;br /&gt;
&lt;br /&gt;
=== Full List of Options ===&lt;br /&gt;
Please see &#039;&#039;&#039;[[Minimac4 Documentation]]&#039;&#039;&#039; for detailed explanation of all available options.&lt;br /&gt;
&lt;br /&gt;
Also, users can always type the following for the full list of available options:&lt;br /&gt;
 minimac4 --help&lt;br /&gt;
&lt;br /&gt;
=== Convert VCF to M3VCF ===&lt;br /&gt;
If the reference panel is in VCF format, please use [[Minimac3]] to convert it into M3VCF format first. &lt;br /&gt;
 ../bin/Minimac3 --refHaps refPanel.vcf \ &lt;br /&gt;
                 --processReference \ &lt;br /&gt;
                 --prefix refPanel&lt;br /&gt;
&lt;br /&gt;
=== Multi-Threading ===&lt;br /&gt;
The following example shows the same analysis as above, but using 5 threads:&lt;br /&gt;
&lt;br /&gt;
 minimac4 --refHaps refPanel.m3vcf \&lt;br /&gt;
          --haps targetStudy.vcf \&lt;br /&gt;
          --prefix testRun \&lt;br /&gt;
          --cpus 5&lt;br /&gt;
&lt;br /&gt;
= Reference Panels for Download = &lt;br /&gt;
&lt;br /&gt;
Some commonly used reference panels are available for download here:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|- bgcolor=&amp;quot;lightgray&amp;quot;&lt;br /&gt;
! width=&amp;quot;150px&amp;quot; |Reference Panel&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; |Number &amp;lt;br&amp;gt; of Samples&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; |File Format&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; |Parameter &amp;lt;br&amp;gt;  Estimates &amp;lt;br&amp;gt; Available&lt;br /&gt;
! width=&amp;quot;120px&amp;quot; |Chromosomes&lt;br /&gt;
! width=&amp;quot;80px&amp;quot; |Link&lt;br /&gt;
|- &lt;br /&gt;
| rowspan=4 | &#039;&#039;&#039;1000 Genomes&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Phase 3&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
(version 5)&lt;br /&gt;
| rowspan=4  style=&amp;quot;text-align:center&amp;quot; | &#039;&#039;&#039;2,504&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039; &lt;br /&gt;
| -&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P3_VCF_Files.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P3_VCF_Files.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| rowspan=2  style=&amp;quot;text-align:center&amp;quot; | &#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| 1-22,X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_WITH_ESTIMATES.tar.gz Download] &amp;lt;!-- [ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_WITH_ESTIMATES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
|NO&lt;br /&gt;
| 1-22,X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_NO_ESTIMATES.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_NO_ESTIMATES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039;,&#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P3_CHR_X_VCF_M3VCF_FILES.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P3_CHR_X_VCF_M3VCF_FILES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| rowspan=4 |  &#039;&#039;&#039;1000 Genomes&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Phase 1&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
(version 3)&lt;br /&gt;
| rowspan=4  | &#039;&#039;&#039;1,092&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039; &lt;br /&gt;
| -&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P1_VCF_Files.tar.gz Download]&lt;br /&gt;
|- &lt;br /&gt;
|  rowspan=2  style=&amp;quot;text-align:center&amp;quot; | &#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P1_M3VCF_FILES_WITH_ESTIMATES.tar.gz Download]&lt;br /&gt;
|- &lt;br /&gt;
| NO&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P1_M3VCF_FILES_NO_ESTIMATES.tar.gz Download]&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039;,&#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P1_CHR_X_VCF_M3VCF_FILES.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P1_CHR_X_VCF_M3VCF_FILES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Wiki Pages =&lt;br /&gt;
&lt;br /&gt;
There are a few pages in this Wiki that may be useful to for &#039;&#039;&#039;Minimac4&#039;&#039;&#039; users. Here are links to a few:&lt;br /&gt;
&lt;br /&gt;
* [[Minimac4| Minimac4 Overview Page]]&lt;br /&gt;
&lt;br /&gt;
* [[Minimac4 Documentation]]&lt;br /&gt;
&lt;br /&gt;
* [[M3VCF Files| M3VCF Files]]&lt;/div&gt;</summary>
		<author><name>Yukt</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Minimac4_Documentation&amp;diff=15128</id>
		<title>Minimac4 Documentation</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Minimac4_Documentation&amp;diff=15128"/>
		<updated>2019-07-20T03:17:05Z</updated>

		<summary type="html">&lt;p&gt;Yukt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A typical Minimac4 command line would have the following parameter options:&lt;br /&gt;
&lt;br /&gt;
       Reference Haplotypes : --refHaps [], --passOnly, --rsid,&lt;br /&gt;
                              --referenceEstimates [ON],&lt;br /&gt;
                              --mapFile [docs/geneticMapFile.b38.map.txt.gz]&lt;br /&gt;
          Target Haplotypes : --haps []&lt;br /&gt;
          Output Parameters : --prefix [Minimac4.Output], --estimate,&lt;br /&gt;
                              --nobgzip, --vcfBuffer [200], --format [GT,DS],&lt;br /&gt;
                              --allTypedSites, --meta, --memUsage&lt;br /&gt;
        Chunking Parameters : --ChunkLengthMb [20.00], --ChunkOverlapMb [3.00]&lt;br /&gt;
          Subset Parameters : --chr [], --start, --end, --window&lt;br /&gt;
   Approximation Parameters : --minimac3, --probThreshold [0.01],&lt;br /&gt;
                              --diffThreshold [0.01], --topThreshold [0.01]&lt;br /&gt;
           Other Parameters : --log, --help, --cpus [1], --params&lt;br /&gt;
                  PhoneHome : --noPhoneHome, --phoneHomeThinning [50]&lt;br /&gt;
&lt;br /&gt;
Among all, &#039;&#039;&#039;--refHaps&#039;&#039;&#039; and &#039;&#039;&#039;--haps&#039;&#039;&#039; are required.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Reference Haplotypes ==&lt;br /&gt;
;--refHaps &amp;lt;input_m3vcf_filename&amp;gt;&lt;br /&gt;
: This option defines the reference panel in M3VCF format to impute against. &lt;br /&gt;
: If your reference panel is in VCF format, please use [[Minimac3]] to convert the VCF file to M3VCF (along with parameter estimation) and then use that M3VCF for imputation using Minimac4.&lt;br /&gt;
&lt;br /&gt;
; --passOnly &lt;br /&gt;
:  DEACTIVATED for now. OFF by default. If ON, only variants will FILTER=PASS will be recorded from reference VCF file (does NOT work on M3VCF files yet). &lt;br /&gt;
&lt;br /&gt;
;--rsid&lt;br /&gt;
: OFF by default. If ON, Minimac4 will only import RS ID of variants from ID column of reference file (if available).&lt;br /&gt;
&lt;br /&gt;
;--referenceEstimates&lt;br /&gt;
: ON by default. If ON, Minimac4 expects the input M3VCF file comes with parameter estimate; otherwise, a genetic map file for option &amp;lt;code&amp;gt;--mapFile&amp;lt;/code&amp;gt; is required.&lt;br /&gt;
&lt;br /&gt;
;--mapFile &amp;lt;input_genetic_map_file&amp;gt;&lt;br /&gt;
: This option is automatically ignored except when &amp;lt;code&amp;gt;--referenceEstimates&amp;lt;/code&amp;gt; is OFF. &lt;br /&gt;
: It defines the genetic map file used for recombination rate estimation during imputation. &lt;br /&gt;
: The input genetic map file should be tab-separated, with the first row as its header, and the columns representing chromosome id, base pair position, cumulative recombination rate in cM/Mb, and genetic map coordinates in cM, respectively.&lt;br /&gt;
&lt;br /&gt;
== Target Haplotypes ==&lt;br /&gt;
;--haps &amp;lt;input_vcf_filename&amp;gt;&lt;br /&gt;
: This option defines the &amp;lt;u&amp;gt;pre-phased&amp;lt;/u&amp;gt; target genotype data in VCF format to impute.&lt;br /&gt;
&lt;br /&gt;
== Output Parameters ==&lt;br /&gt;
; --prefix &amp;lt;output_prefix&amp;gt;&lt;br /&gt;
: This option defines the output filename prefix for all files generated by Minimac4. &lt;br /&gt;
: If this option is omitted, all output files will have the prefix &amp;quot;Minimac4.Output&amp;quot; in the current working directory.&lt;br /&gt;
&lt;br /&gt;
; --estimate&lt;br /&gt;
: DEACTIVATED for now. This option is equivalent to the option &amp;lt;code&amp;gt;--processReference&amp;lt;/code&amp;gt; in [[Minimac3 Usage|Minimac3]]. &lt;br /&gt;
&lt;br /&gt;
; --nobgzip&lt;br /&gt;
: OFF by default. If ON, output files will be NOT bgzipped.&lt;br /&gt;
&lt;br /&gt;
; --vcfBuffer&lt;br /&gt;
: This option defines the maximum number of samples in the target genotype data to be imputed at a time. By default, it is set as 200, or the total number of samples, whichever is smaller.&lt;br /&gt;
: Note that the larger the value is, the more memory Minimac4 will consume.&lt;br /&gt;
&lt;br /&gt;
; --format&lt;br /&gt;
: This option specifies which fields to output for the FORMAT field in output imputed VCF file. Available handles are &amp;lt;code&amp;gt;GT&amp;lt;/code&amp;gt;,&amp;lt;code&amp;gt;DS&amp;lt;/code&amp;gt;,&amp;lt;code&amp;gt;HDS&amp;lt;/code&amp;gt;,&amp;lt;code&amp;gt;GP&amp;lt;/code&amp;gt;,&amp;lt;code&amp;gt;SD&amp;lt;/code&amp;gt;. Default setting is &amp;lt;code&amp;gt;GT,DS&amp;lt;/code&amp;gt;.&lt;br /&gt;
:* &#039;&#039;&#039;GT&#039;&#039;&#039; - Estimated most likely genotype.&lt;br /&gt;
:* &#039;&#039;&#039;DS&#039;&#039;&#039; - Estimated alternate allele dosage [P(0/1)+2*P(1/1)].&lt;br /&gt;
:* &#039;&#039;&#039;HDS&#039;&#039;&#039; - Estimated phased haploid alternate allele dosage. &lt;br /&gt;
:* &#039;&#039;&#039;GP&#039;&#039;&#039; - Estimated Posterior Genotype Probabilities P(0/0), P(0/1) and P(1/1).&lt;br /&gt;
:* &#039;&#039;&#039;SD&#039;&#039;&#039; - Estimated Variance of Posterior Genotype Probabilities.&lt;br /&gt;
&lt;br /&gt;
;--allTypedSites&lt;br /&gt;
: OFF by default. If ON, Minimac4 will also include variants that were genotyped but NOT in the reference panel in the output files (and imputes any missing data in such variants to the major allele frequency).&lt;br /&gt;
&lt;br /&gt;
;--meta&lt;br /&gt;
: OFF by default. If ON, Minimac4 will generate a separate file that can be used by [[MetaMinimac2|MetaMinimac2]] for meta-imputation.&lt;br /&gt;
&lt;br /&gt;
;--memUsage&lt;br /&gt;
: OFF by default. If ON, Minimac4 will not perform imputation. Instead, it will estimate memory that imputation would consume based on a single chunk.&lt;br /&gt;
&lt;br /&gt;
== Chunking Parameters ==&lt;br /&gt;
Minimac4 automatically chunks the whole chromosome (into overlapping chunks), analyzes each chunk sequentially and then concatenates the imputed chunks back.&lt;br /&gt;
&lt;br /&gt;
;--ChunkLengthMb &amp;lt;float_number&amp;gt;&lt;br /&gt;
: This option defines the average length of chunks in units of million base pairs (Mb). The input value should be within (0.001, 300]. The default setting is 20.&lt;br /&gt;
&lt;br /&gt;
;--ChunkOverlapMb &amp;lt;float_number&amp;gt;&lt;br /&gt;
: This option defines the length of overlap between chunks in units of Mb, 3Mb by default. The valid input value should be within (0.001, 300]. &lt;br /&gt;
: The overlap length should be at most 1/3 of the chunk length, if larger, Minimac4 will automatically reduce it to 1/3 of the chunk length.&lt;br /&gt;
&lt;br /&gt;
== Subset Parameters ==&lt;br /&gt;
The subset parameters are required if the user wishes to impute into a particular region of the chromosome rather than the whole chromosome (typically used when running imputation in chunks). If using the subset parameters, a default window of additional 500 Kbp is applied on either side as the buffer region, unless otherwise specified by the user. Variants from the buffer region are only used for imputation and not reported in the final output.&lt;br /&gt;
For example, to analyze chromosome 6 from position 1000000 to position 2000000 with 300000 base positions on either side as a buffer, one must use &amp;lt;code&amp;gt;--chr 6 --from 1000000 --to 2000000 --window 300000&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
; --chr &amp;lt;chromosome&amp;gt;&lt;br /&gt;
: This option specifies the chromosome number for which we will carry out imputation.&lt;br /&gt;
: Note that it is required to specify non-zero values for &amp;lt;code&amp;gt;--start&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;--end&amp;lt;/code&amp;gt; when &amp;lt;code&amp;gt;--chr&amp;lt;/code&amp;gt; option is used.&lt;br /&gt;
&lt;br /&gt;
; --start &amp;lt;integer&amp;gt;&lt;br /&gt;
: This option specifies the start position of the region to be analyzed. Would not work without &amp;lt;code&amp;gt;--chr&amp;lt;/code&amp;gt; option.&lt;br /&gt;
&lt;br /&gt;
; --end &amp;lt;integer&amp;gt;&lt;br /&gt;
: This option specifies the end position of the region to be analyzed. Would not work without &amp;lt;code&amp;gt;--chr&amp;lt;/code&amp;gt; option.&lt;br /&gt;
&lt;br /&gt;
; --window &amp;lt;integer&amp;gt;&lt;br /&gt;
: This option specifies the length of buffer region in units of base pairs on either side of the region to be analyzed. Would not work without &amp;lt;code&amp;gt;--chr&amp;lt;/code&amp;gt; option; otherwise, it is set as 500000 by default.&lt;br /&gt;
&lt;br /&gt;
== Approximation Parameters ==&lt;br /&gt;
;--minimac3&lt;br /&gt;
: OFF by default. If ON, Minimac3 algorithm will be used for imputation.&lt;br /&gt;
&lt;br /&gt;
;--probThreshold &amp;lt;float_number&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;--diffThreshold &amp;lt;float_number&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;--topThreshold &amp;lt;float_number&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==  Other Parameters ==&lt;br /&gt;
; --log&lt;br /&gt;
: OFF by default. If ON, information including warnings and errors will be saved into &amp;lt;output_prefix&amp;gt;.logfile, instead printed on the screen.&lt;br /&gt;
&lt;br /&gt;
; --help &lt;br /&gt;
: If ON, it will show the list of all available options.&lt;br /&gt;
&lt;br /&gt;
;--cpus &amp;lt;integer&amp;gt;&lt;br /&gt;
: This option defines the number of cpus for parallel computing, 1 by default.&lt;br /&gt;
&lt;br /&gt;
== PhoneHome ==&lt;br /&gt;
This option (by default) sends a message to a University of Michigan database about the success/failure of the analysis run (and as to what kind of failure had occurred, if so). No information about the data, file or file-name is sent back. User should use the handle &amp;lt;code&amp;gt;--noPhoneHome&amp;lt;/code&amp;gt; to opt out from this option or should use &amp;lt;code&amp;gt;--phoneHomeThinning 50&amp;lt;/code&amp;gt; to send back a message with 50% chance (typically used when running lots of command lines).&lt;br /&gt;
&lt;br /&gt;
;--noPhoneHome &lt;br /&gt;
: OFF by default. If ON, code will NOT send a SUCCESS/FAILURE status of the execution to home server.&lt;br /&gt;
&lt;br /&gt;
;--phoneHomeThinning &amp;lt;integer&amp;gt;&lt;br /&gt;
: Percentage probability of sending SUCCESS/FAILURE status of the execution to home server, 50 by default.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Minimac4| Back to Minimac4 Overview Page]]&lt;/div&gt;</summary>
		<author><name>Yukt</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=15127</id>
		<title>Minimac4</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=15127"/>
		<updated>2019-07-20T03:14:56Z</updated>

		<summary type="html">&lt;p&gt;Yukt: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Minimac4 &#039;&#039;&#039; is a latest version in the series of genotype imputation software - preceded by [[Minimac3|Minimac3]] (2015), [[Minimac2|Minimac2]] (2014), [[Minimac|minimac]] (2012) and [[MaCH|MaCH]] (2010). &#039;&#039;&#039;Minimac4&#039;&#039;&#039; is a lower memory and more computationally efficient implementation of the original algorithms with comparable imputation quality.&lt;br /&gt;
&lt;br /&gt;
The Minimac3 mailing list has been renamed as the Minimac4 mailing list. If you were already a member, no need to re-join. If not, please join our [https://groups.google.com/forum/embed/?place=forum/minimac4-help&amp;amp;umich.edu| mailing list] to get updates about future releases or report possible bugs or email them to [mailto:yukt@umich.edu  Ketian Yu] or [mailto:sayantan@umich.edu Sayantan Das].&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Download =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Minimac4 (version 1.0.0, released 2.14.2018)&#039;&#039;&#039; is currently available on [https://github.com/Santy-8128/Minimac4 Minimac4 Github]. Please follow the instructions in the GitHub repository for installation.&lt;br /&gt;
&lt;br /&gt;
Commonly used reference panels in &amp;lt;font face=Courier&amp;gt;M3VCF&amp;lt;/font&amp;gt; format are available for download in [[#Reference Panels for Download | Reference Panels]]. &lt;br /&gt;
&lt;br /&gt;
= What&#039;s New =&lt;br /&gt;
&lt;br /&gt;
The input file format, output file formats and typical command lines are the same in Minimac4 (as they were in minimac3). Some of the main new features are summarized below:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Improved Speed - &#039;&#039;&#039; Minimac4 is approximately &#039;&#039;&#039;6 times&#039;&#039;&#039; faster for 1000 Genomes Phase 1 and Phase 3 and &#039;&#039;&#039;2 times&#039;&#039;&#039; faster for the HRC reference panels at comparable accuracy (details of accuracy for imputing into 10 European samples are given here). The speed can be further improved by tuning the approximation parameters (see below), but we recommend using the default values.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Automated Chunking - &#039;&#039;&#039; Minimac4 automatically chunks the whole chromosome (into overlapping chunks), analyzes each chunk sequentially and then concatenates the imputed chunks back. This caps the memory usage across different chromosomes (memory requirement is based on chunk size, not chromosome size). The length of the chunk and the overlap can be controlled by the &amp;lt;code&amp;gt;--chunkLengthMb&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;--chunkLengthOverlapMb&amp;lt;/code&amp;gt; options, although we recommend using the default values of 20 and 3, respectively. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Approximations - &#039;&#039;&#039; Minimac4 uses some simple approximations to speed up the imputation analyses. The levels of approximation can be controlled by the parameters &amp;lt;code&amp;gt;--probThreshold&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--diffThreshold&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;--topThreshold&amp;lt;/code&amp;gt; (details given in Minimac4 Usage). Higher levels of approximation will reduce the compute time but marginally reduce the imputation accuracy. We recommend using the default values (0.01).&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Improved Chromosome X/Y Support - &#039;&#039;&#039; Minimac4 can handle different ploidys in the same VCF file for imputation of sex chromosomes. For example, for the non-PAR region on chromosome X, males and females can be imputed together, irrespective of whether males are coded as haploids or diploids. However, each sample must have a fixed ploidy. Thus, PAR and non-PAR regions still need to be imputed separately. Please see Chromosome X Imputation for more details.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Other Helpful Features&#039;&#039;&#039;&lt;br /&gt;
** We introduced a new feature called &amp;lt;code&amp;gt;--memUsage&amp;lt;/code&amp;gt; that will estimate and report the memory required by Minimac4. This feature should be useful for users running their jobs on a compute cluster that requires memory specification.&lt;br /&gt;
** We introduced some other FORMAT options for the output dosage data, allowing users to retrieve haplotype dosages, genotype probabilities, genotype dosages or any other measure of summary that they want.&lt;br /&gt;
** We have fixed the bug related to FILTER=GENOTYPED and FILTER=GENOTYPED_ONLY which was causing a crash in bcftools.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Obsolete Features&#039;&#039;&#039;&lt;br /&gt;
** In Minimac4, we removed the &amp;lt;code&amp;gt;--doseOutput&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;--hapOutput&amp;lt;/code&amp;gt; options. Please use [[DosageConvertor]] to convert your files to MaCH or PLINK dosage format.&lt;br /&gt;
** Currently Minimac4 can ONLY handle M3VCF format files. If your reference panel is in VCF format, please use [[Minimac3]] to convert the VCF file to M3VCF (along with parameter estimation) and then use that M3VCF for imputation using Minimac4. The same holds for the option &amp;lt;code&amp;gt;--processReference&amp;lt;/code&amp;gt; as well. Although the handle is made available, we will implement it in a later version.&lt;br /&gt;
** Parameters such as &amp;lt;code&amp;gt;--rounds&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--states&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--rec&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--err&amp;lt;/code&amp;gt; have been deactivated for now until we implement parameter estimation in minimac4.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The easiest way to install Minimac4 and its dependencies is to use the install.sh file provided.&lt;br /&gt;
 git clone &amp;lt;nowiki&amp;gt;https://github.com/statgen/Minimac4.git&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 cd Minimac4&lt;br /&gt;
 bash install.sh&lt;br /&gt;
&lt;br /&gt;
A typical Minimac4 command line for imputation is as follows&lt;br /&gt;
&lt;br /&gt;
 minimac4 --refHaps refPanel.m3vcf \&lt;br /&gt;
          --haps targetStudy.vcf \&lt;br /&gt;
          --prefix testRun&lt;br /&gt;
&lt;br /&gt;
Here &amp;lt;font face=Courier&amp;gt;refPanel.m3vcf&amp;lt;/font&amp;gt; is the reference panel used in M3VCF format (e.g. 1000 Genomes),  &amp;lt;font face=Courier&amp;gt;targetStudy.vcf&amp;lt;/font&amp;gt; is the phased GWAS data in VCF format, and  &amp;lt;font face=Courier&amp;gt;testRun&amp;lt;/font&amp;gt; is the prefix for the output files.&lt;br /&gt;
&lt;br /&gt;
=== Full List of Options ===&lt;br /&gt;
Users can always type the following for further support:&lt;br /&gt;
 minimac4 --help&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Please see [[Minimac4 Documentation | Minimac4 Documentation]] for detailed explanation of all available options.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Convert VCF to M3VCF ===&lt;br /&gt;
If the reference panel is in VCF format, please use [[Minimac3]] to convert it into M3VCF format first. &lt;br /&gt;
 ../bin/Minimac3 --refHaps refPanel.vcf \ &lt;br /&gt;
                 --processReference \ &lt;br /&gt;
                 --prefix refPanel&lt;br /&gt;
&lt;br /&gt;
=== Multi-Threading ===&lt;br /&gt;
The following example shows the same analysis as above, but using 5 threads:&lt;br /&gt;
&lt;br /&gt;
 minimac4 --refHaps refPanel.m3vcf \&lt;br /&gt;
          --haps targetStudy.vcf \&lt;br /&gt;
          --prefix testRun \&lt;br /&gt;
          --cpus 5&lt;br /&gt;
&lt;br /&gt;
= Reference Panels for Download = &lt;br /&gt;
&lt;br /&gt;
Some commonly used reference panels are available for download here:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|- bgcolor=&amp;quot;lightgray&amp;quot;&lt;br /&gt;
! width=&amp;quot;150px&amp;quot; |Reference Panel&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; |Number &amp;lt;br&amp;gt; of Samples&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; |File Format&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; |Parameter &amp;lt;br&amp;gt;  Estimates &amp;lt;br&amp;gt; Available&lt;br /&gt;
! width=&amp;quot;120px&amp;quot; |Chromosomes&lt;br /&gt;
! width=&amp;quot;80px&amp;quot; |Link&lt;br /&gt;
|- &lt;br /&gt;
| rowspan=4 | &#039;&#039;&#039;1000 Genomes&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Phase 3&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
(version 5)&lt;br /&gt;
| rowspan=4  style=&amp;quot;text-align:center&amp;quot; | &#039;&#039;&#039;2,504&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039; &lt;br /&gt;
| -&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P3_VCF_Files.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P3_VCF_Files.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| rowspan=2  style=&amp;quot;text-align:center&amp;quot; | &#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| 1-22,X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_WITH_ESTIMATES.tar.gz Download] &amp;lt;!-- [ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_WITH_ESTIMATES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
|NO&lt;br /&gt;
| 1-22,X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_NO_ESTIMATES.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_NO_ESTIMATES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039;,&#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P3_CHR_X_VCF_M3VCF_FILES.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P3_CHR_X_VCF_M3VCF_FILES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| rowspan=4 |  &#039;&#039;&#039;1000 Genomes&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Phase 1&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
(version 3)&lt;br /&gt;
| rowspan=4  | &#039;&#039;&#039;1,092&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039; &lt;br /&gt;
| -&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P1_VCF_Files.tar.gz Download]&lt;br /&gt;
|- &lt;br /&gt;
|  rowspan=2  style=&amp;quot;text-align:center&amp;quot; | &#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P1_M3VCF_FILES_WITH_ESTIMATES.tar.gz Download]&lt;br /&gt;
|- &lt;br /&gt;
| NO&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P1_M3VCF_FILES_NO_ESTIMATES.tar.gz Download]&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039;,&#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P1_CHR_X_VCF_M3VCF_FILES.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P1_CHR_X_VCF_M3VCF_FILES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Wiki Pages =&lt;br /&gt;
&lt;br /&gt;
There are a few pages in this Wiki that may be useful to for &#039;&#039;&#039;Minimac4&#039;&#039;&#039; users. Here are links to a few:&lt;br /&gt;
&lt;br /&gt;
* [[Minimac4| Minimac4 Overview Page]]&lt;br /&gt;
&lt;br /&gt;
* [[Minimac4 Documentation]]&lt;br /&gt;
&lt;br /&gt;
* [[M3VCF Files| M3VCF Files]]&lt;/div&gt;</summary>
		<author><name>Yukt</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=15126</id>
		<title>Minimac4</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=15126"/>
		<updated>2019-07-20T03:13:58Z</updated>

		<summary type="html">&lt;p&gt;Yukt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Minimac4 &#039;&#039;&#039; is a latest version in the series of genotype imputation software - preceded by [[Minimac3|Minimac3]] (2015), [[Minimac2|Minimac2]] (2014), [[Minimac|minimac]] (2012) and [[MaCH|MaCH]] (2010). &#039;&#039;&#039;Minimac4&#039;&#039;&#039; is a lower memory and more computationally efficient implementation of the original algorithms with comparable imputation quality.&lt;br /&gt;
&lt;br /&gt;
The Minimac3 mailing list has been renamed as the Minimac4 mailing list. If you were already a member, no need to re-join. If not, please join our [https://groups.google.com/forum/embed/?place=forum/minimac4-help&amp;amp;umich.edu| mailing list] to get updates about future releases or report possible bugs or email them to [mailto:yukt@umich.edu  Ketian Yu] or [mailto:sayantan@umich.edu Sayantan Das].&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Download =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Minimac4 (version 1.0.0, released 2.14.2018)&#039;&#039;&#039; is currently available on [https://github.com/Santy-8128/Minimac4 Minimac4 Github]. Please follow the instructions in the GitHub repository for installation.&lt;br /&gt;
&lt;br /&gt;
Commonly used reference panels in &amp;lt;font face=Courier&amp;gt;M3VCF&amp;lt;/font&amp;gt; format are available for download in [[#Reference Panels for Download | Reference Panels]]. &lt;br /&gt;
&lt;br /&gt;
= What&#039;s New =&lt;br /&gt;
&lt;br /&gt;
The input file format, output file formats and typical command lines are the same in Minimac4 (as they were in minimac3). Some of the main new features are summarized below:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Improved Speed - &#039;&#039;&#039; Minimac4 is approximately &#039;&#039;&#039;6 times&#039;&#039;&#039; faster for 1000 Genomes Phase 1 and Phase 3 and &#039;&#039;&#039;2 times&#039;&#039;&#039; faster for the HRC reference panels at comparable accuracy (details of accuracy for imputing into 10 European samples are given here). The speed can be further improved by tuning the approximation parameters (see below), but we recommend using the default values.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Automated Chunking - &#039;&#039;&#039; Minimac4 automatically chunks the whole chromosome (into overlapping chunks), analyzes each chunk sequentially and then concatenates the imputed chunks back. This caps the memory usage across different chromosomes (memory requirement is based on chunk size, not chromosome size). The length of the chunk and the overlap can be controlled by the &amp;lt;code&amp;gt;--chunkLengthMb&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;--chunkLengthOverlapMb&amp;lt;/code&amp;gt; options, although we recommend using the default values of 20 and 3, respectively. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Approximations - &#039;&#039;&#039; Minimac4 uses some simple approximations to speed up the imputation analyses. The levels of approximation can be controlled by the parameters &amp;lt;code&amp;gt;--probThreshold&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--diffThreshold&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;--topThreshold&amp;lt;/code&amp;gt; (details given in Minimac4 Usage). Higher levels of approximation will reduce the compute time but marginally reduce the imputation accuracy. We recommend using the default values (0.01).&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Improved Chromosome X/Y Support - &#039;&#039;&#039; Minimac4 can handle different ploidys in the same VCF file for imputation of sex chromosomes. For example, for the non-PAR region on chromosome X, males and females can be imputed together, irrespective of whether males are coded as haploids or diploids. However, each sample must have a fixed ploidy. Thus, PAR and non-PAR regions still need to be imputed separately. Please see Chromosome X Imputation for more details.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Other Helpful Features&#039;&#039;&#039;&lt;br /&gt;
** We introduced a new feature called &amp;lt;code&amp;gt;--memUsage&amp;lt;/code&amp;gt; that will estimate and report the memory required by Minimac4. This feature should be useful for users running their jobs on a compute cluster that requires memory specification.&lt;br /&gt;
** We introduced some other FORMAT options for the output dosage data, allowing users to retrieve haplotype dosages, genotype probabilities, genotype dosages or any other measure of summary that they want.&lt;br /&gt;
** We have fixed the bug related to FILTER=GENOTYPED and FILTER=GENOTYPED_ONLY which was causing a crash in bcftools.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Obsolete Features&#039;&#039;&#039;&lt;br /&gt;
** In Minimac4, we removed the &amp;lt;code&amp;gt;--doseOutput&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;--hapOutput&amp;lt;/code&amp;gt; options. Please use [[DosageConvertor]] to convert your files to MaCH or PLINK dosage format.&lt;br /&gt;
** Currently Minimac4 can ONLY handle M3VCF format files. If your reference panel is in VCF format, please use [[Minimac3]] to convert the VCF file to M3VCF (along with parameter estimation) and then use that M3VCF for imputation using Minimac4. The same holds for the option &amp;lt;code&amp;gt;--processReference&amp;lt;/code&amp;gt; as well. Although the handle is made available, we will implement it in a later version.&lt;br /&gt;
** Parameters such as &amp;lt;code&amp;gt;--rounds&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--states&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--rec&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--err&amp;lt;/code&amp;gt; have been deactivated for now until we implement parameter estimation in minimac4.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The easiest way to install Minimac4 and its dependencies is to use the install.sh file provided.&lt;br /&gt;
 git clone &amp;lt;nowiki&amp;gt;https://github.com/statgen/Minimac4.git&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 cd Minimac4&lt;br /&gt;
 bash install.sh&lt;br /&gt;
&lt;br /&gt;
A typical Minimac4 command line for imputation is as follows&lt;br /&gt;
&lt;br /&gt;
 minimac4 --refHaps refPanel.m3vcf \&lt;br /&gt;
          --haps targetStudy.vcf \&lt;br /&gt;
          --prefix testRun&lt;br /&gt;
&lt;br /&gt;
Here &amp;lt;font face=Courier&amp;gt;refPanel.m3vcf&amp;lt;/font&amp;gt; is the reference panel used in M3VCF format (e.g. 1000 Genomes),  &amp;lt;font face=Courier&amp;gt;targetStudy.vcf&amp;lt;/font&amp;gt; is the phased GWAS data in VCF format, and  &amp;lt;font face=Courier&amp;gt;testRun&amp;lt;/font&amp;gt; is the prefix for the output files.&lt;br /&gt;
&lt;br /&gt;
=== Convert VCF to M3VCF ===&lt;br /&gt;
If the reference panel is in VCF format, please use [[Minimac3]] to convert it into M3VCF format first. &lt;br /&gt;
 ../bin/Minimac3 --refHaps refPanel.vcf \ &lt;br /&gt;
                 --processReference \ &lt;br /&gt;
                 --prefix refPanel&lt;br /&gt;
&lt;br /&gt;
=== Multi-Threading ===&lt;br /&gt;
The following example shows the same analysis as above, but using 5 threads:&lt;br /&gt;
&lt;br /&gt;
 minimac4 --refHaps refPanel.m3vcf \&lt;br /&gt;
          --haps targetStudy.vcf \&lt;br /&gt;
          --prefix testRun \&lt;br /&gt;
          --cpus 5&lt;br /&gt;
&lt;br /&gt;
=== Full List of Options ===&lt;br /&gt;
Users can always type the following for further support:&lt;br /&gt;
 minimac4 --help&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Please see [[Minimac4 Documentation | Minimac4 Documentation]] for detailed explanation of all available options.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Reference Panels for Download = &lt;br /&gt;
&lt;br /&gt;
Some commonly used reference panels are available for download here:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|- bgcolor=&amp;quot;lightgray&amp;quot;&lt;br /&gt;
! width=&amp;quot;150px&amp;quot; |Reference Panel&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; |Number &amp;lt;br&amp;gt; of Samples&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; |File Format&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; |Parameter &amp;lt;br&amp;gt;  Estimates &amp;lt;br&amp;gt; Available&lt;br /&gt;
! width=&amp;quot;120px&amp;quot; |Chromosomes&lt;br /&gt;
! width=&amp;quot;80px&amp;quot; |Link&lt;br /&gt;
|- &lt;br /&gt;
| rowspan=4 | &#039;&#039;&#039;1000 Genomes&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Phase 3&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
(version 5)&lt;br /&gt;
| rowspan=4  style=&amp;quot;text-align:center&amp;quot; | &#039;&#039;&#039;2,504&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039; &lt;br /&gt;
| -&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P3_VCF_Files.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P3_VCF_Files.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| rowspan=2  style=&amp;quot;text-align:center&amp;quot; | &#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| 1-22,X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_WITH_ESTIMATES.tar.gz Download] &amp;lt;!-- [ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_WITH_ESTIMATES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
|NO&lt;br /&gt;
| 1-22,X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_NO_ESTIMATES.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_NO_ESTIMATES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039;,&#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P3_CHR_X_VCF_M3VCF_FILES.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P3_CHR_X_VCF_M3VCF_FILES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| rowspan=4 |  &#039;&#039;&#039;1000 Genomes&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Phase 1&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
(version 3)&lt;br /&gt;
| rowspan=4  | &#039;&#039;&#039;1,092&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039; &lt;br /&gt;
| -&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P1_VCF_Files.tar.gz Download]&lt;br /&gt;
|- &lt;br /&gt;
|  rowspan=2  style=&amp;quot;text-align:center&amp;quot; | &#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P1_M3VCF_FILES_WITH_ESTIMATES.tar.gz Download]&lt;br /&gt;
|- &lt;br /&gt;
| NO&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P1_M3VCF_FILES_NO_ESTIMATES.tar.gz Download]&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039;,&#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P1_CHR_X_VCF_M3VCF_FILES.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P1_CHR_X_VCF_M3VCF_FILES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Useful Wiki Pages =&lt;br /&gt;
&lt;br /&gt;
There are a few pages in this Wiki that may be useful to for &#039;&#039;&#039;Minimac4&#039;&#039;&#039; users. Here are links to a few:&lt;br /&gt;
&lt;br /&gt;
* [[Minimac4| Minimac4 Overview Page]]&lt;br /&gt;
&lt;br /&gt;
* [[Minimac4 Documentation]]&lt;br /&gt;
&lt;br /&gt;
* [[M3VCF Files| M3VCF Files]]&lt;/div&gt;</summary>
		<author><name>Yukt</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=15125</id>
		<title>Minimac4</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=15125"/>
		<updated>2019-07-20T03:10:48Z</updated>

		<summary type="html">&lt;p&gt;Yukt: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Minimac4 &#039;&#039;&#039; is a latest version in the series of genotype imputation software - preceded by [[Minimac3|Minimac3]] (2015), [[Minimac2|Minimac2]] (2014), [[Minimac|minimac]] (2012) and [[MaCH|MaCH]] (2010). &#039;&#039;&#039;Minimac4&#039;&#039;&#039; is a lower memory and more computationally efficient implementation of the original algorithms with comparable imputation quality.&lt;br /&gt;
&lt;br /&gt;
The Minimac3 mailing list has been renamed as the Minimac4 mailing list. If you were already a member, no need to re-join. If not, please join our [https://groups.google.com/forum/embed/?place=forum/minimac4-help&amp;amp;umich.edu| mailing list] to get updates about future releases or report possible bugs or email them to [mailto:yukt@umich.edu  Ketian Yu] or [mailto:sayantan@umich.edu Sayantan Das].&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Download =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Minimac4 (version 1.0.0, released 2.14.2018)&#039;&#039;&#039; is currently available on [https://github.com/Santy-8128/Minimac4 Minimac4 Github]. Please follow the instructions in the GitHub repository for installation.&lt;br /&gt;
&lt;br /&gt;
Commonly used reference panels in &amp;lt;font face=Courier&amp;gt;M3VCF&amp;lt;/font&amp;gt; format are available for download in [[#Reference Panels for Download | Reference Panels]]. &lt;br /&gt;
&lt;br /&gt;
= What&#039;s New =&lt;br /&gt;
&lt;br /&gt;
The input file format, output file formats and typical command lines are the same in Minimac4 (as they were in minimac3). Some of the main new features are summarized below:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Improved Speed - &#039;&#039;&#039; Minimac4 is approximately &#039;&#039;&#039;6 times&#039;&#039;&#039; faster for 1000 Genomes Phase 1 and Phase 3 and &#039;&#039;&#039;2 times&#039;&#039;&#039; faster for the HRC reference panels at comparable accuracy (details of accuracy for imputing into 10 European samples are given here). The speed can be further improved by tuning the approximation parameters (see below), but we recommend using the default values.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Automated Chunking - &#039;&#039;&#039; Minimac4 automatically chunks the whole chromosome (into overlapping chunks), analyzes each chunk sequentially and then concatenates the imputed chunks back. This caps the memory usage across different chromosomes (memory requirement is based on chunk size, not chromosome size). The length of the chunk and the overlap can be controlled by the &amp;lt;code&amp;gt;--chunkLengthMb&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;--chunkLengthOverlapMb&amp;lt;/code&amp;gt; options, although we recommend using the default values of 20 and 3, respectively. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Approximations - &#039;&#039;&#039; Minimac4 uses some simple approximations to speed up the imputation analyses. The levels of approximation can be controlled by the parameters &amp;lt;code&amp;gt;--probThreshold&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--diffThreshold&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;--topThreshold&amp;lt;/code&amp;gt; (details given in Minimac4 Usage). Higher levels of approximation will reduce the compute time but marginally reduce the imputation accuracy. We recommend using the default values (0.01).&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Improved Chromosome X/Y Support - &#039;&#039;&#039; Minimac4 can handle different ploidys in the same VCF file for imputation of sex chromosomes. For example, for the non-PAR region on chromosome X, males and females can be imputed together, irrespective of whether males are coded as haploids or diploids. However, each sample must have a fixed ploidy. Thus, PAR and non-PAR regions still need to be imputed separately. Please see Chromosome X Imputation for more details.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Other Helpful Features&#039;&#039;&#039;&lt;br /&gt;
** We introduced a new feature called &amp;lt;code&amp;gt;--memUsage&amp;lt;/code&amp;gt; that will estimate and report the memory required by Minimac4. This feature should be useful for users running their jobs on a compute cluster that requires memory specification.&lt;br /&gt;
** We introduced some other FORMAT options for the output dosage data, allowing users to retrieve haplotype dosages, genotype probabilities, genotype dosages or any other measure of summary that they want.&lt;br /&gt;
** We have fixed the bug related to FILTER=GENOTYPED and FILTER=GENOTYPED_ONLY which was causing a crash in bcftools.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Obsolete Features&#039;&#039;&#039;&lt;br /&gt;
** In Minimac4, we removed the &amp;lt;code&amp;gt;--doseOutput&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;--hapOutput&amp;lt;/code&amp;gt; options. Please use [[DosageConvertor]] to convert your files to MaCH or PLINK dosage format.&lt;br /&gt;
** Currently Minimac4 can ONLY handle M3VCF format files. If your reference panel is in VCF format, please use [[Minimac3]] to convert the VCF file to M3VCF (along with parameter estimation) and then use that M3VCF for imputation using Minimac4. The same holds for the option &amp;lt;code&amp;gt;--processReference&amp;lt;/code&amp;gt; as well. Although the handle is made available, we will implement it in a later version.&lt;br /&gt;
** Parameters such as &amp;lt;code&amp;gt;--rounds&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--states&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--rec&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--err&amp;lt;/code&amp;gt; have been deactivated for now until we implement parameter estimation in minimac4.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The easiest way to install Minimac4 and its dependencies is to use the install.sh file provided.&lt;br /&gt;
 git clone &amp;lt;nowiki&amp;gt;https://github.com/statgen/Minimac4.git&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 cd Minimac4&lt;br /&gt;
 bash install.sh&lt;br /&gt;
&lt;br /&gt;
A typical Minimac4 command line for imputation is as follows&lt;br /&gt;
&lt;br /&gt;
 minimac4 --refHaps refPanel.m3vcf \&lt;br /&gt;
          --haps targetStudy.vcf \&lt;br /&gt;
          --prefix testRun&lt;br /&gt;
&lt;br /&gt;
Here &amp;lt;font face=Courier&amp;gt;refPanel.m3vcf&amp;lt;/font&amp;gt; is the reference panel used in M3VCF format (e.g. 1000 Genomes),  &amp;lt;font face=Courier&amp;gt;targetStudy.vcf&amp;lt;/font&amp;gt; is the phased GWAS data in VCF format, and  &amp;lt;font face=Courier&amp;gt;testRun&amp;lt;/font&amp;gt; is the prefix for the output files.&lt;br /&gt;
&lt;br /&gt;
=== Convert VCF to M3VCF ===&lt;br /&gt;
If the reference panel is in VCF format, please use [[Minimac3]] to convert it into M3VCF format first. &lt;br /&gt;
 ../bin/Minimac3 --refHaps refPanel.vcf \ &lt;br /&gt;
                 --processReference \ &lt;br /&gt;
                 --prefix refPanel&lt;br /&gt;
&lt;br /&gt;
=== Multi-Threading ===&lt;br /&gt;
The following example shows the same analysis as above, but using 5 threads:&lt;br /&gt;
&lt;br /&gt;
 minimac4 --refHaps refPanel.m3vcf \&lt;br /&gt;
          --haps targetStudy.vcf \&lt;br /&gt;
          --prefix testRun \&lt;br /&gt;
          --cpus 5&lt;br /&gt;
&lt;br /&gt;
=== Full List of Options ===&lt;br /&gt;
Users can always type the following for further support:&lt;br /&gt;
 minimac4 --help&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Please see [[Minimac4 Documentation | Minimac4 Documentation]] for detailed explanation of all available options.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Reference Panels for Download = &lt;br /&gt;
&lt;br /&gt;
Some commonly used reference panels are available for download here:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|- bgcolor=&amp;quot;lightgray&amp;quot;&lt;br /&gt;
! width=&amp;quot;150px&amp;quot; |Reference Panel&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; |Number &amp;lt;br&amp;gt; of Samples&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; |File Format&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; |Parameter &amp;lt;br&amp;gt;  Estimates &amp;lt;br&amp;gt; Available&lt;br /&gt;
! width=&amp;quot;120px&amp;quot; |Chromosomes&lt;br /&gt;
! width=&amp;quot;80px&amp;quot; |Link&lt;br /&gt;
|- &lt;br /&gt;
| rowspan=4 | &#039;&#039;&#039;1000 Genomes&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Phase 3&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
(version 5)&lt;br /&gt;
| rowspan=4  style=&amp;quot;text-align:center&amp;quot; | &#039;&#039;&#039;2,504&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039; &lt;br /&gt;
| -&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P3_VCF_Files.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P3_VCF_Files.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| rowspan=2  style=&amp;quot;text-align:center&amp;quot; | &#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| 1-22,X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_WITH_ESTIMATES.tar.gz Download] &amp;lt;!-- [ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_WITH_ESTIMATES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
|NO&lt;br /&gt;
| 1-22,X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_NO_ESTIMATES.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_NO_ESTIMATES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039;,&#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P3_CHR_X_VCF_M3VCF_FILES.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P3_CHR_X_VCF_M3VCF_FILES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| rowspan=4 |  &#039;&#039;&#039;1000 Genomes&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Phase 1&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
(version 3)&lt;br /&gt;
| rowspan=4  | &#039;&#039;&#039;1,092&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039; &lt;br /&gt;
| -&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P1_VCF_Files.tar.gz Download]&lt;br /&gt;
|- &lt;br /&gt;
|  rowspan=2  style=&amp;quot;text-align:center&amp;quot; | &#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P1_M3VCF_FILES_WITH_ESTIMATES.tar.gz Download]&lt;br /&gt;
|- &lt;br /&gt;
| NO&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P1_M3VCF_FILES_NO_ESTIMATES.tar.gz Download]&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039;,&#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P1_CHR_X_VCF_M3VCF_FILES.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P1_CHR_X_VCF_M3VCF_FILES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Yukt</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=15124</id>
		<title>Minimac4</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=15124"/>
		<updated>2019-07-20T03:09:33Z</updated>

		<summary type="html">&lt;p&gt;Yukt: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Minimac4 &#039;&#039;&#039; is a latest version in the series of genotype imputation software - preceded by [[Minimac3|Minimac3]] (2015), [[Minimac2|Minimac2]] (2014), [[Minimac|minimac]] (2012) and [[MaCH|MaCH]] (2010). &#039;&#039;&#039;Minimac4&#039;&#039;&#039; is a lower memory and more computationally efficient implementation of the original algorithms with comparable imputation quality.&lt;br /&gt;
&lt;br /&gt;
The Minimac3 mailing list has been renamed as the Minimac4 mailing list. If you were already a member, no need to re-join. If not, please join our [https://groups.google.com/forum/embed/?place=forum/minimac4-help&amp;amp;umich.edu| mailing list] to get updates about future releases or report possible bugs or email them to [mailto:yukt@umich.edu  Ketian Yu] or [mailto:sayantan@umich.edu Sayantan Das].&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Download =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Minimac4 (version 1.0.0, released 2.14.2018)&#039;&#039;&#039; is currently available on [https://github.com/Santy-8128/Minimac4 Minimac4 Github]. Please follow the instructions in the GitHub repository for installation.&lt;br /&gt;
&lt;br /&gt;
Commonly used reference panels in &amp;lt;font face=Courier&amp;gt;M3VCF&amp;lt;/font&amp;gt; format are available for download in [[#Reference Panels for Download | Reference Panels]]. &lt;br /&gt;
&lt;br /&gt;
= What&#039;s New =&lt;br /&gt;
&lt;br /&gt;
The input file format, output file formats and typical command lines are the same in Minimac4 (as they were in minimac3). Some of the main new features are summarized below:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Improved Speed - &#039;&#039;&#039; Minimac4 is approximately &#039;&#039;&#039;6 times&#039;&#039;&#039; faster for 1000 Genomes Phase 1 and Phase 3 and &#039;&#039;&#039;2 times&#039;&#039;&#039; faster for the HRC reference panels at comparable accuracy (details of accuracy for imputing into 10 European samples are given here). The speed can be further improved by tuning the approximation parameters (see below), but we recommend using the default values.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Automated Chunking - &#039;&#039;&#039; Minimac4 automatically chunks the whole chromosome (into overlapping chunks), analyzes each chunk sequentially and then concatenates the imputed chunks back. This caps the memory usage across different chromosomes (memory requirement is based on chunk size, not chromosome size). The length of the chunk and the overlap can be controlled by the &amp;lt;code&amp;gt;--chunkLengthMb&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;--chunkLengthOverlapMb&amp;lt;/code&amp;gt; options, although we recommend using the default values of 20 and 3, respectively. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Approximations - &#039;&#039;&#039; Minimac4 uses some simple approximations to speed up the imputation analyses. The levels of approximation can be controlled by the parameters &amp;lt;code&amp;gt;--probThreshold&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--diffThreshold&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;--topThreshold&amp;lt;/code&amp;gt; (details given in Minimac4 Usage). Higher levels of approximation will reduce the compute time but marginally reduce the imputation accuracy. We recommend using the default values (0.01).&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Improved Chromosome X/Y Support - &#039;&#039;&#039; Minimac4 can handle different ploidys in the same VCF file for imputation of sex chromosomes. For example, for the non-PAR region on chromosome X, males and females can be imputed together, irrespective of whether males are coded as haploids or diploids. However, each sample must have a fixed ploidy. Thus, PAR and non-PAR regions still need to be imputed separately. Please see Chromosome X Imputation for more details.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Other Helpful Features&#039;&#039;&#039;&lt;br /&gt;
** We introduced a new feature called &amp;lt;code&amp;gt;--memUsage&amp;lt;/code&amp;gt; that will estimate and report the memory required by Minimac4. This feature should be useful for users running their jobs on a compute cluster that requires memory specification.&lt;br /&gt;
** We introduced some other FORMAT options for the output dosage data, allowing users to retrieve haplotype dosages, genotype probabilities, genotype dosages or any other measure of summary that they want.&lt;br /&gt;
** We have fixed the bug related to FILTER=GENOTYPED and FILTER=GENOTYPED_ONLY which was causing a crash in bcftools.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Obsolete Features&#039;&#039;&#039;&lt;br /&gt;
** In Minimac4, we removed the &amp;lt;code&amp;gt;--doseOutput&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;--hapOutput&amp;lt;/code&amp;gt; options. Please use [[DosageConvertor]] to convert your files to MaCH or PLINK dosage format.&lt;br /&gt;
** Currently Minimac4 can ONLY handle M3VCF format files. If your reference panel is in VCF format, please use [[Minimac3]] to convert the VCF file to M3VCF (along with parameter estimation) and then use that M3VCF for imputation using Minimac4. The same holds for the option &amp;lt;code&amp;gt;--processReference&amp;lt;/code&amp;gt; as well. Although the handle is made available, we will implement it in a later version.&lt;br /&gt;
** Parameters such as &amp;lt;code&amp;gt;--rounds&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--states&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--rec&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--err&amp;lt;/code&amp;gt; have been deactivated for now until we implement parameter estimation in minimac4.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The easiest way to install Minimac4 and its dependencies is to use the install.sh file provided.&lt;br /&gt;
 git clone &amp;lt;nowiki&amp;gt;https://github.com/statgen/Minimac4.git&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 cd Minimac4&lt;br /&gt;
 bash install.sh&lt;br /&gt;
&lt;br /&gt;
A typical Minimac4 command line for imputation is as follows&lt;br /&gt;
&lt;br /&gt;
 minimac4 --refHaps refPanel.m3vcf \&lt;br /&gt;
          --haps targetStudy.vcf \&lt;br /&gt;
          --prefix testRun&lt;br /&gt;
&lt;br /&gt;
Here &amp;lt;font face=Courier&amp;gt;refPanel.m3vcf&amp;lt;/font&amp;gt; is the reference panel used in M3VCF format (e.g. 1000 Genomes),  &amp;lt;font face=Courier&amp;gt;targetStudy.vcf&amp;lt;/font&amp;gt; is the phased GWAS data in VCF format, and  &amp;lt;font face=Courier&amp;gt;testRun&amp;lt;/font&amp;gt; is the prefix for the output files.&lt;br /&gt;
&lt;br /&gt;
If the reference panel is in VCF format, please use Minimac3 to convert it into M3VCF format first. &lt;br /&gt;
 ../bin/Minimac3 --refHaps refPanel.vcf \ &lt;br /&gt;
                 --processReference \ &lt;br /&gt;
                 --prefix refPanel&lt;br /&gt;
&lt;br /&gt;
=== Multi-Threading ===&lt;br /&gt;
The following example shows the same analysis as above, but using 5 threads:&lt;br /&gt;
&lt;br /&gt;
 minimac4 --refHaps refPanel.m3vcf \&lt;br /&gt;
          --haps targetStudy.vcf \&lt;br /&gt;
          --prefix testRun \&lt;br /&gt;
          --cpus 5&lt;br /&gt;
&lt;br /&gt;
=== Full List of Options ===&lt;br /&gt;
Users can always type the following for further support:&lt;br /&gt;
 minimac4 --help&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Please see [[Minimac4 Documentation | Minimac4 Documentation]] for detailed explanation of all available options.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Reference Panels for Download = &lt;br /&gt;
&lt;br /&gt;
Some commonly used reference panels are available for download here:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|- bgcolor=&amp;quot;lightgray&amp;quot;&lt;br /&gt;
! width=&amp;quot;150px&amp;quot; |Reference Panel&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; |Number &amp;lt;br&amp;gt; of Samples&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; |File Format&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; |Parameter &amp;lt;br&amp;gt;  Estimates &amp;lt;br&amp;gt; Available&lt;br /&gt;
! width=&amp;quot;120px&amp;quot; |Chromosomes&lt;br /&gt;
! width=&amp;quot;80px&amp;quot; |Link&lt;br /&gt;
|- &lt;br /&gt;
| rowspan=4 | &#039;&#039;&#039;1000 Genomes&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Phase 3&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
(version 5)&lt;br /&gt;
| rowspan=4  style=&amp;quot;text-align:center&amp;quot; | &#039;&#039;&#039;2,504&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039; &lt;br /&gt;
| -&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P3_VCF_Files.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P3_VCF_Files.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| rowspan=2  style=&amp;quot;text-align:center&amp;quot; | &#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| 1-22,X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_WITH_ESTIMATES.tar.gz Download] &amp;lt;!-- [ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_WITH_ESTIMATES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
|NO&lt;br /&gt;
| 1-22,X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_NO_ESTIMATES.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_NO_ESTIMATES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039;,&#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P3_CHR_X_VCF_M3VCF_FILES.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P3_CHR_X_VCF_M3VCF_FILES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| rowspan=4 |  &#039;&#039;&#039;1000 Genomes&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Phase 1&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
(version 3)&lt;br /&gt;
| rowspan=4  | &#039;&#039;&#039;1,092&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039; &lt;br /&gt;
| -&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P1_VCF_Files.tar.gz Download]&lt;br /&gt;
|- &lt;br /&gt;
|  rowspan=2  style=&amp;quot;text-align:center&amp;quot; | &#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P1_M3VCF_FILES_WITH_ESTIMATES.tar.gz Download]&lt;br /&gt;
|- &lt;br /&gt;
| NO&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P1_M3VCF_FILES_NO_ESTIMATES.tar.gz Download]&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039;,&#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P1_CHR_X_VCF_M3VCF_FILES.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P1_CHR_X_VCF_M3VCF_FILES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Yukt</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=15123</id>
		<title>Minimac4</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=15123"/>
		<updated>2019-07-20T03:02:57Z</updated>

		<summary type="html">&lt;p&gt;Yukt: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Minimac4 &#039;&#039;&#039; is a latest version in the series of genotype imputation software - preceded by [[Minimac3|Minimac3]] (2015), [[Minimac2|Minimac2]] (2014), [[Minimac|minimac]] (2012) and [[MaCH|MaCH]] (2010). &#039;&#039;&#039;Minimac4&#039;&#039;&#039; is a lower memory and more computationally efficient implementation of the original algorithms with comparable imputation quality.&lt;br /&gt;
&lt;br /&gt;
The Minimac3 mailing list has been renamed as the Minimac4 mailing list. If you were already a member, no need to re-join. If not, please join our [https://groups.google.com/forum/embed/?place=forum/minimac4-help&amp;amp;umich.edu| mailing list] to get updates about future releases or report possible bugs or email them to [mailto:yukt@umich.edu  Ketian Yu] or [mailto:sayantan@umich.edu Sayantan Das].&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Download =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Minimac4 (version 1.0.0, released 2.14.2018)&#039;&#039;&#039; is currently available on [https://github.com/Santy-8128/Minimac4 Minimac4 Github]. Please follow the instructions in the GitHub repository for installation.&lt;br /&gt;
&lt;br /&gt;
Commonly used reference panels in &amp;lt;font face=Courier&amp;gt;M3VCF&amp;lt;/font&amp;gt; format are available for download in [[#Reference Panels for Download | Reference Panels]]. &lt;br /&gt;
&lt;br /&gt;
= What&#039;s New =&lt;br /&gt;
&lt;br /&gt;
The input file format, output file formats and typical command lines are the same in Minimac4 (as they were in minimac3). Some of the main new features are summarized below:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Improved Speed - &#039;&#039;&#039; Minimac4 is approximately &#039;&#039;&#039;6 times&#039;&#039;&#039; faster for 1000 Genomes Phase 1 and Phase 3 and &#039;&#039;&#039;2 times&#039;&#039;&#039; faster for the HRC reference panels at comparable accuracy (details of accuracy for imputing into 10 European samples are given here). The speed can be further improved by tuning the approximation parameters (see below), but we recommend using the default values.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Automated Chunking - &#039;&#039;&#039; Minimac4 automatically chunks the whole chromosome (into overlapping chunks), analyzes each chunk sequentially and then concatenates the imputed chunks back. This caps the memory usage across different chromosomes (memory requirement is based on chunk size, not chromosome size). The length of the chunk and the overlap can be controlled by the &amp;lt;code&amp;gt;--chunkLengthMb&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;--chunkLengthOverlapMb&amp;lt;/code&amp;gt; options, although we recommend using the default values of 20 and 3, respectively. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Approximations - &#039;&#039;&#039; Minimac4 uses some simple approximations to speed up the imputation analyses. The levels of approximation can be controlled by the parameters &amp;lt;code&amp;gt;--probThreshold&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--diffThreshold&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;--topThreshold&amp;lt;/code&amp;gt; (details given in Minimac4 Usage). Higher levels of approximation will reduce the compute time but marginally reduce the imputation accuracy. We recommend using the default values (0.01).&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Improved Chromosome X/Y Support - &#039;&#039;&#039; Minimac4 can handle different ploidys in the same VCF file for imputation of sex chromosomes. For example, for the non-PAR region on chromosome X, males and females can be imputed together, irrespective of whether males are coded as haploids or diploids. However, each sample must have a fixed ploidy. Thus, PAR and non-PAR regions still need to be imputed separately. Please see Chromosome X Imputation for more details.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Other Helpful Features&#039;&#039;&#039;&lt;br /&gt;
** We introduced a new feature called &amp;lt;code&amp;gt;--memUsage&amp;lt;/code&amp;gt; that will estimate and report the memory required by Minimac4. This feature should be useful for users running their jobs on a compute cluster that requires memory specification.&lt;br /&gt;
** We introduced some other FORMAT options for the output dosage data, allowing users to retrieve haplotype dosages, genotype probabilities, genotype dosages or any other measure of summary that they want.&lt;br /&gt;
** We have fixed the bug related to FILTER=GENOTYPED and FILTER=GENOTYPED_ONLY which was causing a crash in bcftools.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Obsolete Features&#039;&#039;&#039;&lt;br /&gt;
** In Minimac4, we removed the &amp;lt;code&amp;gt;--doseOutput&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;--hapOutput&amp;lt;/code&amp;gt; options. Please use [[DosageConvertor]] to convert your files to MaCH or PLINK dosage format.&lt;br /&gt;
** Currently Minimac4 can ONLY handle M3VCF format files. If your reference panel is in VCF format, please use [[Minimac3]] to convert the VCF file to M3VCF (along with parameter estimation) and then use that M3VCF for imputation using Minimac4. The same holds for the option &amp;lt;code&amp;gt;--processReference&amp;lt;/code&amp;gt; as well. Although the handle is made available, we will implement it in a later version.&lt;br /&gt;
** Parameters such as &amp;lt;code&amp;gt;--rounds&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--states&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--rec&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--err&amp;lt;/code&amp;gt; have been deactivated for now until we implement parameter estimation in minimac4.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The easiest way to install Minimac4 and its dependencies is to use the install.sh file provided.&lt;br /&gt;
 git clone &amp;lt;nowiki&amp;gt;https://github.com/statgen/Minimac4.git&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 cd Minimac4&lt;br /&gt;
 bash install.sh&lt;br /&gt;
&lt;br /&gt;
A typical Minimac4 command line for imputation is as follows&lt;br /&gt;
&lt;br /&gt;
 minimac4 --refHaps refPanel.m3vcf \&lt;br /&gt;
          --haps targetStudy.vcf \&lt;br /&gt;
          --prefix testRun&lt;br /&gt;
&lt;br /&gt;
Here &amp;lt;font face=Courier&amp;gt;refPanel.m3vcf&amp;lt;/font&amp;gt; is the reference panel used in M3VCF format (e.g. 1000 Genomes),  &amp;lt;font face=Courier&amp;gt;targetStudy.vcf&amp;lt;/font&amp;gt; is the phased GWAS data in VCF format, and  &amp;lt;font face=Courier&amp;gt;testRun&amp;lt;/font&amp;gt; is the prefix for the output files.&lt;br /&gt;
&lt;br /&gt;
=== Multi-Threading ===&lt;br /&gt;
The following example shows the same analysis as above, but using 5 threads:&lt;br /&gt;
&lt;br /&gt;
 minimac4 --refHaps refPanel.m3vcf \&lt;br /&gt;
          --haps targetStudy.vcf \&lt;br /&gt;
          --prefix testRun \&lt;br /&gt;
          --cpus 5&lt;br /&gt;
&lt;br /&gt;
=== Full List of Options ===&lt;br /&gt;
Users can always type the following for further support:&lt;br /&gt;
 minimac4 --help&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Please see [[Minimac4 Documentation | Minimac4 Documentation]] for detailed explanation of all available options.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Reference Panels for Download = &lt;br /&gt;
&lt;br /&gt;
Some commonly used reference panels are available for download here:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|- bgcolor=&amp;quot;lightgray&amp;quot;&lt;br /&gt;
! width=&amp;quot;150px&amp;quot; |Reference Panel&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; |Number &amp;lt;br&amp;gt; of Samples&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; |File Format&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; |Parameter &amp;lt;br&amp;gt;  Estimates &amp;lt;br&amp;gt; Available&lt;br /&gt;
! width=&amp;quot;120px&amp;quot; |Chromosomes&lt;br /&gt;
! width=&amp;quot;80px&amp;quot; |Link&lt;br /&gt;
|- &lt;br /&gt;
| rowspan=4 | &#039;&#039;&#039;1000 Genomes&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Phase 3&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
(version 5)&lt;br /&gt;
| rowspan=4  style=&amp;quot;text-align:center&amp;quot; | &#039;&#039;&#039;2,504&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039; &lt;br /&gt;
| -&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P3_VCF_Files.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P3_VCF_Files.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| rowspan=2  style=&amp;quot;text-align:center&amp;quot; | &#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| 1-22,X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_WITH_ESTIMATES.tar.gz Download] &amp;lt;!-- [ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_WITH_ESTIMATES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
|NO&lt;br /&gt;
| 1-22,X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_NO_ESTIMATES.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_NO_ESTIMATES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039;,&#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P3_CHR_X_VCF_M3VCF_FILES.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P3_CHR_X_VCF_M3VCF_FILES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| rowspan=4 |  &#039;&#039;&#039;1000 Genomes&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Phase 1&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
(version 3)&lt;br /&gt;
| rowspan=4  | &#039;&#039;&#039;1,092&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039; &lt;br /&gt;
| -&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P1_VCF_Files.tar.gz Download]&lt;br /&gt;
|- &lt;br /&gt;
|  rowspan=2  style=&amp;quot;text-align:center&amp;quot; | &#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P1_M3VCF_FILES_WITH_ESTIMATES.tar.gz Download]&lt;br /&gt;
|- &lt;br /&gt;
| NO&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P1_M3VCF_FILES_NO_ESTIMATES.tar.gz Download]&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039;,&#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P1_CHR_X_VCF_M3VCF_FILES.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P1_CHR_X_VCF_M3VCF_FILES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Yukt</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Minimac4_Documentation&amp;diff=15122</id>
		<title>Minimac4 Documentation</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Minimac4_Documentation&amp;diff=15122"/>
		<updated>2019-07-20T02:30:39Z</updated>

		<summary type="html">&lt;p&gt;Yukt: /* Subset Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A typical Minimac4 command line would have the following parameter options:&lt;br /&gt;
&lt;br /&gt;
       Reference Haplotypes : --refHaps [], --passOnly, --rsid,&lt;br /&gt;
                              --referenceEstimates [ON],&lt;br /&gt;
                              --mapFile [docs/geneticMapFile.b38.map.txt.gz]&lt;br /&gt;
          Target Haplotypes : --haps []&lt;br /&gt;
          Output Parameters : --prefix [Minimac4.Output], --estimate,&lt;br /&gt;
                              --nobgzip, --vcfBuffer [200], --format [GT,DS],&lt;br /&gt;
                              --allTypedSites, --meta, --memUsage&lt;br /&gt;
        Chunking Parameters : --ChunkLengthMb [20.00], --ChunkOverlapMb [3.00]&lt;br /&gt;
          Subset Parameters : --chr [], --start, --end, --window&lt;br /&gt;
   Approximation Parameters : --minimac3, --probThreshold [0.01],&lt;br /&gt;
                              --diffThreshold [0.01], --topThreshold [0.01]&lt;br /&gt;
           Other Parameters : --log, --help, --cpus [1], --params&lt;br /&gt;
                  PhoneHome : --noPhoneHome, --phoneHomeThinning [50]&lt;br /&gt;
&lt;br /&gt;
Among all, &#039;&#039;&#039;--refHaps&#039;&#039;&#039; and &#039;&#039;&#039;--haps&#039;&#039;&#039; are required.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Reference Haplotypes ==&lt;br /&gt;
;--refHaps &amp;lt;input_m3vcf_filename&amp;gt;&lt;br /&gt;
: This option defines the reference panel in M3VCF format to impute against. &lt;br /&gt;
: If your reference panel is in VCF format, please use [[Minimac3]] to convert the VCF file to M3VCF (along with parameter estimation) and then use that M3VCF for imputation using Minimac4.&lt;br /&gt;
&lt;br /&gt;
; --passOnly &lt;br /&gt;
:  DEACTIVATED for now. OFF by default. If ON, only variants will FILTER=PASS will be recorded from reference VCF file (does NOT work on M3VCF files yet). &lt;br /&gt;
&lt;br /&gt;
;--rsid&lt;br /&gt;
: OFF by default. If ON, Minimac4 will only import RS ID of variants from ID column of reference file (if available).&lt;br /&gt;
&lt;br /&gt;
;--referenceEstimates&lt;br /&gt;
: ON by default. If ON, Minimac4 expects the input M3VCF file comes with parameter estimate; otherwise, a genetic map file for option &amp;lt;code&amp;gt;--mapFile&amp;lt;/code&amp;gt; is required.&lt;br /&gt;
&lt;br /&gt;
;--mapFile &amp;lt;input_genetic_map_file&amp;gt;&lt;br /&gt;
: This option is automatically ignored except when &amp;lt;code&amp;gt;--referenceEstimates&amp;lt;/code&amp;gt; is OFF. &lt;br /&gt;
: It defines the genetic map file used for recombination rate estimation during imputation. &lt;br /&gt;
: The input genetic map file should be tab-separated, with the first row as its header, and the columns representing chromosome id, base pair position, cumulative recombination rate in cM/Mb, and genetic map coordinates in cM, respectively.&lt;br /&gt;
&lt;br /&gt;
== Target Haplotypes ==&lt;br /&gt;
;--haps &amp;lt;input_vcf_filename&amp;gt;&lt;br /&gt;
: This option defines the &amp;lt;u&amp;gt;pre-phased&amp;lt;/u&amp;gt; target genotype data in VCF format to impute.&lt;br /&gt;
&lt;br /&gt;
== Output Parameters ==&lt;br /&gt;
; --prefix &amp;lt;output_prefix&amp;gt;&lt;br /&gt;
: This option defines the output filename prefix for all files generated by Minimac4. &lt;br /&gt;
: If this option is omitted, all output files will have the prefix &amp;quot;Minimac4.Output&amp;quot; in the current working directory.&lt;br /&gt;
&lt;br /&gt;
; --estimate&lt;br /&gt;
: DEACTIVATED for now. This option is equivalent to the option &amp;lt;code&amp;gt;--processReference&amp;lt;/code&amp;gt; in [[Minimac3 Usage|Minimac3]]. &lt;br /&gt;
&lt;br /&gt;
; --nobgzip&lt;br /&gt;
: OFF by default. If ON, output files will be NOT bgzipped.&lt;br /&gt;
&lt;br /&gt;
; --vcfBuffer&lt;br /&gt;
: This option defines the maximum number of samples in the target genotype data to be imputed at a time. By default, it is set as 200, or the total number of samples, whichever is smaller.&lt;br /&gt;
: Note that the larger the value is, the more memory Minimac4 will consume.&lt;br /&gt;
&lt;br /&gt;
; --format&lt;br /&gt;
: This option specifies which fields to output for the FORMAT field in output imputed VCF file. Available handles are &amp;lt;code&amp;gt;GT&amp;lt;/code&amp;gt;,&amp;lt;code&amp;gt;DS&amp;lt;/code&amp;gt;,&amp;lt;code&amp;gt;HDS&amp;lt;/code&amp;gt;,&amp;lt;code&amp;gt;GP&amp;lt;/code&amp;gt;,&amp;lt;code&amp;gt;SD&amp;lt;/code&amp;gt;. Default setting is &amp;lt;code&amp;gt;GT,DS&amp;lt;/code&amp;gt;.&lt;br /&gt;
:* &#039;&#039;&#039;GT&#039;&#039;&#039; - Estimated most likely genotype.&lt;br /&gt;
:* &#039;&#039;&#039;DS&#039;&#039;&#039; - Estimated alternate allele dosage [P(0/1)+2*P(1/1)].&lt;br /&gt;
:* &#039;&#039;&#039;HDS&#039;&#039;&#039; - Estimated phased haploid alternate allele dosage. &lt;br /&gt;
:* &#039;&#039;&#039;GP&#039;&#039;&#039; - Estimated Posterior Genotype Probabilities P(0/0), P(0/1) and P(1/1).&lt;br /&gt;
:* &#039;&#039;&#039;SD&#039;&#039;&#039; - Estimated Variance of Posterior Genotype Probabilities.&lt;br /&gt;
&lt;br /&gt;
;--allTypedSites&lt;br /&gt;
: OFF by default. If ON, Minimac4 will also include variants that were genotyped but NOT in the reference panel in the output files (and imputes any missing data in such variants to the major allele frequency).&lt;br /&gt;
&lt;br /&gt;
;--meta&lt;br /&gt;
: OFF by default. If ON, Minimac4 will generate a separate file that can be used by [[MetaMinimac2|MetaMinimac2]] for meta-imputation.&lt;br /&gt;
&lt;br /&gt;
;--memUsage&lt;br /&gt;
: OFF by default. If ON, Minimac4 will not perform imputation. Instead, it will estimate memory that imputation would consume based on a single chunk.&lt;br /&gt;
&lt;br /&gt;
== Chunking Parameters ==&lt;br /&gt;
Minimac4 automatically chunks the whole chromosome (into overlapping chunks), analyzes each chunk sequentially and then concatenates the imputed chunks back.&lt;br /&gt;
&lt;br /&gt;
;--ChunkLengthMb &amp;lt;float_number&amp;gt;&lt;br /&gt;
: This option defines the average length of chunks in units of million base pairs (Mb). The input value should be within (0.001, 300]. The default setting is 20.&lt;br /&gt;
&lt;br /&gt;
;--ChunkOverlapMb &amp;lt;float_number&amp;gt;&lt;br /&gt;
: This option defines the length of overlap between chunks in units of Mb, 3Mb by default. The valid input value should be within (0.001, 300]. &lt;br /&gt;
: The overlap length should be at most 1/3 of the chunk length, if larger, Minimac4 will automatically reduce it to 1/3 of the chunk length.&lt;br /&gt;
&lt;br /&gt;
== Subset Parameters ==&lt;br /&gt;
The subset parameters are required if the user wishes to impute into a particular region of the chromosome rather than the whole chromosome (typically used when running imputation in chunks). If using the subset parameters, a default window of additional 500 Kbp is applied on either side as the buffer region, unless otherwise specified by the user. Variants from the buffer region are only used for imputation and not reported in the final output.&lt;br /&gt;
For example, to analyze chromosome 6 from position 1000000 to position 2000000 with 300000 base positions on either side as a buffer, one must use &amp;lt;code&amp;gt;--chr 6 --from 1000000 --to 2000000 --window 300000&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
; --chr &amp;lt;chromosome&amp;gt;&lt;br /&gt;
: This option specifies the chromosome number for which we will carry out imputation.&lt;br /&gt;
: Note that it is required to specify non-zero values for &amp;lt;code&amp;gt;--start&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;--end&amp;lt;/code&amp;gt; when &amp;lt;code&amp;gt;--chr&amp;lt;/code&amp;gt; option is used.&lt;br /&gt;
&lt;br /&gt;
; --start &amp;lt;integer&amp;gt;&lt;br /&gt;
: This option specifies the start position of the region to be analyzed. Would not work without &amp;lt;code&amp;gt;--chr&amp;lt;/code&amp;gt; option.&lt;br /&gt;
&lt;br /&gt;
; --end &amp;lt;integer&amp;gt;&lt;br /&gt;
: This option specifies the end position of the region to be analyzed. Would not work without &amp;lt;code&amp;gt;--chr&amp;lt;/code&amp;gt; option.&lt;br /&gt;
&lt;br /&gt;
; --window &amp;lt;integer&amp;gt;&lt;br /&gt;
: This option specifies the length of buffer region in units of base pairs on either side of the region to be analyzed. Would not work without &amp;lt;code&amp;gt;--chr&amp;lt;/code&amp;gt; option; otherwise, it is set as 500000 by default.&lt;br /&gt;
&lt;br /&gt;
== Approximation Parameters ==&lt;br /&gt;
;--minimac3&lt;br /&gt;
: OFF by default. If ON, Minimac3 algorithm will be used for imputation.&lt;br /&gt;
&lt;br /&gt;
;--probThreshold &amp;lt;float_number&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;--diffThreshold &amp;lt;float_number&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;--topThreshold &amp;lt;float_number&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==  Other Parameters ==&lt;br /&gt;
; --log&lt;br /&gt;
: OFF by default. If ON, information including warnings and errors will be saved into &amp;lt;output_prefix&amp;gt;.logfile, instead printed on the screen.&lt;br /&gt;
&lt;br /&gt;
; --help &lt;br /&gt;
: If ON, it will show the list of all available options.&lt;br /&gt;
&lt;br /&gt;
;--cpus &amp;lt;integer&amp;gt;&lt;br /&gt;
: This option defines the number of cpus for parallel computing, 1 by default.&lt;br /&gt;
&lt;br /&gt;
== PhoneHome ==&lt;br /&gt;
This option (by default) sends a message to a University of Michigan database about the success/failure of the analysis run (and as to what kind of failure had occurred, if so). No information about the data, file or file-name is sent back. User should use the handle &amp;lt;code&amp;gt;--noPhoneHome&amp;lt;/code&amp;gt; to opt out from this option or should use &amp;lt;code&amp;gt;--phoneHomeThinning 50&amp;lt;/code&amp;gt; to send back a message with 50% chance (typically used when running lots of command lines).&lt;br /&gt;
&lt;br /&gt;
;--noPhoneHome &lt;br /&gt;
: OFF by default. If ON, code will NOT send a SUCCESS/FAILURE status of the execution to home server.&lt;br /&gt;
&lt;br /&gt;
;--phoneHomeThinning &amp;lt;integer&amp;gt;&lt;br /&gt;
: Percentage probability of sending SUCCESS/FAILURE status of the execution to home server, 50 by default.&lt;/div&gt;</summary>
		<author><name>Yukt</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Minimac4_Documentation&amp;diff=15121</id>
		<title>Minimac4 Documentation</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Minimac4_Documentation&amp;diff=15121"/>
		<updated>2019-07-20T02:27:47Z</updated>

		<summary type="html">&lt;p&gt;Yukt: /* PhoneHome */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A typical Minimac4 command line would have the following parameter options:&lt;br /&gt;
&lt;br /&gt;
       Reference Haplotypes : --refHaps [], --passOnly, --rsid,&lt;br /&gt;
                              --referenceEstimates [ON],&lt;br /&gt;
                              --mapFile [docs/geneticMapFile.b38.map.txt.gz]&lt;br /&gt;
          Target Haplotypes : --haps []&lt;br /&gt;
          Output Parameters : --prefix [Minimac4.Output], --estimate,&lt;br /&gt;
                              --nobgzip, --vcfBuffer [200], --format [GT,DS],&lt;br /&gt;
                              --allTypedSites, --meta, --memUsage&lt;br /&gt;
        Chunking Parameters : --ChunkLengthMb [20.00], --ChunkOverlapMb [3.00]&lt;br /&gt;
          Subset Parameters : --chr [], --start, --end, --window&lt;br /&gt;
   Approximation Parameters : --minimac3, --probThreshold [0.01],&lt;br /&gt;
                              --diffThreshold [0.01], --topThreshold [0.01]&lt;br /&gt;
           Other Parameters : --log, --help, --cpus [1], --params&lt;br /&gt;
                  PhoneHome : --noPhoneHome, --phoneHomeThinning [50]&lt;br /&gt;
&lt;br /&gt;
Among all, &#039;&#039;&#039;--refHaps&#039;&#039;&#039; and &#039;&#039;&#039;--haps&#039;&#039;&#039; are required.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Reference Haplotypes ==&lt;br /&gt;
;--refHaps &amp;lt;input_m3vcf_filename&amp;gt;&lt;br /&gt;
: This option defines the reference panel in M3VCF format to impute against. &lt;br /&gt;
: If your reference panel is in VCF format, please use [[Minimac3]] to convert the VCF file to M3VCF (along with parameter estimation) and then use that M3VCF for imputation using Minimac4.&lt;br /&gt;
&lt;br /&gt;
; --passOnly &lt;br /&gt;
:  DEACTIVATED for now. OFF by default. If ON, only variants will FILTER=PASS will be recorded from reference VCF file (does NOT work on M3VCF files yet). &lt;br /&gt;
&lt;br /&gt;
;--rsid&lt;br /&gt;
: OFF by default. If ON, Minimac4 will only import RS ID of variants from ID column of reference file (if available).&lt;br /&gt;
&lt;br /&gt;
;--referenceEstimates&lt;br /&gt;
: ON by default. If ON, Minimac4 expects the input M3VCF file comes with parameter estimate; otherwise, a genetic map file for option &amp;lt;code&amp;gt;--mapFile&amp;lt;/code&amp;gt; is required.&lt;br /&gt;
&lt;br /&gt;
;--mapFile &amp;lt;input_genetic_map_file&amp;gt;&lt;br /&gt;
: This option is automatically ignored except when &amp;lt;code&amp;gt;--referenceEstimates&amp;lt;/code&amp;gt; is OFF. &lt;br /&gt;
: It defines the genetic map file used for recombination rate estimation during imputation. &lt;br /&gt;
: The input genetic map file should be tab-separated, with the first row as its header, and the columns representing chromosome id, base pair position, cumulative recombination rate in cM/Mb, and genetic map coordinates in cM, respectively.&lt;br /&gt;
&lt;br /&gt;
== Target Haplotypes ==&lt;br /&gt;
;--haps &amp;lt;input_vcf_filename&amp;gt;&lt;br /&gt;
: This option defines the &amp;lt;u&amp;gt;pre-phased&amp;lt;/u&amp;gt; target genotype data in VCF format to impute.&lt;br /&gt;
&lt;br /&gt;
== Output Parameters ==&lt;br /&gt;
; --prefix &amp;lt;output_prefix&amp;gt;&lt;br /&gt;
: This option defines the output filename prefix for all files generated by Minimac4. &lt;br /&gt;
: If this option is omitted, all output files will have the prefix &amp;quot;Minimac4.Output&amp;quot; in the current working directory.&lt;br /&gt;
&lt;br /&gt;
; --estimate&lt;br /&gt;
: DEACTIVATED for now. This option is equivalent to the option &amp;lt;code&amp;gt;--processReference&amp;lt;/code&amp;gt; in [[Minimac3 Usage|Minimac3]]. &lt;br /&gt;
&lt;br /&gt;
; --nobgzip&lt;br /&gt;
: OFF by default. If ON, output files will be NOT bgzipped.&lt;br /&gt;
&lt;br /&gt;
; --vcfBuffer&lt;br /&gt;
: This option defines the maximum number of samples in the target genotype data to be imputed at a time. By default, it is set as 200, or the total number of samples, whichever is smaller.&lt;br /&gt;
: Note that the larger the value is, the more memory Minimac4 will consume.&lt;br /&gt;
&lt;br /&gt;
; --format&lt;br /&gt;
: This option specifies which fields to output for the FORMAT field in output imputed VCF file. Available handles are &amp;lt;code&amp;gt;GT&amp;lt;/code&amp;gt;,&amp;lt;code&amp;gt;DS&amp;lt;/code&amp;gt;,&amp;lt;code&amp;gt;HDS&amp;lt;/code&amp;gt;,&amp;lt;code&amp;gt;GP&amp;lt;/code&amp;gt;,&amp;lt;code&amp;gt;SD&amp;lt;/code&amp;gt;. Default setting is &amp;lt;code&amp;gt;GT,DS&amp;lt;/code&amp;gt;.&lt;br /&gt;
:* &#039;&#039;&#039;GT&#039;&#039;&#039; - Estimated most likely genotype.&lt;br /&gt;
:* &#039;&#039;&#039;DS&#039;&#039;&#039; - Estimated alternate allele dosage [P(0/1)+2*P(1/1)].&lt;br /&gt;
:* &#039;&#039;&#039;HDS&#039;&#039;&#039; - Estimated phased haploid alternate allele dosage. &lt;br /&gt;
:* &#039;&#039;&#039;GP&#039;&#039;&#039; - Estimated Posterior Genotype Probabilities P(0/0), P(0/1) and P(1/1).&lt;br /&gt;
:* &#039;&#039;&#039;SD&#039;&#039;&#039; - Estimated Variance of Posterior Genotype Probabilities.&lt;br /&gt;
&lt;br /&gt;
;--allTypedSites&lt;br /&gt;
: OFF by default. If ON, Minimac4 will also include variants that were genotyped but NOT in the reference panel in the output files (and imputes any missing data in such variants to the major allele frequency).&lt;br /&gt;
&lt;br /&gt;
;--meta&lt;br /&gt;
: OFF by default. If ON, Minimac4 will generate a separate file that can be used by [[MetaMinimac2|MetaMinimac2]] for meta-imputation.&lt;br /&gt;
&lt;br /&gt;
;--memUsage&lt;br /&gt;
: OFF by default. If ON, Minimac4 will not perform imputation. Instead, it will estimate memory that imputation would consume based on a single chunk.&lt;br /&gt;
&lt;br /&gt;
== Chunking Parameters ==&lt;br /&gt;
Minimac4 automatically chunks the whole chromosome (into overlapping chunks), analyzes each chunk sequentially and then concatenates the imputed chunks back.&lt;br /&gt;
&lt;br /&gt;
;--ChunkLengthMb &amp;lt;float_number&amp;gt;&lt;br /&gt;
: This option defines the average length of chunks in units of million base pairs (Mb). The input value should be within (0.001, 300]. The default setting is 20.&lt;br /&gt;
&lt;br /&gt;
;--ChunkOverlapMb &amp;lt;float_number&amp;gt;&lt;br /&gt;
: This option defines the length of overlap between chunks in units of Mb, 3Mb by default. The valid input value should be within (0.001, 300]. &lt;br /&gt;
: The overlap length should be at most 1/3 of the chunk length, if larger, Minimac4 will automatically reduce it to 1/3 of the chunk length.&lt;br /&gt;
&lt;br /&gt;
== Subset Parameters ==&lt;br /&gt;
The subset parameters are required if the user wishes to impute into a particular region of the chromosome rather than the whole chromosome (typically used when running imputation in chunks). If using the subset parameters, a default window of additional 500 Kbp is applied on either side as the buffer region, unless otherwise specified by the user. Variants from the buffer region are only used for imputation and not reported in the final output.&lt;br /&gt;
For example, to analyze chromosome 6 from position 1000000 to position 2000000 with 300000 base positions on either side as a buffer, one must use &amp;lt;code&amp;gt;--chr 6 --from 1000000 --to 2000000 --window 300000&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
; --chr &amp;lt;chromosome&amp;gt;&lt;br /&gt;
: This option specifies the chromosome number for which we will carry out imputation.&lt;br /&gt;
: Note that it is required to specify non-zero values for &amp;lt;code&amp;gt;--start&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;--end&amp;lt;/code&amp;gt; when &amp;lt;code&amp;gt;--chr&amp;lt;/code&amp;gt; option is used.&lt;br /&gt;
&lt;br /&gt;
; --start &amp;lt;integer&amp;gt;&lt;br /&gt;
: This option specifies the start position of the region to be analyzed. Would not work without &amp;lt;code&amp;gt;--chr&amp;lt;/code&amp;gt; option.&lt;br /&gt;
&lt;br /&gt;
; --end &amp;lt;integer&amp;gt;&lt;br /&gt;
: This option specifies the end position of the region to be analyzed. Would not work without &amp;lt;code&amp;gt;--chr&amp;lt;/code&amp;gt; option.&lt;br /&gt;
&lt;br /&gt;
; --window &amp;lt;integer&amp;gt;&lt;br /&gt;
: This option specifies the length of buffer region in units of base pairs on either side of the region to be analyzed. Would not work without &amp;lt;code&amp;gt;--chr&amp;lt;/code&amp;gt; option; otherwise, it is set as 500000 by default.&lt;br /&gt;
&lt;br /&gt;
== Approximation Parameters ==&lt;br /&gt;
;--minimac3&lt;br /&gt;
: OFF by default. If ON, Minimac3 algorithm will be used for imputation.&lt;br /&gt;
&lt;br /&gt;
;--probThreshold &amp;lt;float_number&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;--diffThreshold &amp;lt;float_number&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;--topThreshold &amp;lt;float_number&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==  Other Parameters ==&lt;br /&gt;
; --log&lt;br /&gt;
: OFF by default. If ON, information including warnings and errors will be saved into &amp;lt;output_prefix&amp;gt;.logfile, instead printed on the screen.&lt;br /&gt;
&lt;br /&gt;
; --help &lt;br /&gt;
: If ON, it will show the list of all available options.&lt;br /&gt;
&lt;br /&gt;
;--cpus &amp;lt;integer&amp;gt;&lt;br /&gt;
: This option defines the number of cpus for parallel computing, 1 by default.&lt;br /&gt;
&lt;br /&gt;
== PhoneHome ==&lt;br /&gt;
This option (by default) sends a message to a University of Michigan database about the success/failure of the analysis run (and as to what kind of failure had occurred, if so). No information about the data, file or file-name is sent back. User should use the handle &amp;lt;code&amp;gt;--noPhoneHome&amp;lt;/code&amp;gt; to opt out from this option or should use &amp;lt;code&amp;gt;--phoneHomeThinning 50&amp;lt;/code&amp;gt; to send back a message with 50% chance (typically used when running lots of command lines).&lt;br /&gt;
&lt;br /&gt;
;--noPhoneHome &lt;br /&gt;
: OFF by default. If ON, code will NOT send a SUCCESS/FAILURE status of the execution to home server.&lt;br /&gt;
&lt;br /&gt;
;--phoneHomeThinning &amp;lt;integer&amp;gt;&lt;br /&gt;
: Percentage probability of sending SUCCESS/FAILURE status of the execution to home server, 50 by default.&lt;/div&gt;</summary>
		<author><name>Yukt</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Minimac4_Documentation&amp;diff=15120</id>
		<title>Minimac4 Documentation</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Minimac4_Documentation&amp;diff=15120"/>
		<updated>2019-07-20T02:25:42Z</updated>

		<summary type="html">&lt;p&gt;Yukt: /* Subset Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A typical Minimac4 command line would have the following parameter options:&lt;br /&gt;
&lt;br /&gt;
       Reference Haplotypes : --refHaps [], --passOnly, --rsid,&lt;br /&gt;
                              --referenceEstimates [ON],&lt;br /&gt;
                              --mapFile [docs/geneticMapFile.b38.map.txt.gz]&lt;br /&gt;
          Target Haplotypes : --haps []&lt;br /&gt;
          Output Parameters : --prefix [Minimac4.Output], --estimate,&lt;br /&gt;
                              --nobgzip, --vcfBuffer [200], --format [GT,DS],&lt;br /&gt;
                              --allTypedSites, --meta, --memUsage&lt;br /&gt;
        Chunking Parameters : --ChunkLengthMb [20.00], --ChunkOverlapMb [3.00]&lt;br /&gt;
          Subset Parameters : --chr [], --start, --end, --window&lt;br /&gt;
   Approximation Parameters : --minimac3, --probThreshold [0.01],&lt;br /&gt;
                              --diffThreshold [0.01], --topThreshold [0.01]&lt;br /&gt;
           Other Parameters : --log, --help, --cpus [1], --params&lt;br /&gt;
                  PhoneHome : --noPhoneHome, --phoneHomeThinning [50]&lt;br /&gt;
&lt;br /&gt;
Among all, &#039;&#039;&#039;--refHaps&#039;&#039;&#039; and &#039;&#039;&#039;--haps&#039;&#039;&#039; are required.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Reference Haplotypes ==&lt;br /&gt;
;--refHaps &amp;lt;input_m3vcf_filename&amp;gt;&lt;br /&gt;
: This option defines the reference panel in M3VCF format to impute against. &lt;br /&gt;
: If your reference panel is in VCF format, please use [[Minimac3]] to convert the VCF file to M3VCF (along with parameter estimation) and then use that M3VCF for imputation using Minimac4.&lt;br /&gt;
&lt;br /&gt;
; --passOnly &lt;br /&gt;
:  DEACTIVATED for now. OFF by default. If ON, only variants will FILTER=PASS will be recorded from reference VCF file (does NOT work on M3VCF files yet). &lt;br /&gt;
&lt;br /&gt;
;--rsid&lt;br /&gt;
: OFF by default. If ON, Minimac4 will only import RS ID of variants from ID column of reference file (if available).&lt;br /&gt;
&lt;br /&gt;
;--referenceEstimates&lt;br /&gt;
: ON by default. If ON, Minimac4 expects the input M3VCF file comes with parameter estimate; otherwise, a genetic map file for option &amp;lt;code&amp;gt;--mapFile&amp;lt;/code&amp;gt; is required.&lt;br /&gt;
&lt;br /&gt;
;--mapFile &amp;lt;input_genetic_map_file&amp;gt;&lt;br /&gt;
: This option is automatically ignored except when &amp;lt;code&amp;gt;--referenceEstimates&amp;lt;/code&amp;gt; is OFF. &lt;br /&gt;
: It defines the genetic map file used for recombination rate estimation during imputation. &lt;br /&gt;
: The input genetic map file should be tab-separated, with the first row as its header, and the columns representing chromosome id, base pair position, cumulative recombination rate in cM/Mb, and genetic map coordinates in cM, respectively.&lt;br /&gt;
&lt;br /&gt;
== Target Haplotypes ==&lt;br /&gt;
;--haps &amp;lt;input_vcf_filename&amp;gt;&lt;br /&gt;
: This option defines the &amp;lt;u&amp;gt;pre-phased&amp;lt;/u&amp;gt; target genotype data in VCF format to impute.&lt;br /&gt;
&lt;br /&gt;
== Output Parameters ==&lt;br /&gt;
; --prefix &amp;lt;output_prefix&amp;gt;&lt;br /&gt;
: This option defines the output filename prefix for all files generated by Minimac4. &lt;br /&gt;
: If this option is omitted, all output files will have the prefix &amp;quot;Minimac4.Output&amp;quot; in the current working directory.&lt;br /&gt;
&lt;br /&gt;
; --estimate&lt;br /&gt;
: DEACTIVATED for now. This option is equivalent to the option &amp;lt;code&amp;gt;--processReference&amp;lt;/code&amp;gt; in [[Minimac3 Usage|Minimac3]]. &lt;br /&gt;
&lt;br /&gt;
; --nobgzip&lt;br /&gt;
: OFF by default. If ON, output files will be NOT bgzipped.&lt;br /&gt;
&lt;br /&gt;
; --vcfBuffer&lt;br /&gt;
: This option defines the maximum number of samples in the target genotype data to be imputed at a time. By default, it is set as 200, or the total number of samples, whichever is smaller.&lt;br /&gt;
: Note that the larger the value is, the more memory Minimac4 will consume.&lt;br /&gt;
&lt;br /&gt;
; --format&lt;br /&gt;
: This option specifies which fields to output for the FORMAT field in output imputed VCF file. Available handles are &amp;lt;code&amp;gt;GT&amp;lt;/code&amp;gt;,&amp;lt;code&amp;gt;DS&amp;lt;/code&amp;gt;,&amp;lt;code&amp;gt;HDS&amp;lt;/code&amp;gt;,&amp;lt;code&amp;gt;GP&amp;lt;/code&amp;gt;,&amp;lt;code&amp;gt;SD&amp;lt;/code&amp;gt;. Default setting is &amp;lt;code&amp;gt;GT,DS&amp;lt;/code&amp;gt;.&lt;br /&gt;
:* &#039;&#039;&#039;GT&#039;&#039;&#039; - Estimated most likely genotype.&lt;br /&gt;
:* &#039;&#039;&#039;DS&#039;&#039;&#039; - Estimated alternate allele dosage [P(0/1)+2*P(1/1)].&lt;br /&gt;
:* &#039;&#039;&#039;HDS&#039;&#039;&#039; - Estimated phased haploid alternate allele dosage. &lt;br /&gt;
:* &#039;&#039;&#039;GP&#039;&#039;&#039; - Estimated Posterior Genotype Probabilities P(0/0), P(0/1) and P(1/1).&lt;br /&gt;
:* &#039;&#039;&#039;SD&#039;&#039;&#039; - Estimated Variance of Posterior Genotype Probabilities.&lt;br /&gt;
&lt;br /&gt;
;--allTypedSites&lt;br /&gt;
: OFF by default. If ON, Minimac4 will also include variants that were genotyped but NOT in the reference panel in the output files (and imputes any missing data in such variants to the major allele frequency).&lt;br /&gt;
&lt;br /&gt;
;--meta&lt;br /&gt;
: OFF by default. If ON, Minimac4 will generate a separate file that can be used by [[MetaMinimac2|MetaMinimac2]] for meta-imputation.&lt;br /&gt;
&lt;br /&gt;
;--memUsage&lt;br /&gt;
: OFF by default. If ON, Minimac4 will not perform imputation. Instead, it will estimate memory that imputation would consume based on a single chunk.&lt;br /&gt;
&lt;br /&gt;
== Chunking Parameters ==&lt;br /&gt;
Minimac4 automatically chunks the whole chromosome (into overlapping chunks), analyzes each chunk sequentially and then concatenates the imputed chunks back.&lt;br /&gt;
&lt;br /&gt;
;--ChunkLengthMb &amp;lt;float_number&amp;gt;&lt;br /&gt;
: This option defines the average length of chunks in units of million base pairs (Mb). The input value should be within (0.001, 300]. The default setting is 20.&lt;br /&gt;
&lt;br /&gt;
;--ChunkOverlapMb &amp;lt;float_number&amp;gt;&lt;br /&gt;
: This option defines the length of overlap between chunks in units of Mb, 3Mb by default. The valid input value should be within (0.001, 300]. &lt;br /&gt;
: The overlap length should be at most 1/3 of the chunk length, if larger, Minimac4 will automatically reduce it to 1/3 of the chunk length.&lt;br /&gt;
&lt;br /&gt;
== Subset Parameters ==&lt;br /&gt;
The subset parameters are required if the user wishes to impute into a particular region of the chromosome rather than the whole chromosome (typically used when running imputation in chunks). If using the subset parameters, a default window of additional 500 Kbp is applied on either side as the buffer region, unless otherwise specified by the user. Variants from the buffer region are only used for imputation and not reported in the final output.&lt;br /&gt;
For example, to analyze chromosome 6 from position 1000000 to position 2000000 with 300000 base positions on either side as a buffer, one must use &amp;lt;code&amp;gt;--chr 6 --from 1000000 --to 2000000 --window 300000&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
; --chr &amp;lt;chromosome&amp;gt;&lt;br /&gt;
: This option specifies the chromosome number for which we will carry out imputation.&lt;br /&gt;
: Note that it is required to specify non-zero values for &amp;lt;code&amp;gt;--start&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;--end&amp;lt;/code&amp;gt; when &amp;lt;code&amp;gt;--chr&amp;lt;/code&amp;gt; option is used.&lt;br /&gt;
&lt;br /&gt;
; --start &amp;lt;integer&amp;gt;&lt;br /&gt;
: This option specifies the start position of the region to be analyzed. Would not work without &amp;lt;code&amp;gt;--chr&amp;lt;/code&amp;gt; option.&lt;br /&gt;
&lt;br /&gt;
; --end &amp;lt;integer&amp;gt;&lt;br /&gt;
: This option specifies the end position of the region to be analyzed. Would not work without &amp;lt;code&amp;gt;--chr&amp;lt;/code&amp;gt; option.&lt;br /&gt;
&lt;br /&gt;
; --window &amp;lt;integer&amp;gt;&lt;br /&gt;
: This option specifies the length of buffer region in units of base pairs on either side of the region to be analyzed. Would not work without &amp;lt;code&amp;gt;--chr&amp;lt;/code&amp;gt; option; otherwise, it is set as 500000 by default.&lt;br /&gt;
&lt;br /&gt;
== Approximation Parameters ==&lt;br /&gt;
;--minimac3&lt;br /&gt;
: OFF by default. If ON, Minimac3 algorithm will be used for imputation.&lt;br /&gt;
&lt;br /&gt;
;--probThreshold &amp;lt;float_number&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;--diffThreshold &amp;lt;float_number&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;--topThreshold &amp;lt;float_number&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==  Other Parameters ==&lt;br /&gt;
; --log&lt;br /&gt;
: OFF by default. If ON, information including warnings and errors will be saved into &amp;lt;output_prefix&amp;gt;.logfile, instead printed on the screen.&lt;br /&gt;
&lt;br /&gt;
; --help &lt;br /&gt;
: If ON, it will show the list of all available options.&lt;br /&gt;
&lt;br /&gt;
;--cpus &amp;lt;integer&amp;gt;&lt;br /&gt;
: This option defines the number of cpus for parallel computing, 1 by default.&lt;br /&gt;
&lt;br /&gt;
== PhoneHome ==&lt;br /&gt;
;--noPhoneHome &lt;br /&gt;
: OFF by default. If ON, code will NOT send a SUCCESS/FAILURE status of the execution to home server.&lt;br /&gt;
&lt;br /&gt;
;--phoneHomeThinning &amp;lt;integer&amp;gt;&lt;br /&gt;
: Percentage probability of sending SUCCESS/FAILURE status of the execution to home server, 50 by default.&lt;/div&gt;</summary>
		<author><name>Yukt</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Minimac4_Documentation&amp;diff=15119</id>
		<title>Minimac4 Documentation</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Minimac4_Documentation&amp;diff=15119"/>
		<updated>2019-07-20T02:15:52Z</updated>

		<summary type="html">&lt;p&gt;Yukt: Almost done.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A typical Minimac4 command line would have the following parameter options:&lt;br /&gt;
&lt;br /&gt;
       Reference Haplotypes : --refHaps [], --passOnly, --rsid,&lt;br /&gt;
                              --referenceEstimates [ON],&lt;br /&gt;
                              --mapFile [docs/geneticMapFile.b38.map.txt.gz]&lt;br /&gt;
          Target Haplotypes : --haps []&lt;br /&gt;
          Output Parameters : --prefix [Minimac4.Output], --estimate,&lt;br /&gt;
                              --nobgzip, --vcfBuffer [200], --format [GT,DS],&lt;br /&gt;
                              --allTypedSites, --meta, --memUsage&lt;br /&gt;
        Chunking Parameters : --ChunkLengthMb [20.00], --ChunkOverlapMb [3.00]&lt;br /&gt;
          Subset Parameters : --chr [], --start, --end, --window&lt;br /&gt;
   Approximation Parameters : --minimac3, --probThreshold [0.01],&lt;br /&gt;
                              --diffThreshold [0.01], --topThreshold [0.01]&lt;br /&gt;
           Other Parameters : --log, --help, --cpus [1], --params&lt;br /&gt;
                  PhoneHome : --noPhoneHome, --phoneHomeThinning [50]&lt;br /&gt;
&lt;br /&gt;
Among all, &#039;&#039;&#039;--refHaps&#039;&#039;&#039; and &#039;&#039;&#039;--haps&#039;&#039;&#039; are required.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Reference Haplotypes ==&lt;br /&gt;
;--refHaps &amp;lt;input_m3vcf_filename&amp;gt;&lt;br /&gt;
: This option defines the reference panel in M3VCF format to impute against. &lt;br /&gt;
: If your reference panel is in VCF format, please use [[Minimac3]] to convert the VCF file to M3VCF (along with parameter estimation) and then use that M3VCF for imputation using Minimac4.&lt;br /&gt;
&lt;br /&gt;
; --passOnly &lt;br /&gt;
:  DEACTIVATED for now. OFF by default. If ON, only variants will FILTER=PASS will be recorded from reference VCF file (does NOT work on M3VCF files yet). &lt;br /&gt;
&lt;br /&gt;
;--rsid&lt;br /&gt;
: OFF by default. If ON, Minimac4 will only import RS ID of variants from ID column of reference file (if available).&lt;br /&gt;
&lt;br /&gt;
;--referenceEstimates&lt;br /&gt;
: ON by default. If ON, Minimac4 expects the input M3VCF file comes with parameter estimate; otherwise, a genetic map file for option &amp;lt;code&amp;gt;--mapFile&amp;lt;/code&amp;gt; is required.&lt;br /&gt;
&lt;br /&gt;
;--mapFile &amp;lt;input_genetic_map_file&amp;gt;&lt;br /&gt;
: This option is automatically ignored except when &amp;lt;code&amp;gt;--referenceEstimates&amp;lt;/code&amp;gt; is OFF. &lt;br /&gt;
: It defines the genetic map file used for recombination rate estimation during imputation. &lt;br /&gt;
: The input genetic map file should be tab-separated, with the first row as its header, and the columns representing chromosome id, base pair position, cumulative recombination rate in cM/Mb, and genetic map coordinates in cM, respectively.&lt;br /&gt;
&lt;br /&gt;
== Target Haplotypes ==&lt;br /&gt;
;--haps &amp;lt;input_vcf_filename&amp;gt;&lt;br /&gt;
: This option defines the &amp;lt;u&amp;gt;pre-phased&amp;lt;/u&amp;gt; target genotype data in VCF format to impute.&lt;br /&gt;
&lt;br /&gt;
== Output Parameters ==&lt;br /&gt;
; --prefix &amp;lt;output_prefix&amp;gt;&lt;br /&gt;
: This option defines the output filename prefix for all files generated by Minimac4. &lt;br /&gt;
: If this option is omitted, all output files will have the prefix &amp;quot;Minimac4.Output&amp;quot; in the current working directory.&lt;br /&gt;
&lt;br /&gt;
; --estimate&lt;br /&gt;
: DEACTIVATED for now. This option is equivalent to the option &amp;lt;code&amp;gt;--processReference&amp;lt;/code&amp;gt; in [[Minimac3 Usage|Minimac3]]. &lt;br /&gt;
&lt;br /&gt;
; --nobgzip&lt;br /&gt;
: OFF by default. If ON, output files will be NOT bgzipped.&lt;br /&gt;
&lt;br /&gt;
; --vcfBuffer&lt;br /&gt;
: This option defines the maximum number of samples in the target genotype data to be imputed at a time. By default, it is set as 200, or the total number of samples, whichever is smaller.&lt;br /&gt;
: Note that the larger the value is, the more memory Minimac4 will consume.&lt;br /&gt;
&lt;br /&gt;
; --format&lt;br /&gt;
: This option specifies which fields to output for the FORMAT field in output imputed VCF file. Available handles are &amp;lt;code&amp;gt;GT&amp;lt;/code&amp;gt;,&amp;lt;code&amp;gt;DS&amp;lt;/code&amp;gt;,&amp;lt;code&amp;gt;HDS&amp;lt;/code&amp;gt;,&amp;lt;code&amp;gt;GP&amp;lt;/code&amp;gt;,&amp;lt;code&amp;gt;SD&amp;lt;/code&amp;gt;. Default setting is &amp;lt;code&amp;gt;GT,DS&amp;lt;/code&amp;gt;.&lt;br /&gt;
:* &#039;&#039;&#039;GT&#039;&#039;&#039; - Estimated most likely genotype.&lt;br /&gt;
:* &#039;&#039;&#039;DS&#039;&#039;&#039; - Estimated alternate allele dosage [P(0/1)+2*P(1/1)].&lt;br /&gt;
:* &#039;&#039;&#039;HDS&#039;&#039;&#039; - Estimated phased haploid alternate allele dosage. &lt;br /&gt;
:* &#039;&#039;&#039;GP&#039;&#039;&#039; - Estimated Posterior Genotype Probabilities P(0/0), P(0/1) and P(1/1).&lt;br /&gt;
:* &#039;&#039;&#039;SD&#039;&#039;&#039; - Estimated Variance of Posterior Genotype Probabilities.&lt;br /&gt;
&lt;br /&gt;
;--allTypedSites&lt;br /&gt;
: OFF by default. If ON, Minimac4 will also include variants that were genotyped but NOT in the reference panel in the output files (and imputes any missing data in such variants to the major allele frequency).&lt;br /&gt;
&lt;br /&gt;
;--meta&lt;br /&gt;
: OFF by default. If ON, Minimac4 will generate a separate file that can be used by [[MetaMinimac2|MetaMinimac2]] for meta-imputation.&lt;br /&gt;
&lt;br /&gt;
;--memUsage&lt;br /&gt;
: OFF by default. If ON, Minimac4 will not perform imputation. Instead, it will estimate memory that imputation would consume based on a single chunk.&lt;br /&gt;
&lt;br /&gt;
== Chunking Parameters ==&lt;br /&gt;
Minimac4 automatically chunks the whole chromosome (into overlapping chunks), analyzes each chunk sequentially and then concatenates the imputed chunks back.&lt;br /&gt;
&lt;br /&gt;
;--ChunkLengthMb &amp;lt;float_number&amp;gt;&lt;br /&gt;
: This option defines the average length of chunks in units of million base pairs (Mb). The input value should be within (0.001, 300]. The default setting is 20.&lt;br /&gt;
&lt;br /&gt;
;--ChunkOverlapMb &amp;lt;float_number&amp;gt;&lt;br /&gt;
: This option defines the length of overlap between chunks in units of Mb, 3Mb by default. The valid input value should be within (0.001, 300]. &lt;br /&gt;
: The overlap length should be at most 1/3 of the chunk length, if larger, Minimac4 will automatically reduce it to 1/3 of the chunk length.&lt;br /&gt;
&lt;br /&gt;
== Subset Parameters ==&lt;br /&gt;
This set of parameters are used when imputing a specific region instead of all the sites covered by the reference panel.&lt;br /&gt;
&lt;br /&gt;
; --chr &amp;lt;chromosome&amp;gt;&lt;br /&gt;
: This option specifies the chromosome number for which we will carry out imputation.&lt;br /&gt;
: Note that it is required to specify non-zero values for &amp;lt;code&amp;gt;--start&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;--end&amp;lt;/code&amp;gt; when &amp;lt;code&amp;gt;--chr&amp;lt;/code&amp;gt; option is used.&lt;br /&gt;
&lt;br /&gt;
; --start &amp;lt;integer&amp;gt;&lt;br /&gt;
: This option specifies the start position of the region to be analyzed. Would not work without &amp;lt;code&amp;gt;--chr&amp;lt;/code&amp;gt; option.&lt;br /&gt;
&lt;br /&gt;
; --end &amp;lt;integer&amp;gt;&lt;br /&gt;
: This option specifies the end position of the region to be analyzed. Would not work without &amp;lt;code&amp;gt;--chr&amp;lt;/code&amp;gt; option.&lt;br /&gt;
&lt;br /&gt;
; --window &amp;lt;integer&amp;gt;&lt;br /&gt;
: This option specifies the length of buffer region in units of base pairs on either side of the region to be analyzed. Would not work without &amp;lt;code&amp;gt;--chr&amp;lt;/code&amp;gt; option; otherwise, it is set as 500000 by default.&lt;br /&gt;
&lt;br /&gt;
== Approximation Parameters ==&lt;br /&gt;
;--minimac3&lt;br /&gt;
: OFF by default. If ON, Minimac3 algorithm will be used for imputation.&lt;br /&gt;
&lt;br /&gt;
;--probThreshold &amp;lt;float_number&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;--diffThreshold &amp;lt;float_number&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;--topThreshold &amp;lt;float_number&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==  Other Parameters ==&lt;br /&gt;
; --log&lt;br /&gt;
: OFF by default. If ON, information including warnings and errors will be saved into &amp;lt;output_prefix&amp;gt;.logfile, instead printed on the screen.&lt;br /&gt;
&lt;br /&gt;
; --help &lt;br /&gt;
: If ON, it will show the list of all available options.&lt;br /&gt;
&lt;br /&gt;
;--cpus &amp;lt;integer&amp;gt;&lt;br /&gt;
: This option defines the number of cpus for parallel computing, 1 by default.&lt;br /&gt;
&lt;br /&gt;
== PhoneHome ==&lt;br /&gt;
;--noPhoneHome &lt;br /&gt;
: OFF by default. If ON, code will NOT send a SUCCESS/FAILURE status of the execution to home server.&lt;br /&gt;
&lt;br /&gt;
;--phoneHomeThinning &amp;lt;integer&amp;gt;&lt;br /&gt;
: Percentage probability of sending SUCCESS/FAILURE status of the execution to home server, 50 by default.&lt;/div&gt;</summary>
		<author><name>Yukt</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Minimac4_Documentation&amp;diff=15118</id>
		<title>Minimac4 Documentation</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Minimac4_Documentation&amp;diff=15118"/>
		<updated>2019-07-17T00:50:33Z</updated>

		<summary type="html">&lt;p&gt;Yukt: Add output options&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A typical Minimac4 command line would have the following parameter options:&lt;br /&gt;
&lt;br /&gt;
       Reference Haplotypes : --refHaps [], --passOnly, --rsid,&lt;br /&gt;
                              --referenceEstimates [ON],&lt;br /&gt;
                              --mapFile [docs/geneticMapFile.b38.map.txt.gz]&lt;br /&gt;
          Target Haplotypes : --haps []&lt;br /&gt;
          Output Parameters : --prefix [Minimac4.Output], --estimate,&lt;br /&gt;
                              --nobgzip, --vcfBuffer [200], --format [GT,DS],&lt;br /&gt;
                              --allTypedSites, --meta, --memUsage&lt;br /&gt;
        Chunking Parameters : --ChunkLengthMb [20.00], --ChunkOverlapMb [3.00]&lt;br /&gt;
          Subset Parameters : --chr [], --start, --end, --window&lt;br /&gt;
   Approximation Parameters : --minimac3, --probThreshold [0.01],&lt;br /&gt;
                              --diffThreshold [0.01], --topThreshold [0.01]&lt;br /&gt;
           Other Parameters : --log, --help, --cpus [1], --params&lt;br /&gt;
                  PhoneHome : --noPhoneHome, --phoneHomeThinning [50]&lt;br /&gt;
&lt;br /&gt;
Among all, &#039;&#039;&#039;--refHaps&#039;&#039;&#039; and &#039;&#039;&#039;--haps&#039;&#039;&#039; are required.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Reference Haplotypes ==&lt;br /&gt;
;--refHaps &amp;lt;input_m3vcf_filename&amp;gt;&lt;br /&gt;
: This option defines the reference panel in M3VCF format to impute against. &lt;br /&gt;
: If your reference panel is in VCF format, please use [[Minimac3]] to convert the VCF file to M3VCF (along with parameter estimation) and then use that M3VCF for imputation using Minimac4.&lt;br /&gt;
&lt;br /&gt;
; --passOnly &lt;br /&gt;
:  DEACTIVATED for now. OFF by default. If ON, only variants will FILTER=PASS will be recorded from reference VCF file (does NOT work on M3VCF files yet). &lt;br /&gt;
&lt;br /&gt;
;--rsid&lt;br /&gt;
: OFF by default. If ON, Minimac4 will only import RS ID of variants from ID column of reference file (if available).&lt;br /&gt;
&lt;br /&gt;
;--referenceEstimates&lt;br /&gt;
: ON by default. If ON, Minimac4 expects the input M3VCF file comes with parameter estimate; otherwise, a genetic map file for option &amp;lt;code&amp;gt;--mapFile&amp;lt;/code&amp;gt; is required.&lt;br /&gt;
&lt;br /&gt;
;--mapFile &amp;lt;input_genetic_map_file&amp;gt;&lt;br /&gt;
: This option is automatically ignored except when &amp;lt;code&amp;gt;--referenceEstimates&amp;lt;/code&amp;gt; is OFF. &lt;br /&gt;
: It defines the genetic map file used for recombination rate estimation during imputation. &lt;br /&gt;
: The input genetic map file should be tab-separated, with the first row as its header, and the columns representing chromosome id, base pair position, cumulative recombination rate in cM/Mb, and genetic map coordinates in cM, respectively.&lt;br /&gt;
&lt;br /&gt;
== Target Haplotypes ==&lt;br /&gt;
;--haps &amp;lt;input_vcf_filename&amp;gt;&lt;br /&gt;
: This option defines the &amp;lt;u&amp;gt;pre-phased&amp;lt;/u&amp;gt; target genotype data in VCF format to impute.&lt;br /&gt;
&lt;br /&gt;
== Output Parameters ==&lt;br /&gt;
; --prefix &amp;lt;output_prefix&amp;gt;&lt;br /&gt;
: This option defines the output filename prefix for all files generated by Minimac4. &lt;br /&gt;
: If this option is omitted, all output files will have the prefix &amp;quot;Minimac4.Output&amp;quot; in the current working directory.&lt;br /&gt;
&lt;br /&gt;
; --estimate&lt;br /&gt;
: DEACTIVATED for now. This option is equivalent to the option &amp;lt;code&amp;gt;--processReference&amp;lt;/code&amp;gt; in [[Minimac3 Usage|Minimac3]]. &lt;br /&gt;
&lt;br /&gt;
; --nobgzip&lt;br /&gt;
: OFF by default. If ON, output files will be NOT bgzipped.&lt;br /&gt;
&lt;br /&gt;
; --vcfBuffer&lt;br /&gt;
: This option defines the maximum number of samples in the target genotype data to be imputed at a time. By default, it is set as 200, or the total number of samples, whichever is smaller.&lt;br /&gt;
: Note that the larger the value is, the more memory Minimac4 will consume.&lt;br /&gt;
&lt;br /&gt;
; --format&lt;br /&gt;
: This option specifies which fields to output for the FORMAT field in output imputed VCF file. Available handles are &amp;lt;code&amp;gt;GT&amp;lt;/code&amp;gt;,&amp;lt;code&amp;gt;DS&amp;lt;/code&amp;gt;,&amp;lt;code&amp;gt;HDS&amp;lt;/code&amp;gt;,&amp;lt;code&amp;gt;GP&amp;lt;/code&amp;gt;,&amp;lt;code&amp;gt;SD&amp;lt;/code&amp;gt;. Default setting is &amp;lt;code&amp;gt;GT,DS&amp;lt;/code&amp;gt;.&lt;br /&gt;
:* &#039;&#039;&#039;GT&#039;&#039;&#039; - Estimated most likely genotype.&lt;br /&gt;
:* &#039;&#039;&#039;DS&#039;&#039;&#039; - Estimated alternate allele dosage [P(0/1)+2*P(1/1)].&lt;br /&gt;
:* &#039;&#039;&#039;HDS&#039;&#039;&#039; - Estimated phased haploid alternate allele dosage. &lt;br /&gt;
:* &#039;&#039;&#039;GP&#039;&#039;&#039; - Estimated Posterior Genotype Probabilities P(0/0), P(0/1) and P(1/1).&lt;br /&gt;
:* &#039;&#039;&#039;SD&#039;&#039;&#039; - Estimated Variance of Posterior Genotype Probabilities.&lt;br /&gt;
&lt;br /&gt;
;--allTypedSites&lt;br /&gt;
: OFF by default. If ON, Minimac4 will also include variants that were genotyped but NOT in the reference panel in the output files (and imputes any missing data in such variants to the major allele frequency).&lt;br /&gt;
&lt;br /&gt;
;--meta&lt;br /&gt;
: OFF by default. If ON, Minimac4 will generate a separate file that can be used by [[MetaMinimac2|MetaMinimac2]] for meta-imputation.&lt;br /&gt;
&lt;br /&gt;
;--memUsage&lt;br /&gt;
: OFF by default. If ON, Minimac4 will not perform imputation. Instead, it will estimate memory that imputation would consume based on a single chunk.&lt;br /&gt;
&lt;br /&gt;
== Chunking Parameters ==&lt;br /&gt;
&lt;br /&gt;
== Subset Parameters ==&lt;br /&gt;
&lt;br /&gt;
== Approximation Parameters ==&lt;br /&gt;
&lt;br /&gt;
==  Other Parameters ==&lt;br /&gt;
&lt;br /&gt;
== PhoneHome ==&lt;/div&gt;</summary>
		<author><name>Yukt</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=15117</id>
		<title>Minimac4</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=15117"/>
		<updated>2019-07-16T22:30:35Z</updated>

		<summary type="html">&lt;p&gt;Yukt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Minimac4 &#039;&#039;&#039; is a latest version in the series of genotype imputation software - preceded by [[Minimac3|Minimac3]] (2015), [[Minimac2|Minimac2]] (2014), [[Minimac|minimac]] (2012) and [[MaCH|MaCH]] (2010). &#039;&#039;&#039;Minimac4&#039;&#039;&#039; is a lower memory and more computationally efficient implementation of the original algorithms with comparable imputation quality.&lt;br /&gt;
&lt;br /&gt;
The Minimac3 mailing list has been renamed as the Minimac4 mailing list. If you were already a member, no need to re-join. If not, please join our [https://groups.google.com/forum/embed/?place=forum/minimac4-help&amp;amp;umich.edu| mailing list] to get updates about future releases or report possible bugs or email them to [mailto:yukt@umich.edu  Ketian Yu] or [mailto:sayantan@umich.edu Sayantan Das].&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Download =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Minimac4 (version 1.0.0, released 2.14.2018)&#039;&#039;&#039; is currently available on [https://github.com/Santy-8128/Minimac4 Minimac4 Github]. Please follow the instructions in the GitHub repository for installation.&lt;br /&gt;
&lt;br /&gt;
Commonly used reference panels in &amp;lt;font face=Courier&amp;gt;M3VCF&amp;lt;/font&amp;gt; format are available for download in [[#Reference Panels for Download | Reference Panels]]. &lt;br /&gt;
&lt;br /&gt;
= What&#039;s New =&lt;br /&gt;
&lt;br /&gt;
The input file format, output file formats and typical command lines are the same in Minimac4 (as they were in minimac3). Some of the main new features are summarized below:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Improved Speed - &#039;&#039;&#039; Minimac4 is approximately &#039;&#039;&#039;6 times&#039;&#039;&#039; faster for 1000 Genomes Phase 1 and Phase 3 and &#039;&#039;&#039;2 times&#039;&#039;&#039; faster for the HRC reference panels at comparable accuracy (details of accuracy for imputing into 10 European samples are given here). The speed can be further improved by tuning the approximation parameters (see below), but we recommend using the default values.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Automated Chunking - &#039;&#039;&#039; Minimac4 automatically chunks the whole chromosome (into overlapping chunks), analyzes each chunk sequentially and then concatenates the imputed chunks back. This caps the memory usage across different chromosomes (memory requirement is based on chunk size, not chromosome size). The length of the chunk and the overlap can be controlled by the &amp;lt;code&amp;gt;--chunkLengthMb&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;--chunkLengthOverlapMb&amp;lt;/code&amp;gt; options, although we recommend using the default values of 20 and 3, respectively. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Approximations - &#039;&#039;&#039; Minimac4 uses some simple approximations to speed up the imputation analyses. The levels of approximation can be controlled by the parameters &amp;lt;code&amp;gt;--probThreshold&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--diffThreshold&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;--topThreshold&amp;lt;/code&amp;gt; (details given in Minimac4 Usage). Higher levels of approximation will reduce the compute time but marginally reduce the imputation accuracy. We recommend using the default values (0.01).&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Improved Chromosome X/Y Support - &#039;&#039;&#039; Minimac4 can handle different ploidys in the same VCF file for imputation of sex chromosomes. For example, for the non-PAR region on chromosome X, males and females can be imputed together, irrespective of whether males are coded as haploids or diploids. However, each sample must have a fixed ploidy. Thus, PAR and non-PAR regions still need to be imputed separately. Please see Chromosome X Imputation for more details.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Other Helpful Features&#039;&#039;&#039;&lt;br /&gt;
** We introduced a new feature called &amp;lt;code&amp;gt;--memUsage&amp;lt;/code&amp;gt; that will estimate and report the memory required by Minimac4. This feature should be useful for users running their jobs on a compute cluster that requires memory specification.&lt;br /&gt;
** We introduced some other FORMAT options for the output dosage data, allowing users to retrieve haplotype dosages, genotype probabilities, genotype dosages or any other measure of summary that they want.&lt;br /&gt;
** We have fixed the bug related to FILTER=GENOTYPED and FILTER=GENOTYPED_ONLY which was causing a crash in bcftools.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Obsolete Features&#039;&#039;&#039;&lt;br /&gt;
** In Minimac4, we removed the &amp;lt;code&amp;gt;--doseOutput&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;--hapOutput&amp;lt;/code&amp;gt; options. Please use [[DosageConvertor]] to convert your files to MaCH or PLINK dosage format.&lt;br /&gt;
** Currently Minimac4 can ONLY handle M3VCF format files. If your reference panel is in VCF format, please use [[Minimac3]] to convert the VCF file to M3VCF (along with parameter estimation) and then use that M3VCF for imputation using Minimac4. The same holds for the option &amp;lt;code&amp;gt;--processReference&amp;lt;/code&amp;gt; as well. Although the handle is made available, we will implement it in a later version.&lt;br /&gt;
** Parameters such as &amp;lt;code&amp;gt;--rounds&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--states&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--rec&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--err&amp;lt;/code&amp;gt; have been deactivated for now until we implement parameter estimation in minimac4.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The easiest way to install Minimac4 and its dependencies is to use the install.sh file provided.&lt;br /&gt;
 git clone &amp;lt;nowiki&amp;gt;https://github.com/statgen/Minimac4.git&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 cd Minimac4&lt;br /&gt;
 bash install.sh&lt;br /&gt;
&lt;br /&gt;
A typical Minimac4 command line for imputation is as follows&lt;br /&gt;
&lt;br /&gt;
 minimac4 --refHaps refPanel.m3vcf \&lt;br /&gt;
          --haps targetStudy.vcf \&lt;br /&gt;
          --prefix testRun&lt;br /&gt;
&lt;br /&gt;
Here &amp;lt;font face=Courier&amp;gt;refPanel.m3vcf&amp;lt;/font&amp;gt; is the reference panel used in M3VCF format (e.g. 1000 Genomes),  &amp;lt;font face=Courier&amp;gt;targetStudy.vcf&amp;lt;/font&amp;gt; is the phased GWAS data in VCF format, and  &amp;lt;font face=Courier&amp;gt;testRun&amp;lt;/font&amp;gt; is the prefix for the output files.&lt;br /&gt;
 &lt;br /&gt;
Users can always type the following for further support:&lt;br /&gt;
 minimac4 --help&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Please see [[Minimac4 Documentation | Minimac4 Documentation]] for detailed explanation of all available options.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Reference Panels for Download = &lt;br /&gt;
&lt;br /&gt;
Some commonly used reference panels are available for download here:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|- bgcolor=&amp;quot;lightgray&amp;quot;&lt;br /&gt;
! width=&amp;quot;150px&amp;quot; |Reference Panel&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; |Number &amp;lt;br&amp;gt; of Samples&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; |File Format&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; |Parameter &amp;lt;br&amp;gt;  Estimates &amp;lt;br&amp;gt; Available&lt;br /&gt;
! width=&amp;quot;120px&amp;quot; |Chromosomes&lt;br /&gt;
! width=&amp;quot;80px&amp;quot; |Link&lt;br /&gt;
|- &lt;br /&gt;
| rowspan=4 | &#039;&#039;&#039;1000 Genomes&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Phase 3&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
(version 5)&lt;br /&gt;
| rowspan=4  style=&amp;quot;text-align:center&amp;quot; | &#039;&#039;&#039;2,504&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039; &lt;br /&gt;
| -&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P3_VCF_Files.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P3_VCF_Files.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| rowspan=2  style=&amp;quot;text-align:center&amp;quot; | &#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| 1-22,X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_WITH_ESTIMATES.tar.gz Download] &amp;lt;!-- [ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_WITH_ESTIMATES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
|NO&lt;br /&gt;
| 1-22,X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_NO_ESTIMATES.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_NO_ESTIMATES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039;,&#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P3_CHR_X_VCF_M3VCF_FILES.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P3_CHR_X_VCF_M3VCF_FILES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| rowspan=4 |  &#039;&#039;&#039;1000 Genomes&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Phase 1&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
(version 3)&lt;br /&gt;
| rowspan=4  | &#039;&#039;&#039;1,092&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039; &lt;br /&gt;
| -&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P1_VCF_Files.tar.gz Download]&lt;br /&gt;
|- &lt;br /&gt;
|  rowspan=2  style=&amp;quot;text-align:center&amp;quot; | &#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P1_M3VCF_FILES_WITH_ESTIMATES.tar.gz Download]&lt;br /&gt;
|- &lt;br /&gt;
| NO&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P1_M3VCF_FILES_NO_ESTIMATES.tar.gz Download]&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039;,&#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P1_CHR_X_VCF_M3VCF_FILES.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P1_CHR_X_VCF_M3VCF_FILES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Yukt</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Minimac4_Documentation&amp;diff=15116</id>
		<title>Minimac4 Documentation</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Minimac4_Documentation&amp;diff=15116"/>
		<updated>2019-07-16T22:29:21Z</updated>

		<summary type="html">&lt;p&gt;Yukt: half done&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A typical Minimac4 command line would have the following parameter options:&lt;br /&gt;
&lt;br /&gt;
       Reference Haplotypes : --refHaps [], --passOnly, --rsid,&lt;br /&gt;
                              --referenceEstimates [ON],&lt;br /&gt;
                              --mapFile [docs/geneticMapFile.b38.map.txt.gz]&lt;br /&gt;
          Target Haplotypes : --haps []&lt;br /&gt;
          Output Parameters : --prefix [Minimac4.Output], --estimate,&lt;br /&gt;
                              --nobgzip, --vcfBuffer [200], --format [GT,DS],&lt;br /&gt;
                              --allTypedSites, --meta, --memUsage&lt;br /&gt;
        Chunking Parameters : --ChunkLengthMb [20.00], --ChunkOverlapMb [3.00]&lt;br /&gt;
          Subset Parameters : --chr [], --start, --end, --window&lt;br /&gt;
   Approximation Parameters : --minimac3, --probThreshold [0.01],&lt;br /&gt;
                              --diffThreshold [0.01], --topThreshold [0.01]&lt;br /&gt;
           Other Parameters : --log, --help, --cpus [1], --params&lt;br /&gt;
                  PhoneHome : --noPhoneHome, --phoneHomeThinning [50]&lt;br /&gt;
&lt;br /&gt;
Among all, &#039;&#039;&#039;--refHaps&#039;&#039;&#039; and &#039;&#039;&#039;--haps&#039;&#039;&#039; are required.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Reference Haplotypes ==&lt;br /&gt;
;--refHaps &amp;lt;input_m3vcf_filename&amp;gt;&lt;br /&gt;
: This option defines the reference panel in M3VCF format to impute against. &lt;br /&gt;
: If your reference panel is in VCF format, please use [[Minimac3]] to convert the VCF file to M3VCF (along with parameter estimation) and then use that M3VCF for imputation using Minimac4.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;s&amp;gt;--passOnly&amp;lt;/s&amp;gt;&lt;br /&gt;
: &amp;lt;s&amp;gt;DEACTIVATED! If ON, only variants will FILTER=PASS will be recorded from reference VCF file (does NOT work on M3VCF files yet).&amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;--rsid&lt;br /&gt;
: If ON, Minimac4 will only import RS ID of variants from ID column of reference file (if available).&lt;br /&gt;
&lt;br /&gt;
;--referenceEstimates&lt;br /&gt;
: ON by default. If ON, Minimac4 expects the input M3VCF file comes with parameter estimate; otherwise, a genetic map file for option &amp;lt;code&amp;gt;--mapFile&amp;lt;/code&amp;gt; is required.&lt;br /&gt;
&lt;br /&gt;
;--mapFile &amp;lt;input_genetic_map_file&amp;gt;&lt;br /&gt;
: This option is automatically ignored except when &amp;lt;code&amp;gt;--referenceEstimates&amp;lt;/code&amp;gt; is OFF. &lt;br /&gt;
: It defines the genetic map file used for recombination rate estimation during imputation. &lt;br /&gt;
: The input genetic map file should be tab-separated, with 1st column as chromosome id, 3rd column as cumulative recombination rate in cM/Mb, and 4th as genetic map coordinates in cM.&lt;br /&gt;
&lt;br /&gt;
== Target Haplotypes ==&lt;br /&gt;
;--haps &amp;lt;input_vcf_filename&amp;gt;&lt;br /&gt;
: This option defines the &amp;lt;u&amp;gt;pre-phased&amp;lt;/u&amp;gt; target genotype data in VCF format to impute.&lt;br /&gt;
&lt;br /&gt;
== Output Parameters ==&lt;br /&gt;
&lt;br /&gt;
== Chunking Parameters ==&lt;br /&gt;
&lt;br /&gt;
== Subset Parameters ==&lt;br /&gt;
&lt;br /&gt;
== Approximation Parameters ==&lt;br /&gt;
&lt;br /&gt;
==  Other Parameters ==&lt;br /&gt;
&lt;br /&gt;
== PhoneHome ==&lt;/div&gt;</summary>
		<author><name>Yukt</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=15115</id>
		<title>Minimac4</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=15115"/>
		<updated>2019-07-16T21:13:33Z</updated>

		<summary type="html">&lt;p&gt;Yukt: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Minimac4 &#039;&#039;&#039; is a latest version in the series of genotype imputation software - preceded by [[Minimac3|Minimac3]] (2015), [[Minimac2|Minimac2]] (2014), [[Minimac|minimac]] (2012) and [[MaCH|MaCH]] (2010). &#039;&#039;&#039;Minimac4&#039;&#039;&#039; is a lower memory and more computationally efficient implementation of the original algorithms with comparable imputation quality.&lt;br /&gt;
&lt;br /&gt;
The Minimac3 mailing list has been renamed as the Minimac4 mailing list. If you were already a member, no need to re-join. If not, please join our [https://groups.google.com/forum/embed/?place=forum/minimac4-help&amp;amp;umich.edu| mailing list] to get updates about future releases or report possible bugs or email them to [mailto:yukt@umich.edu  Ketian Yu] or [mailto:sayantan@umich.edu Sayantan Das].&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Download =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Minimac4 (version 1.0.0, released 2.14.2018)&#039;&#039;&#039; is currently available on [https://github.com/Santy-8128/Minimac4 Minimac4 Github]. Please follow the instructions in the GitHub repository for installation.&lt;br /&gt;
&lt;br /&gt;
Commonly used reference panels in &amp;lt;font face=Courier&amp;gt;M3VCF&amp;lt;/font&amp;gt; format are available for download in [[#Reference Panels for Download | Reference Panels]]. &lt;br /&gt;
&lt;br /&gt;
= What&#039;s New =&lt;br /&gt;
&lt;br /&gt;
The input file format, output file formats and typical command lines are the same in Minimac4 (as they were in minimac3). Some of the main new features are summarized below:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Improved Speed - &#039;&#039;&#039; Minimac4 is approximately &#039;&#039;&#039;6 times&#039;&#039;&#039; faster for 1000 Genomes Phase 1 and Phase 3 and &#039;&#039;&#039;2 times&#039;&#039;&#039; faster for the HRC reference panels at comparable accuracy (details of accuracy for imputing into 10 European samples are given here). The speed can be further improved by tuning the approximation parameters (see below), but we recommend using the default values.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Automated Chunking - &#039;&#039;&#039; Minimac4 automatically chunks the whole chromosome (into overlapping chunks), analyzes each chunk sequentially and then concatenates the imputed chunks back. This caps the memory usage across different chromosomes (memory requirement is based on chunk size, not chromosome size). The length of the chunk and the overlap can be controlled by the &amp;lt;code&amp;gt;--chunkLengthMb&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;--chunkLengthOverlapMb&amp;lt;/code&amp;gt; options, although we recommend using the default values of 20 and 3, respectively. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Approximations - &#039;&#039;&#039; Minimac4 uses some simple approximations to speed up the imputation analyses. The levels of approximation can be controlled by the parameters &amp;lt;code&amp;gt;--probThreshold&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--diffThreshold&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;--topThreshold&amp;lt;/code&amp;gt; (details given in Minimac4 Usage). Higher levels of approximation will reduce the compute time but marginally reduce the imputation accuracy. We recommend using the default values (0.01).&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Improved Chromosome X/Y Support - &#039;&#039;&#039; Minimac4 can handle different ploidys in the same VCF file for imputation of sex chromosomes. For example, for the non-PAR region on chromosome X, males and females can be imputed together, irrespective of whether males are coded as haploids or diploids. However, each sample must have a fixed ploidy. Thus, PAR and non-PAR regions still need to be imputed separately. Please see Chromosome X Imputation for more details.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Other Helpful Features&#039;&#039;&#039;&lt;br /&gt;
** We introduced a new feature called &amp;lt;code&amp;gt;--memUsage&amp;lt;/code&amp;gt; that will estimate and report the memory required by Minimac4. This feature should be useful for users running their jobs on a compute cluster that requires memory specification.&lt;br /&gt;
** We introduced some other FORMAT options for the output dosage data, allowing users to retrieve haplotype dosages, genotype probabilities, genotype dosages or any other measure of summary that they want.&lt;br /&gt;
** We have fixed the bug related to FILTER=GENOTYPED and FILTER=GENOTYPED_ONLY which was causing a crash in bcftools.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Obsolete Features&#039;&#039;&#039;&lt;br /&gt;
** In Minimac4, we removed the &amp;lt;code&amp;gt;--doseOutput&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;--hapOutput&amp;lt;/code&amp;gt; options. Please use [[DosageConvertor]] to convert your files to MaCH or PLINK dosage format.&lt;br /&gt;
** Currently Minimac4 can ONLY handle M3VCF format files. If your reference panel is in VCF format, please use [[Minimac3]] to convert the VCF file to M3VCF (along with parameter estimation) and then use that M3VCF for imputation using Minimac4. The same holds for the option &amp;lt;code&amp;gt;--processReference&amp;lt;/code&amp;gt; as well. Although the handle is made available, we will implement it in a later version.&lt;br /&gt;
** Parameters such as &amp;lt;code&amp;gt;--rounds&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--states&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--rec&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--err&amp;lt;/code&amp;gt; have been deactivated for now until we implement parameter estimation in minimac4.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The easiest way to install Minimac4 and its dependencies is to use the install.sh file provided.&lt;br /&gt;
 git clone &amp;lt;nowiki&amp;gt;https://github.com/statgen/Minimac4.git&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 cd Minimac4&lt;br /&gt;
 bash install.sh&lt;br /&gt;
&lt;br /&gt;
A typical Minimac4 command line for imputation is as follows&lt;br /&gt;
&lt;br /&gt;
 minimac4 --refHaps refPanel.m3vcf \&lt;br /&gt;
          --haps targetStudy.vcf \&lt;br /&gt;
          --prefix testRun&lt;br /&gt;
&lt;br /&gt;
Here &amp;lt;font face=Courier&amp;gt;refPanel.m3vcf&amp;lt;/font&amp;gt; is the reference panel used in M3VCF format (e.g. 1000 Genomes),  &amp;lt;font face=Courier&amp;gt;targetStudy.vcf&amp;lt;/font&amp;gt; is the phased GWAS data in VCF format, and  &amp;lt;font face=Courier&amp;gt;testRun&amp;lt;/font&amp;gt; is the prefix for the output files.&lt;br /&gt;
 &lt;br /&gt;
Users can always type the following for further support:&lt;br /&gt;
 minimac4 --help&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Please see [[Minimac4 Documentation | Minimac3 Documentation]] for detailed explanation of all available options.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Reference Panels for Download = &lt;br /&gt;
&lt;br /&gt;
Some commonly used reference panels are available for download here:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|- bgcolor=&amp;quot;lightgray&amp;quot;&lt;br /&gt;
! width=&amp;quot;150px&amp;quot; |Reference Panel&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; |Number &amp;lt;br&amp;gt; of Samples&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; |File Format&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; |Parameter &amp;lt;br&amp;gt;  Estimates &amp;lt;br&amp;gt; Available&lt;br /&gt;
! width=&amp;quot;120px&amp;quot; |Chromosomes&lt;br /&gt;
! width=&amp;quot;80px&amp;quot; |Link&lt;br /&gt;
|- &lt;br /&gt;
| rowspan=4 | &#039;&#039;&#039;1000 Genomes&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Phase 3&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
(version 5)&lt;br /&gt;
| rowspan=4  style=&amp;quot;text-align:center&amp;quot; | &#039;&#039;&#039;2,504&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039; &lt;br /&gt;
| -&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P3_VCF_Files.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P3_VCF_Files.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| rowspan=2  style=&amp;quot;text-align:center&amp;quot; | &#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| 1-22,X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_WITH_ESTIMATES.tar.gz Download] &amp;lt;!-- [ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_WITH_ESTIMATES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
|NO&lt;br /&gt;
| 1-22,X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_NO_ESTIMATES.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_NO_ESTIMATES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039;,&#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P3_CHR_X_VCF_M3VCF_FILES.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P3_CHR_X_VCF_M3VCF_FILES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| rowspan=4 |  &#039;&#039;&#039;1000 Genomes&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Phase 1&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
(version 3)&lt;br /&gt;
| rowspan=4  | &#039;&#039;&#039;1,092&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039; &lt;br /&gt;
| -&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P1_VCF_Files.tar.gz Download]&lt;br /&gt;
|- &lt;br /&gt;
|  rowspan=2  style=&amp;quot;text-align:center&amp;quot; | &#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P1_M3VCF_FILES_WITH_ESTIMATES.tar.gz Download]&lt;br /&gt;
|- &lt;br /&gt;
| NO&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P1_M3VCF_FILES_NO_ESTIMATES.tar.gz Download]&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039;,&#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P1_CHR_X_VCF_M3VCF_FILES.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P1_CHR_X_VCF_M3VCF_FILES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Yukt</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=15114</id>
		<title>Minimac4</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=15114"/>
		<updated>2019-07-16T20:52:08Z</updated>

		<summary type="html">&lt;p&gt;Yukt: Usage added. Full documentation will be on a separate page.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Minimac4 &#039;&#039;&#039; is a latest version in the series of genotype imputation software - preceded by [[Minimac3|Minimac3]] (2015), [[Minimac2|Minimac2]] (2014), [[Minimac|minimac]] (2012) and [[MaCH|MaCH]] (2010). &#039;&#039;&#039;Minimac4&#039;&#039;&#039; is a lower memory and more computationally efficient implementation of the original algorithms with comparable imputation quality.&lt;br /&gt;
&lt;br /&gt;
The Minimac3 mailing list has been renamed as the Minimac4 mailing list. If you were already a member, no need to re-join. If not, please join our [https://groups.google.com/forum/embed/?place=forum/minimac4-help&amp;amp;umich.edu| mailing list] to get updates about future releases or report possible bugs or email them to [mailto:yukt@umich.edu  Ketian Yu] or [mailto:sayantan@umich.edu Sayantan Das].&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Download =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Minimac4 (version 1.0.0, released 2.14.2018)&#039;&#039;&#039; is currently available on [https://github.com/Santy-8128/Minimac4 Minimac4 Github]. Please follow the instructions in the GitHub repository for installation.&lt;br /&gt;
&lt;br /&gt;
Commonly used reference panels in &amp;lt;font face=Courier&amp;gt;M3VCF&amp;lt;/font&amp;gt; format are available for download in [[#Reference Panels for Download | Reference Panels]]. &lt;br /&gt;
&lt;br /&gt;
= What&#039;s New =&lt;br /&gt;
&lt;br /&gt;
The input file format, output file formats and typical command lines are the same in Minimac4 (as they were in minimac3). Some of the main new features are summarized below:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Improved Speed - &#039;&#039;&#039; Minimac4 is approximately &#039;&#039;&#039;6 times&#039;&#039;&#039; faster for 1000 Genomes Phase 1 and Phase 3 and &#039;&#039;&#039;2 times&#039;&#039;&#039; faster for the HRC reference panels at comparable accuracy (details of accuracy for imputing into 10 European samples are given here). The speed can be further improved by tuning the approximation parameters (see below), but we recommend using the default values.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Automated Chunking - &#039;&#039;&#039; Minimac4 automatically chunks the whole chromosome (into overlapping chunks), analyzes each chunk sequentially and then concatenates the imputed chunks back. This caps the memory usage across different chromosomes (memory requirement is based on chunk size, not chromosome size). The length of the chunk and the overlap can be controlled by the &amp;lt;code&amp;gt;--chunkLengthMb&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;--chunkLengthOverlapMb&amp;lt;/code&amp;gt; options, although we recommend using the default values of 20 and 3, respectively. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Approximations - &#039;&#039;&#039; Minimac4 uses some simple approximations to speed up the imputation analyses. The levels of approximation can be controlled by the parameters &amp;lt;code&amp;gt;--probThreshold&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--diffThreshold&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;--topThreshold&amp;lt;/code&amp;gt; (details given in Minimac4 Usage). Higher levels of approximation will reduce the compute time but marginally reduce the imputation accuracy. We recommend using the default values (0.01).&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Improved Chromosome X/Y Support - &#039;&#039;&#039; Minimac4 can handle different ploidys in the same VCF file for imputation of sex chromosomes. For example, for the non-PAR region on chromosome X, males and females can be imputed together, irrespective of whether males are coded as haploids or diploids. However, each sample must have a fixed ploidy. Thus, PAR and non-PAR regions still need to be imputed separately. Please see Chromosome X Imputation for more details.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Other Helpful Features&#039;&#039;&#039;&lt;br /&gt;
** We introduced a new feature called &amp;lt;code&amp;gt;--memUsage&amp;lt;/code&amp;gt; that will estimate and report the memory required by Minimac4. This feature should be useful for users running their jobs on a compute cluster that requires memory specification.&lt;br /&gt;
** We introduced some other FORMAT options for the output dosage data, allowing users to retrieve haplotype dosages, genotype probabilities, genotype dosages or any other measure of summary that they want.&lt;br /&gt;
** We have fixed the bug related to FILTER=GENOTYPED and FILTER=GENOTYPED_ONLY which was causing a crash in bcftools.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Obsolete Features&#039;&#039;&#039;&lt;br /&gt;
** In Minimac4, we removed the &amp;lt;code&amp;gt;--doseOutput&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;--hapOutput&amp;lt;/code&amp;gt; options. Please use [[DosageConvertor]] to convert your files to MaCH or PLINK dosage format.&lt;br /&gt;
** Currently Minimac4 can ONLY handle M3VCF format files. If your reference panel is in VCF format, please use [[Minimac3]] to convert the VCF file to M3VCF (along with parameter estimation) and then use that M3VCF for imputation using Minimac4. The same holds for the option &amp;lt;code&amp;gt;--processReference&amp;lt;/code&amp;gt; as well. Although the handle is made available, we will implement it in a later version.&lt;br /&gt;
** Parameters such as &amp;lt;code&amp;gt;--rounds&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--states&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--rec&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--err&amp;lt;/code&amp;gt; have been deactivated for now until we implement parameter estimation in minimac4.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The easiest way to install Minimac4 and its dependencies is to use the install.sh file provided.&lt;br /&gt;
 git clone &amp;lt;nowiki&amp;gt;https://github.com/statgen/Minimac4.git&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 cd Minimac4&lt;br /&gt;
 bash install.sh&lt;br /&gt;
&lt;br /&gt;
A typical Minimac4 command line for imputation is as follows&lt;br /&gt;
&lt;br /&gt;
 minimac4 --refHaps refPanel.m3vcf \&lt;br /&gt;
          --haps targetStudy.vcf \&lt;br /&gt;
          --prefix testRun&lt;br /&gt;
&lt;br /&gt;
Here &amp;lt;font face=Courier&amp;gt;refPanel.m3vcf&amp;lt;/font&amp;gt; is the reference panel used in M3VCF format (e.g. 1000 Genomes),  &amp;lt;font face=Courier&amp;gt;targetStudy.vcf&amp;lt;/font&amp;gt; is the phased GWAS data in VCF format, and  &amp;lt;font face=Courier&amp;gt;testRun&amp;lt;/font&amp;gt; is the prefix for the output files.&lt;br /&gt;
 &lt;br /&gt;
Users can always type the following for further support:&lt;br /&gt;
 minimac4 --help&lt;br /&gt;
&lt;br /&gt;
= Reference Panels for Download = &lt;br /&gt;
&lt;br /&gt;
Some commonly used reference panels are available for download here:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|- bgcolor=&amp;quot;lightgray&amp;quot;&lt;br /&gt;
! width=&amp;quot;150px&amp;quot; |Reference Panel&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; |Number &amp;lt;br&amp;gt; of Samples&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; |File Format&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; |Parameter &amp;lt;br&amp;gt;  Estimates &amp;lt;br&amp;gt; Available&lt;br /&gt;
! width=&amp;quot;120px&amp;quot; |Chromosomes&lt;br /&gt;
! width=&amp;quot;80px&amp;quot; |Link&lt;br /&gt;
|- &lt;br /&gt;
| rowspan=4 | &#039;&#039;&#039;1000 Genomes&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Phase 3&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
(version 5)&lt;br /&gt;
| rowspan=4  style=&amp;quot;text-align:center&amp;quot; | &#039;&#039;&#039;2,504&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039; &lt;br /&gt;
| -&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P3_VCF_Files.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P3_VCF_Files.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| rowspan=2  style=&amp;quot;text-align:center&amp;quot; | &#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| 1-22,X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_WITH_ESTIMATES.tar.gz Download] &amp;lt;!-- [ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_WITH_ESTIMATES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
|NO&lt;br /&gt;
| 1-22,X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_NO_ESTIMATES.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P3_M3VCF_FILES_NO_ESTIMATES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039;,&#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P3_CHR_X_VCF_M3VCF_FILES.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P3_CHR_X_VCF_M3VCF_FILES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| rowspan=4 |  &#039;&#039;&#039;1000 Genomes&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Phase 1&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
(version 3)&lt;br /&gt;
| rowspan=4  | &#039;&#039;&#039;1,092&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039; &lt;br /&gt;
| -&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P1_VCF_Files.tar.gz Download]&lt;br /&gt;
|- &lt;br /&gt;
|  rowspan=2  style=&amp;quot;text-align:center&amp;quot; | &#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P1_M3VCF_FILES_WITH_ESTIMATES.tar.gz Download]&lt;br /&gt;
|- &lt;br /&gt;
| NO&lt;br /&gt;
| 1-22,X&lt;br /&gt;
| [ftp://share.sph.umich.edu/minimac3/G1K_P1_M3VCF_FILES_NO_ESTIMATES.tar.gz Download]&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;VCF&#039;&#039;&#039;,&#039;&#039;&#039;M3VCF&#039;&#039;&#039;&lt;br /&gt;
| YES&lt;br /&gt;
| X&lt;br /&gt;
|  [ftp://share.sph.umich.edu/minimac3/G1K_P1_CHR_X_VCF_M3VCF_FILES.tar.gz Download] &amp;lt;!--[ftp://share.sph.umich.edu/minimac3/G1K_P1_CHR_X_VCF_M3VCF_FILES.tar.gz Download]--&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Yukt</name></author>
	</entry>
</feed>