<?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=Amkwong</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=Amkwong"/>
	<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/wiki/Special:Contributions/Amkwong"/>
	<updated>2026-09-24T23:00:02Z</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=14809</id>
		<title>Minimac4</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=14809"/>
		<updated>2017-07-12T22:43:38Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: /* What&amp;#039;s New */&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: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.2, updated 6.29.2017)&#039;&#039;&#039; is currently available for testing purposes only (while we still run more tests and wait on feedback about potential bugs). 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;
&#039;&#039;&#039;Github Repo:&#039;&#039;&#039; : [https://github.com/Santy-8128/Minimac4 Minimac4 Github]&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 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;
= 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>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=14808</id>
		<title>Minimac4</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=14808"/>
		<updated>2017-07-12T22:42:33Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: /* What&amp;#039;s New */&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: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.2, updated 6.29.2017)&#039;&#039;&#039; is currently available for testing purposes only (while we still run more tests and wait on feedback about potential bugs). 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;
&#039;&#039;&#039;Github Repo:&#039;&#039;&#039; : [https://github.com/Santy-8128/Minimac4 Minimac4 Github]&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 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;
= 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>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=14807</id>
		<title>Minimac4</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=14807"/>
		<updated>2017-07-12T22:41:49Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: /* What&amp;#039;s New */&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: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.2, updated 6.29.2017)&#039;&#039;&#039; is currently available for testing purposes only (while we still run more tests and wait on feedback about potential bugs). 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;
&#039;&#039;&#039;Github Repo:&#039;&#039;&#039; : [https://github.com/Santy-8128/Minimac4 Minimac4 Github]&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 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 parameter &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;
= 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>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=14806</id>
		<title>Minimac4</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=14806"/>
		<updated>2017-07-12T22:30:21Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: /* What&amp;#039;s New */&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: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.2, updated 6.29.2017)&#039;&#039;&#039; is currently available for testing purposes only (while we still run more tests and wait on feedback about potential bugs). 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;
&#039;&#039;&#039;Github Repo:&#039;&#039;&#039; : [https://github.com/Santy-8128/Minimac4 Minimac4 Github]&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 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 values of approximation will reduce the compute time but also 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 GWAS file for imputation of sex chromosomes. For example, for the non-PAR region on chromosome X, males can imputed together with females, 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. But, males and females need not be separated. Please 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 parameter &amp;lt;code&amp;gt;--memUsage&amp;lt;/code&amp;gt; that will estimate and report the memory required by the imputation experiment. 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 which should be sufficient to enable 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 |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;
= 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>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=14805</id>
		<title>Minimac4</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=14805"/>
		<updated>2017-07-12T22:29:37Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: /* What&amp;#039;s New */&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: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.2, updated 6.29.2017)&#039;&#039;&#039; is currently available for testing purposes only (while we still run more tests and wait on feedback about potential bugs). 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;
&#039;&#039;&#039;Github Repo:&#039;&#039;&#039; : [https://github.com/Santy-8128/Minimac4 Minimac4 Github]&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 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. &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 values of approximation will reduce the compute time but also 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 GWAS file for imputation of sex chromosomes. For example, for the non-PAR region on chromosome X, males can imputed together with females, 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. But, males and females need not be separated. Please 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 parameter &amp;lt;code&amp;gt;--memUsage&amp;lt;/code&amp;gt; that will estimate and report the memory required by the imputation experiment. 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 which should be sufficient to enable 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 |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;
= 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>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=14804</id>
		<title>Minimac4</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=14804"/>
		<updated>2017-07-12T22:28:13Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: /* What&amp;#039;s New */&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: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.2, updated 6.29.2017)&#039;&#039;&#039; is currently available for testing purposes only (while we still run more tests and wait on feedback about potential bugs). 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;
&#039;&#039;&#039;Github Repo:&#039;&#039;&#039; : [https://github.com/Santy-8128/Minimac4 Minimac4 Github]&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 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 (larger chromosomes need the same amount of memory as smaller ones). The length of the chunk and the overlap can be controlled by the &amp;lt;code&amp;gt;--chunkLengthMb 20&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;--chunkLengthOverlapMb 3&amp;lt;/code&amp;gt;, although we recommend using the default values. &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 values of approximation will reduce the compute time but also 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 GWAS file for imputation of sex chromosomes. For example, for the non-PAR region on chromosome X, males can imputed together with females, 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. But, males and females need not be separated. Please 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 parameter &amp;lt;code&amp;gt;--memUsage&amp;lt;/code&amp;gt; that will estimate and report the memory required by the imputation experiment. 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 which should be sufficient to enable 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 |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;
= 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>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=14803</id>
		<title>Minimac4</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Minimac4&amp;diff=14803"/>
		<updated>2017-07-12T22:27:50Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: /* Introduction */&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: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.2, updated 6.29.2017)&#039;&#039;&#039; is currently available for testing purposes only (while we still run more tests and wait on feedback about potential bugs). 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;
&#039;&#039;&#039;Github Repo:&#039;&#039;&#039; : [https://github.com/Santy-8128/Minimac4 Minimac4 Github]&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 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 negligible fall in 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 (larger chromosomes need the same amount of memory as smaller ones). The length of the chunk and the overlap can be controlled by the &amp;lt;code&amp;gt;--chunkLengthMb 20&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;--chunkLengthOverlapMb 3&amp;lt;/code&amp;gt;, although we recommend using the default values. &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 values of approximation will reduce the compute time but also 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 GWAS file for imputation of sex chromosomes. For example, for the non-PAR region on chromosome X, males can imputed together with females, 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. But, males and females need not be separated. Please 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 parameter &amp;lt;code&amp;gt;--memUsage&amp;lt;/code&amp;gt; that will estimate and report the memory required by the imputation experiment. 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 which should be sufficient to enable 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 |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;
= 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>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14788</id>
		<title>DosageConvertor</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14788"/>
		<updated>2017-07-11T23:48:11Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: /* Convert to PLINK Files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
* &#039;&#039;&#039;Download/Re-Clone Release Version 1.0.4 (Updated July 2017) !&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
DosageConvertor is a C++ tool to convert dosage files (in VCF format) from [[Minimac4| Minimac3/4]] to other formats such as MaCH or PLINK.&lt;br /&gt;
&lt;br /&gt;
= Download =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VERSION: 1.0.4 (Updated 7.12.2017) !&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[NOTE: Cloning from GitHub is recommened so that updates can be easily pulled back]&#039;&#039;&#039;&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;
! Description&lt;br /&gt;
! Download Link&lt;br /&gt;
|- &lt;br /&gt;
| Github Repository &lt;br /&gt;
| &lt;br /&gt;
[https://github.com/Santy-8128/DosageConvertor DosageConvertor - Github] &lt;br /&gt;
|- &lt;br /&gt;
| Source Files &lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz  UNIX Users ]&lt;br /&gt;
|- &lt;br /&gt;
| Binary Executable &amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt; &lt;br /&gt;
(Ubuntu 4.8.4)&lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertorExecutable.tar.gz  UNIX Users ]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt;&#039;&#039;&#039; Binary executables are NOT guaranteed to run on every LINUX machine. Please compile from source files if you have trouble with the executable, or clone from the [https://github.com/Santy-8128/DosageConvertor github repository]. Else contact the author [mailto:sayantan@umich.edu Sayantan Das].&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
&lt;br /&gt;
Users should follow the following steps to compile &#039;&#039;&#039;DosageConvertor &#039;&#039;&#039; (if they downloaded the source files).&lt;br /&gt;
&lt;br /&gt;
 ## EXTRACT M3VCFTOOLS AND COMPILE&lt;br /&gt;
 &amp;amp;nbsp;&lt;br /&gt;
 wget ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 tar -xzvf DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 cd DosageConvertor/&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
= Usage=&lt;br /&gt;
== Convert to PLINK Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert a input VCF dosage file to a PLINK dosage file, which can be used for downstream analysis using [https://www.cog-genomics.org/plink2 PLINK1.9] or [https://www.cog-genomics.org/plink/2.0/ PLINK2.0]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info          (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         plink                            (default)&lt;br /&gt;
                           --format       1                                (or 2,3)&lt;br /&gt;
&lt;br /&gt;
This command will create three files :  &amp;lt;code&amp;gt;OutPrefix.plink.dosage.gz&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;OutPrefix.fam&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;OutPrefix.map&amp;lt;/code&amp;gt;. The &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;.map&amp;lt;/code&amp;gt; formats are described [http://zzz.bwh.harvard.edu/plink/data.shtml#map here]. The &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can take values 1, 2, or 3. Each of these values correspond to the three different PLINK dosage file formats (details on PLINK dosage files are given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here]). Note that the generated &amp;lt;code&amp;gt;OutPrefix.map&amp;lt;/code&amp;gt; does NOT contain any phenotype information (which will need to be manually edited before PLINK can perform association tests). The &amp;lt;code&amp;gt;OutPrefix.fam&amp;lt;/code&amp;gt; will NOT contain sex information unless chromosome X is available. See [[#Converting Chromosome X Files | Converting Chromosome X Files]] for details.&lt;br /&gt;
&lt;br /&gt;
== Convert to MaCH Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert an input VCF dosage file to a MaCH/minimac dosage file (the format for previous versions of [[Minimac | minimac]]). The generated dosage files can be tested for association using [http://genome.sph.umich.edu/wiki/Mach2dat:_Association_with_MACH_output mach2dat]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info         (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         mach&lt;br /&gt;
                           --format       1                               (or 2)&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, the &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can only take values 1 or 2. &lt;br /&gt;
&lt;br /&gt;
*If the value is 1, the code generates &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; contains the expected alternate allele count (one value per sample per marker). &lt;br /&gt;
*If the value is 2, it generates &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; contains the genotype likelihoods for reference homozygote and heterozygote (two values per sample per marker). &lt;br /&gt;
&lt;br /&gt;
Note that inputting the info file using &amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt; is optional. However, if this info file is NOT provided, the output &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt; file will have some empty columns. Thus, if available, the generated info file should be provided along with the VCF file as input.&lt;br /&gt;
&lt;br /&gt;
== Converting Chromosome X Files ==&lt;br /&gt;
&lt;br /&gt;
For a minimac3/4 output file containing the pseudo-autosomal region (PAR) on chromosome X, no extra parameter is necessary. For files containing the non-PAR region, please ensure the following:&lt;br /&gt;
&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as diploids&#039;&#039;&#039;, then just add handle &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt;. This will NOT generate sex information in the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file.&lt;br /&gt;
** If you still need the sex column in &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file to be correctly updated, then supply a sex file using &amp;lt;code&amp;gt;--sexFile SomeFile&amp;lt;/code&amp;gt; where &amp;lt;code&amp;gt;SomeFile&amp;lt;/code&amp;gt; has two columns: the first column has the sample names as found in the VCF file, and the second columns has M (for males) or F (for females).&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as haploids&#039;&#039;&#039; and &#039;&#039;&#039;also has GT information&#039;&#039;&#039;, the tool with automatically determine the sex of the samples and report them in the output &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file. No extra parameters are required.&lt;br /&gt;
** If GT tags are NOT available, you would need to supply the sex file as described above. Otherwise it will throw an error.&lt;br /&gt;
** &#039;&#039;&#039;NOTE&#039;&#039;&#039;: If your VCF file has males as haploids, do NOT use &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt; as the code would NOT throw any error, but the output results would be erroneous.&lt;br /&gt;
&lt;br /&gt;
= Command Line Options =&lt;br /&gt;
&lt;br /&gt;
The command options for DosageConvertor are explained below. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;text-align:left&amp;quot;  border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|- bgcolor=&amp;quot;white&amp;quot;&lt;br /&gt;
! Option&lt;br /&gt;
! Description&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--vcfDose&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
mandatory parameter indicating the minimac3/4 VCF dosage file to be converted&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
the info file generated by minimac3/4 at the same time as the VCF dosage file &lt;br /&gt;
&lt;br /&gt;
(This parameter is optional, but if NO info file is provided, the output MaCH info file will have missing columns.)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--prefix&amp;lt;/code&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
sets the prefix for output files (default: &amp;lt;code&amp;gt;Converted.Dosage&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--type&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
sets the output file format (available options: &amp;lt;code&amp;gt;plink&amp;lt;/code&amp;gt; (default) or &amp;lt;code&amp;gt;mach&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--tag&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates the genotype information to import from the input VCF file:&lt;br /&gt;
*&amp;lt;code&amp;gt;DS&amp;lt;/code&amp;gt;: imputed values from dosages (default)&lt;br /&gt;
*&amp;lt;code&amp;gt;GP&amp;lt;/code&amp;gt;: genotype probabilities&lt;br /&gt;
*&amp;lt;code&amp;gt;GT&amp;lt;/code&amp;gt;: hard genotype calls &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
sets the format of the converted output file:&lt;br /&gt;
&lt;br /&gt;
*If &amp;lt;code&amp;gt;--type plink&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1, 2, or 3. &lt;br /&gt;
&lt;br /&gt;
Each of these values correspond to the three different formats available for PLINK dosage files (details given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here])&lt;br /&gt;
*If &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1 or 2. &lt;br /&gt;
&lt;br /&gt;
Details are given in [[#Convert to MaCH Files| Convert to MaCH Files]] &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--buffer&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
sets the number of markers to import at a time (MaCH format only) (default value &amp;lt;code&amp;gt;10000&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--idDelimiter&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates the delimiter character used to split &#039;&#039;&#039;VCF Sample ID&#039;&#039;&#039; into &#039;&#039;&#039;FID&#039;&#039;&#039; and &#039;&#039;&#039;IID&#039;&#039;&#039; for PLINK format (default: &amp;lt;code&amp;gt;_&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates whether to assume all samples are diploid (necessary for chromosome X). &lt;br /&gt;
&lt;br /&gt;
If this option is active, the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; will NOT contain any sex information&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--sexFile&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates a file containing sample sex information, which requires two columns: &lt;br /&gt;
*the first column contains the sample names as found in the VCF file&lt;br /&gt;
*the second columns contains either M (for males) or F (for females)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--TrimAlleles&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates whether to trim alleles and variants IDs to 100 characters&lt;br /&gt;
&lt;br /&gt;
Since PLINK does not allow variant IDs longer than 16,000 characters, this option can be used if variant names are too long.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Contact =&lt;br /&gt;
&lt;br /&gt;
In case of any queries and bugs please contact [mailto:sayantan@umich.edu Sayantan Das].&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14787</id>
		<title>DosageConvertor</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14787"/>
		<updated>2017-07-11T23:47:41Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: /* Convert to PLINK Files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
* &#039;&#039;&#039;Download/Re-Clone Release Version 1.0.4 (Updated July 2017) !&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
DosageConvertor is a C++ tool to convert dosage files (in VCF format) from [[Minimac4| Minimac3/4]] to other formats such as MaCH or PLINK.&lt;br /&gt;
&lt;br /&gt;
= Download =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VERSION: 1.0.4 (Updated 7.12.2017) !&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[NOTE: Cloning from GitHub is recommened so that updates can be easily pulled back]&#039;&#039;&#039;&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;
! Description&lt;br /&gt;
! Download Link&lt;br /&gt;
|- &lt;br /&gt;
| Github Repository &lt;br /&gt;
| &lt;br /&gt;
[https://github.com/Santy-8128/DosageConvertor DosageConvertor - Github] &lt;br /&gt;
|- &lt;br /&gt;
| Source Files &lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz  UNIX Users ]&lt;br /&gt;
|- &lt;br /&gt;
| Binary Executable &amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt; &lt;br /&gt;
(Ubuntu 4.8.4)&lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertorExecutable.tar.gz  UNIX Users ]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt;&#039;&#039;&#039; Binary executables are NOT guaranteed to run on every LINUX machine. Please compile from source files if you have trouble with the executable, or clone from the [https://github.com/Santy-8128/DosageConvertor github repository]. Else contact the author [mailto:sayantan@umich.edu Sayantan Das].&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
&lt;br /&gt;
Users should follow the following steps to compile &#039;&#039;&#039;DosageConvertor &#039;&#039;&#039; (if they downloaded the source files).&lt;br /&gt;
&lt;br /&gt;
 ## EXTRACT M3VCFTOOLS AND COMPILE&lt;br /&gt;
 &amp;amp;nbsp;&lt;br /&gt;
 wget ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 tar -xzvf DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 cd DosageConvertor/&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
= Usage=&lt;br /&gt;
== Convert to PLINK Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert a input VCF dosage file to a PLINK dosage file, which can be used for downstream analysis using [https://www.cog-genomics.org/plink2 PLINK1.9] or [https://www.cog-genomics.org/plink/2.0/ PLINK2.0]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info          (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         plink                            (default)&lt;br /&gt;
                           --format       1                                (or 2,3)&lt;br /&gt;
&lt;br /&gt;
This command will create three files :  &amp;lt;code&amp;gt; OutPrefix.plink.dosage.gz, OutPrefix.fam, OutPrefix.map&amp;lt;/code&amp;gt;. The &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;.map&amp;lt;/code&amp;gt; formats are described [http://zzz.bwh.harvard.edu/plink/data.shtml#map here]. The &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can take values 1, 2, or 3. Each of these values correspond to the three different PLINK dosage file formats (details on PLINK dosage files are given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here]). Note that the generated &amp;lt;code&amp;gt;OutPrefix.map&amp;lt;/code&amp;gt; does NOT contain any phenotype information (which will need to be manually edited before PLINK can perform association tests). The &amp;lt;code&amp;gt;OutPrefix.fam&amp;lt;/code&amp;gt; will NOT contain sex information unless chromosome X is available. See [[#Converting Chromosome X Files | Converting Chromosome X Files]] for details.&lt;br /&gt;
&lt;br /&gt;
== Convert to MaCH Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert an input VCF dosage file to a MaCH/minimac dosage file (the format for previous versions of [[Minimac | minimac]]). The generated dosage files can be tested for association using [http://genome.sph.umich.edu/wiki/Mach2dat:_Association_with_MACH_output mach2dat]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info         (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         mach&lt;br /&gt;
                           --format       1                               (or 2)&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, the &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can only take values 1 or 2. &lt;br /&gt;
&lt;br /&gt;
*If the value is 1, the code generates &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; contains the expected alternate allele count (one value per sample per marker). &lt;br /&gt;
*If the value is 2, it generates &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; contains the genotype likelihoods for reference homozygote and heterozygote (two values per sample per marker). &lt;br /&gt;
&lt;br /&gt;
Note that inputting the info file using &amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt; is optional. However, if this info file is NOT provided, the output &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt; file will have some empty columns. Thus, if available, the generated info file should be provided along with the VCF file as input.&lt;br /&gt;
&lt;br /&gt;
== Converting Chromosome X Files ==&lt;br /&gt;
&lt;br /&gt;
For a minimac3/4 output file containing the pseudo-autosomal region (PAR) on chromosome X, no extra parameter is necessary. For files containing the non-PAR region, please ensure the following:&lt;br /&gt;
&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as diploids&#039;&#039;&#039;, then just add handle &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt;. This will NOT generate sex information in the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file.&lt;br /&gt;
** If you still need the sex column in &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file to be correctly updated, then supply a sex file using &amp;lt;code&amp;gt;--sexFile SomeFile&amp;lt;/code&amp;gt; where &amp;lt;code&amp;gt;SomeFile&amp;lt;/code&amp;gt; has two columns: the first column has the sample names as found in the VCF file, and the second columns has M (for males) or F (for females).&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as haploids&#039;&#039;&#039; and &#039;&#039;&#039;also has GT information&#039;&#039;&#039;, the tool with automatically determine the sex of the samples and report them in the output &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file. No extra parameters are required.&lt;br /&gt;
** If GT tags are NOT available, you would need to supply the sex file as described above. Otherwise it will throw an error.&lt;br /&gt;
** &#039;&#039;&#039;NOTE&#039;&#039;&#039;: If your VCF file has males as haploids, do NOT use &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt; as the code would NOT throw any error, but the output results would be erroneous.&lt;br /&gt;
&lt;br /&gt;
= Command Line Options =&lt;br /&gt;
&lt;br /&gt;
The command options for DosageConvertor are explained below. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;text-align:left&amp;quot;  border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|- bgcolor=&amp;quot;white&amp;quot;&lt;br /&gt;
! Option&lt;br /&gt;
! Description&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--vcfDose&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
mandatory parameter indicating the minimac3/4 VCF dosage file to be converted&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
the info file generated by minimac3/4 at the same time as the VCF dosage file &lt;br /&gt;
&lt;br /&gt;
(This parameter is optional, but if NO info file is provided, the output MaCH info file will have missing columns.)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--prefix&amp;lt;/code&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
sets the prefix for output files (default: &amp;lt;code&amp;gt;Converted.Dosage&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--type&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
sets the output file format (available options: &amp;lt;code&amp;gt;plink&amp;lt;/code&amp;gt; (default) or &amp;lt;code&amp;gt;mach&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--tag&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates the genotype information to import from the input VCF file:&lt;br /&gt;
*&amp;lt;code&amp;gt;DS&amp;lt;/code&amp;gt;: imputed values from dosages (default)&lt;br /&gt;
*&amp;lt;code&amp;gt;GP&amp;lt;/code&amp;gt;: genotype probabilities&lt;br /&gt;
*&amp;lt;code&amp;gt;GT&amp;lt;/code&amp;gt;: hard genotype calls &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
sets the format of the converted output file:&lt;br /&gt;
&lt;br /&gt;
*If &amp;lt;code&amp;gt;--type plink&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1, 2, or 3. &lt;br /&gt;
&lt;br /&gt;
Each of these values correspond to the three different formats available for PLINK dosage files (details given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here])&lt;br /&gt;
*If &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1 or 2. &lt;br /&gt;
&lt;br /&gt;
Details are given in [[#Convert to MaCH Files| Convert to MaCH Files]] &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--buffer&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
sets the number of markers to import at a time (MaCH format only) (default value &amp;lt;code&amp;gt;10000&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--idDelimiter&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates the delimiter character used to split &#039;&#039;&#039;VCF Sample ID&#039;&#039;&#039; into &#039;&#039;&#039;FID&#039;&#039;&#039; and &#039;&#039;&#039;IID&#039;&#039;&#039; for PLINK format (default: &amp;lt;code&amp;gt;_&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates whether to assume all samples are diploid (necessary for chromosome X). &lt;br /&gt;
&lt;br /&gt;
If this option is active, the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; will NOT contain any sex information&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--sexFile&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates a file containing sample sex information, which requires two columns: &lt;br /&gt;
*the first column contains the sample names as found in the VCF file&lt;br /&gt;
*the second columns contains either M (for males) or F (for females)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--TrimAlleles&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates whether to trim alleles and variants IDs to 100 characters&lt;br /&gt;
&lt;br /&gt;
Since PLINK does not allow variant IDs longer than 16,000 characters, this option can be used if variant names are too long.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Contact =&lt;br /&gt;
&lt;br /&gt;
In case of any queries and bugs please contact [mailto:sayantan@umich.edu Sayantan Das].&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14786</id>
		<title>DosageConvertor</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14786"/>
		<updated>2017-07-11T23:47:03Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: /* Convert to PLINK Files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
* &#039;&#039;&#039;Download/Re-Clone Release Version 1.0.4 (Updated July 2017) !&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
DosageConvertor is a C++ tool to convert dosage files (in VCF format) from [[Minimac4| Minimac3/4]] to other formats such as MaCH or PLINK.&lt;br /&gt;
&lt;br /&gt;
= Download =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VERSION: 1.0.4 (Updated 7.12.2017) !&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[NOTE: Cloning from GitHub is recommened so that updates can be easily pulled back]&#039;&#039;&#039;&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;
! Description&lt;br /&gt;
! Download Link&lt;br /&gt;
|- &lt;br /&gt;
| Github Repository &lt;br /&gt;
| &lt;br /&gt;
[https://github.com/Santy-8128/DosageConvertor DosageConvertor - Github] &lt;br /&gt;
|- &lt;br /&gt;
| Source Files &lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz  UNIX Users ]&lt;br /&gt;
|- &lt;br /&gt;
| Binary Executable &amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt; &lt;br /&gt;
(Ubuntu 4.8.4)&lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertorExecutable.tar.gz  UNIX Users ]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt;&#039;&#039;&#039; Binary executables are NOT guaranteed to run on every LINUX machine. Please compile from source files if you have trouble with the executable, or clone from the [https://github.com/Santy-8128/DosageConvertor github repository]. Else contact the author [mailto:sayantan@umich.edu Sayantan Das].&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
&lt;br /&gt;
Users should follow the following steps to compile &#039;&#039;&#039;DosageConvertor &#039;&#039;&#039; (if they downloaded the source files).&lt;br /&gt;
&lt;br /&gt;
 ## EXTRACT M3VCFTOOLS AND COMPILE&lt;br /&gt;
 &amp;amp;nbsp;&lt;br /&gt;
 wget ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 tar -xzvf DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 cd DosageConvertor/&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
= Usage=&lt;br /&gt;
== Convert to PLINK Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert a input VCF dosage file to a PLINK dosage file, which can be used for downstream analysis using [https://www.cog-genomics.org/plink2 PLINK1.9] or [https://www.cog-genomics.org/plink/2.0/ PLINK2.0]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info          (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         plink                            (default)&lt;br /&gt;
                           --format       1                                (or 2,3)&lt;br /&gt;
&lt;br /&gt;
This command will create three files :  &amp;lt;code&amp;gt; OutPrefix.plink.dosage.gz, OutPrefix.fam, OutPrefix.map&amp;lt;/code&amp;gt;. The &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;.map&amp;lt;/code&amp;gt; formats are described [http://zzz.bwh.harvard.edu/plink/data.shtml#map here]. The &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can take values 1, 2, or 3. Each of these values correspond to the three different formats available for PLINK dosage files (details on PLINK dosage files are given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here]). Note that the generated &amp;lt;code&amp;gt;OutPrefix.map&amp;lt;/code&amp;gt; does NOT contain any phenotype information (which will need to be manually edited before PLINK can perform association tests). The &amp;lt;code&amp;gt;OutPrefix.fam&amp;lt;/code&amp;gt; will NOT contain sex information unless chromosome X is available. See [[#Converting Chromosome X Files | Converting Chromosome X Files]] for details.&lt;br /&gt;
&lt;br /&gt;
== Convert to MaCH Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert an input VCF dosage file to a MaCH/minimac dosage file (the format for previous versions of [[Minimac | minimac]]). The generated dosage files can be tested for association using [http://genome.sph.umich.edu/wiki/Mach2dat:_Association_with_MACH_output mach2dat]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info         (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         mach&lt;br /&gt;
                           --format       1                               (or 2)&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, the &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can only take values 1 or 2. &lt;br /&gt;
&lt;br /&gt;
*If the value is 1, the code generates &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; contains the expected alternate allele count (one value per sample per marker). &lt;br /&gt;
*If the value is 2, it generates &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; contains the genotype likelihoods for reference homozygote and heterozygote (two values per sample per marker). &lt;br /&gt;
&lt;br /&gt;
Note that inputting the info file using &amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt; is optional. However, if this info file is NOT provided, the output &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt; file will have some empty columns. Thus, if available, the generated info file should be provided along with the VCF file as input.&lt;br /&gt;
&lt;br /&gt;
== Converting Chromosome X Files ==&lt;br /&gt;
&lt;br /&gt;
For a minimac3/4 output file containing the pseudo-autosomal region (PAR) on chromosome X, no extra parameter is necessary. For files containing the non-PAR region, please ensure the following:&lt;br /&gt;
&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as diploids&#039;&#039;&#039;, then just add handle &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt;. This will NOT generate sex information in the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file.&lt;br /&gt;
** If you still need the sex column in &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file to be correctly updated, then supply a sex file using &amp;lt;code&amp;gt;--sexFile SomeFile&amp;lt;/code&amp;gt; where &amp;lt;code&amp;gt;SomeFile&amp;lt;/code&amp;gt; has two columns: the first column has the sample names as found in the VCF file, and the second columns has M (for males) or F (for females).&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as haploids&#039;&#039;&#039; and &#039;&#039;&#039;also has GT information&#039;&#039;&#039;, the tool with automatically determine the sex of the samples and report them in the output &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file. No extra parameters are required.&lt;br /&gt;
** If GT tags are NOT available, you would need to supply the sex file as described above. Otherwise it will throw an error.&lt;br /&gt;
** &#039;&#039;&#039;NOTE&#039;&#039;&#039;: If your VCF file has males as haploids, do NOT use &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt; as the code would NOT throw any error, but the output results would be erroneous.&lt;br /&gt;
&lt;br /&gt;
= Command Line Options =&lt;br /&gt;
&lt;br /&gt;
The command options for DosageConvertor are explained below. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;text-align:left&amp;quot;  border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|- bgcolor=&amp;quot;white&amp;quot;&lt;br /&gt;
! Option&lt;br /&gt;
! Description&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--vcfDose&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
mandatory parameter indicating the minimac3/4 VCF dosage file to be converted&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
the info file generated by minimac3/4 at the same time as the VCF dosage file &lt;br /&gt;
&lt;br /&gt;
(This parameter is optional, but if NO info file is provided, the output MaCH info file will have missing columns.)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--prefix&amp;lt;/code&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
sets the prefix for output files (default: &amp;lt;code&amp;gt;Converted.Dosage&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--type&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
sets the output file format (available options: &amp;lt;code&amp;gt;plink&amp;lt;/code&amp;gt; (default) or &amp;lt;code&amp;gt;mach&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--tag&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates the genotype information to import from the input VCF file:&lt;br /&gt;
*&amp;lt;code&amp;gt;DS&amp;lt;/code&amp;gt;: imputed values from dosages (default)&lt;br /&gt;
*&amp;lt;code&amp;gt;GP&amp;lt;/code&amp;gt;: genotype probabilities&lt;br /&gt;
*&amp;lt;code&amp;gt;GT&amp;lt;/code&amp;gt;: hard genotype calls &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
sets the format of the converted output file:&lt;br /&gt;
&lt;br /&gt;
*If &amp;lt;code&amp;gt;--type plink&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1, 2, or 3. &lt;br /&gt;
&lt;br /&gt;
Each of these values correspond to the three different formats available for PLINK dosage files (details given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here])&lt;br /&gt;
*If &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1 or 2. &lt;br /&gt;
&lt;br /&gt;
Details are given in [[#Convert to MaCH Files| Convert to MaCH Files]] &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--buffer&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
sets the number of markers to import at a time (MaCH format only) (default value &amp;lt;code&amp;gt;10000&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--idDelimiter&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates the delimiter character used to split &#039;&#039;&#039;VCF Sample ID&#039;&#039;&#039; into &#039;&#039;&#039;FID&#039;&#039;&#039; and &#039;&#039;&#039;IID&#039;&#039;&#039; for PLINK format (default: &amp;lt;code&amp;gt;_&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates whether to assume all samples are diploid (necessary for chromosome X). &lt;br /&gt;
&lt;br /&gt;
If this option is active, the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; will NOT contain any sex information&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--sexFile&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates a file containing sample sex information, which requires two columns: &lt;br /&gt;
*the first column contains the sample names as found in the VCF file&lt;br /&gt;
*the second columns contains either M (for males) or F (for females)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--TrimAlleles&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates whether to trim alleles and variants IDs to 100 characters&lt;br /&gt;
&lt;br /&gt;
Since PLINK does not allow variant IDs longer than 16,000 characters, this option can be used if variant names are too long.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Contact =&lt;br /&gt;
&lt;br /&gt;
In case of any queries and bugs please contact [mailto:sayantan@umich.edu Sayantan Das].&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14785</id>
		<title>DosageConvertor</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14785"/>
		<updated>2017-07-11T23:46:46Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: /* Convert to MaCH Files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
* &#039;&#039;&#039;Download/Re-Clone Release Version 1.0.4 (Updated July 2017) !&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
DosageConvertor is a C++ tool to convert dosage files (in VCF format) from [[Minimac4| Minimac3/4]] to other formats such as MaCH or PLINK.&lt;br /&gt;
&lt;br /&gt;
= Download =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VERSION: 1.0.4 (Updated 7.12.2017) !&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[NOTE: Cloning from GitHub is recommened so that updates can be easily pulled back]&#039;&#039;&#039;&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;
! Description&lt;br /&gt;
! Download Link&lt;br /&gt;
|- &lt;br /&gt;
| Github Repository &lt;br /&gt;
| &lt;br /&gt;
[https://github.com/Santy-8128/DosageConvertor DosageConvertor - Github] &lt;br /&gt;
|- &lt;br /&gt;
| Source Files &lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz  UNIX Users ]&lt;br /&gt;
|- &lt;br /&gt;
| Binary Executable &amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt; &lt;br /&gt;
(Ubuntu 4.8.4)&lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertorExecutable.tar.gz  UNIX Users ]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt;&#039;&#039;&#039; Binary executables are NOT guaranteed to run on every LINUX machine. Please compile from source files if you have trouble with the executable, or clone from the [https://github.com/Santy-8128/DosageConvertor github repository]. Else contact the author [mailto:sayantan@umich.edu Sayantan Das].&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
&lt;br /&gt;
Users should follow the following steps to compile &#039;&#039;&#039;DosageConvertor &#039;&#039;&#039; (if they downloaded the source files).&lt;br /&gt;
&lt;br /&gt;
 ## EXTRACT M3VCFTOOLS AND COMPILE&lt;br /&gt;
 &amp;amp;nbsp;&lt;br /&gt;
 wget ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 tar -xzvf DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 cd DosageConvertor/&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
= Usage=&lt;br /&gt;
== Convert to PLINK Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert a input VCF dosage file to a PLINK dosage file, which can be used for downstream analysis using [https://www.cog-genomics.org/plink2 PLINK1.9] or [https://www.cog-genomics.org/plink/2.0/ PLINK2.0]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info          (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         plink                            (default)&lt;br /&gt;
                           --format       1                                (or 2,3)&lt;br /&gt;
&lt;br /&gt;
This command will create three files :  &amp;lt;code&amp;gt; OutPrefix.plink.dosage.gz, OutPrefix.fam, OutPrefix.map&amp;lt;/code&amp;gt;. The &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;.map&amp;lt;/code&amp;gt; formats are described [http://zzz.bwh.harvard.edu/plink/data.shtml#map here]. The &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can take values 1, 2 and 3. Each of these values correspond to the three different formats available for PLINK dosage files (details on PLINK dosage files are given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here]). Note that the generated &amp;lt;code&amp;gt;OutPrefix.map&amp;lt;/code&amp;gt; does NOT contain any phenotype information (which will need to be manually edited before PLINK can perform association tests). The &amp;lt;code&amp;gt;OutPrefix.fam&amp;lt;/code&amp;gt; will NOT contain sex information unless chromosome X is available. See [[#Converting Chromosome X Files | Converting Chromosome X Files]] for details.&lt;br /&gt;
&lt;br /&gt;
== Convert to MaCH Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert an input VCF dosage file to a MaCH/minimac dosage file (the format for previous versions of [[Minimac | minimac]]). The generated dosage files can be tested for association using [http://genome.sph.umich.edu/wiki/Mach2dat:_Association_with_MACH_output mach2dat]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info         (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         mach&lt;br /&gt;
                           --format       1                               (or 2)&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, the &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can only take values 1 or 2. &lt;br /&gt;
&lt;br /&gt;
*If the value is 1, the code generates &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; contains the expected alternate allele count (one value per sample per marker). &lt;br /&gt;
*If the value is 2, it generates &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; contains the genotype likelihoods for reference homozygote and heterozygote (two values per sample per marker). &lt;br /&gt;
&lt;br /&gt;
Note that inputting the info file using &amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt; is optional. However, if this info file is NOT provided, the output &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt; file will have some empty columns. Thus, if available, the generated info file should be provided along with the VCF file as input.&lt;br /&gt;
&lt;br /&gt;
== Converting Chromosome X Files ==&lt;br /&gt;
&lt;br /&gt;
For a minimac3/4 output file containing the pseudo-autosomal region (PAR) on chromosome X, no extra parameter is necessary. For files containing the non-PAR region, please ensure the following:&lt;br /&gt;
&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as diploids&#039;&#039;&#039;, then just add handle &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt;. This will NOT generate sex information in the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file.&lt;br /&gt;
** If you still need the sex column in &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file to be correctly updated, then supply a sex file using &amp;lt;code&amp;gt;--sexFile SomeFile&amp;lt;/code&amp;gt; where &amp;lt;code&amp;gt;SomeFile&amp;lt;/code&amp;gt; has two columns: the first column has the sample names as found in the VCF file, and the second columns has M (for males) or F (for females).&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as haploids&#039;&#039;&#039; and &#039;&#039;&#039;also has GT information&#039;&#039;&#039;, the tool with automatically determine the sex of the samples and report them in the output &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file. No extra parameters are required.&lt;br /&gt;
** If GT tags are NOT available, you would need to supply the sex file as described above. Otherwise it will throw an error.&lt;br /&gt;
** &#039;&#039;&#039;NOTE&#039;&#039;&#039;: If your VCF file has males as haploids, do NOT use &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt; as the code would NOT throw any error, but the output results would be erroneous.&lt;br /&gt;
&lt;br /&gt;
= Command Line Options =&lt;br /&gt;
&lt;br /&gt;
The command options for DosageConvertor are explained below. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;text-align:left&amp;quot;  border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|- bgcolor=&amp;quot;white&amp;quot;&lt;br /&gt;
! Option&lt;br /&gt;
! Description&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--vcfDose&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
mandatory parameter indicating the minimac3/4 VCF dosage file to be converted&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
the info file generated by minimac3/4 at the same time as the VCF dosage file &lt;br /&gt;
&lt;br /&gt;
(This parameter is optional, but if NO info file is provided, the output MaCH info file will have missing columns.)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--prefix&amp;lt;/code&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
sets the prefix for output files (default: &amp;lt;code&amp;gt;Converted.Dosage&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--type&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
sets the output file format (available options: &amp;lt;code&amp;gt;plink&amp;lt;/code&amp;gt; (default) or &amp;lt;code&amp;gt;mach&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--tag&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates the genotype information to import from the input VCF file:&lt;br /&gt;
*&amp;lt;code&amp;gt;DS&amp;lt;/code&amp;gt;: imputed values from dosages (default)&lt;br /&gt;
*&amp;lt;code&amp;gt;GP&amp;lt;/code&amp;gt;: genotype probabilities&lt;br /&gt;
*&amp;lt;code&amp;gt;GT&amp;lt;/code&amp;gt;: hard genotype calls &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
sets the format of the converted output file:&lt;br /&gt;
&lt;br /&gt;
*If &amp;lt;code&amp;gt;--type plink&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1, 2, or 3. &lt;br /&gt;
&lt;br /&gt;
Each of these values correspond to the three different formats available for PLINK dosage files (details given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here])&lt;br /&gt;
*If &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1 or 2. &lt;br /&gt;
&lt;br /&gt;
Details are given in [[#Convert to MaCH Files| Convert to MaCH Files]] &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--buffer&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
sets the number of markers to import at a time (MaCH format only) (default value &amp;lt;code&amp;gt;10000&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--idDelimiter&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates the delimiter character used to split &#039;&#039;&#039;VCF Sample ID&#039;&#039;&#039; into &#039;&#039;&#039;FID&#039;&#039;&#039; and &#039;&#039;&#039;IID&#039;&#039;&#039; for PLINK format (default: &amp;lt;code&amp;gt;_&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates whether to assume all samples are diploid (necessary for chromosome X). &lt;br /&gt;
&lt;br /&gt;
If this option is active, the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; will NOT contain any sex information&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--sexFile&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates a file containing sample sex information, which requires two columns: &lt;br /&gt;
*the first column contains the sample names as found in the VCF file&lt;br /&gt;
*the second columns contains either M (for males) or F (for females)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--TrimAlleles&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates whether to trim alleles and variants IDs to 100 characters&lt;br /&gt;
&lt;br /&gt;
Since PLINK does not allow variant IDs longer than 16,000 characters, this option can be used if variant names are too long.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Contact =&lt;br /&gt;
&lt;br /&gt;
In case of any queries and bugs please contact [mailto:sayantan@umich.edu Sayantan Das].&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14784</id>
		<title>DosageConvertor</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14784"/>
		<updated>2017-07-11T23:43:53Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: /* Command Line Options */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
* &#039;&#039;&#039;Download/Re-Clone Release Version 1.0.4 (Updated July 2017) !&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
DosageConvertor is a C++ tool to convert dosage files (in VCF format) from [[Minimac4| Minimac3/4]] to other formats such as MaCH or PLINK.&lt;br /&gt;
&lt;br /&gt;
= Download =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VERSION: 1.0.4 (Updated 7.12.2017) !&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[NOTE: Cloning from GitHub is recommened so that updates can be easily pulled back]&#039;&#039;&#039;&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;
! Description&lt;br /&gt;
! Download Link&lt;br /&gt;
|- &lt;br /&gt;
| Github Repository &lt;br /&gt;
| &lt;br /&gt;
[https://github.com/Santy-8128/DosageConvertor DosageConvertor - Github] &lt;br /&gt;
|- &lt;br /&gt;
| Source Files &lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz  UNIX Users ]&lt;br /&gt;
|- &lt;br /&gt;
| Binary Executable &amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt; &lt;br /&gt;
(Ubuntu 4.8.4)&lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertorExecutable.tar.gz  UNIX Users ]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt;&#039;&#039;&#039; Binary executables are NOT guaranteed to run on every LINUX machine. Please compile from source files if you have trouble with the executable, or clone from the [https://github.com/Santy-8128/DosageConvertor github repository]. Else contact the author [mailto:sayantan@umich.edu Sayantan Das].&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
&lt;br /&gt;
Users should follow the following steps to compile &#039;&#039;&#039;DosageConvertor &#039;&#039;&#039; (if they downloaded the source files).&lt;br /&gt;
&lt;br /&gt;
 ## EXTRACT M3VCFTOOLS AND COMPILE&lt;br /&gt;
 &amp;amp;nbsp;&lt;br /&gt;
 wget ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 tar -xzvf DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 cd DosageConvertor/&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
= Usage=&lt;br /&gt;
== Convert to PLINK Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert a input VCF dosage file to a PLINK dosage file, which can be used for downstream analysis using [https://www.cog-genomics.org/plink2 PLINK1.9] or [https://www.cog-genomics.org/plink/2.0/ PLINK2.0]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info          (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         plink                            (default)&lt;br /&gt;
                           --format       1                                (or 2,3)&lt;br /&gt;
&lt;br /&gt;
This command will create three files :  &amp;lt;code&amp;gt; OutPrefix.plink.dosage.gz, OutPrefix.fam, OutPrefix.map&amp;lt;/code&amp;gt;. The &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;.map&amp;lt;/code&amp;gt; formats are described [http://zzz.bwh.harvard.edu/plink/data.shtml#map here]. The &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can take values 1, 2 and 3. Each of these values correspond to the three different formats available for PLINK dosage files (details on PLINK dosage files are given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here]). Note that the generated &amp;lt;code&amp;gt;OutPrefix.map&amp;lt;/code&amp;gt; does NOT contain any phenotype information (which will need to be manually edited before PLINK can perform association tests). The &amp;lt;code&amp;gt;OutPrefix.fam&amp;lt;/code&amp;gt; will NOT contain sex information unless chromosome X is available. See [[#Converting Chromosome X Files | Converting Chromosome X Files]] for details.&lt;br /&gt;
&lt;br /&gt;
== Convert to MaCH Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert an input VCF dosage file to a MaCH/minimac dosage file (the format for previous versions of [[Minimac | minimac]]). The generated dosage files can be tested for association using [http://genome.sph.umich.edu/wiki/Mach2dat:_Association_with_MACH_output mach2dat]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info         (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         mach&lt;br /&gt;
                           --format       1                               (or 2)&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, the &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can only take values 1 and 2. &lt;br /&gt;
&lt;br /&gt;
*If the value is 1, the code generates &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; contains the expected alternate allele count (one value per sample per marker). &lt;br /&gt;
*If the value is 2, it generates &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; contains the genotype likelihoods for reference homozygote and heterozygote (two values per sample per marker). &lt;br /&gt;
&lt;br /&gt;
Note that inputting the info file using &amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt; is optional. However, if this info file is NOT provided, the output &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt; file will have some empty columns. Thus, if available, the generated info file should be provided along with the VCF file as input.&lt;br /&gt;
&lt;br /&gt;
== Converting Chromosome X Files ==&lt;br /&gt;
&lt;br /&gt;
For a minimac3/4 output file containing the pseudo-autosomal region (PAR) on chromosome X, no extra parameter is necessary. For files containing the non-PAR region, please ensure the following:&lt;br /&gt;
&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as diploids&#039;&#039;&#039;, then just add handle &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt;. This will NOT generate sex information in the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file.&lt;br /&gt;
** If you still need the sex column in &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file to be correctly updated, then supply a sex file using &amp;lt;code&amp;gt;--sexFile SomeFile&amp;lt;/code&amp;gt; where &amp;lt;code&amp;gt;SomeFile&amp;lt;/code&amp;gt; has two columns: the first column has the sample names as found in the VCF file, and the second columns has M (for males) or F (for females).&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as haploids&#039;&#039;&#039; and &#039;&#039;&#039;also has GT information&#039;&#039;&#039;, the tool with automatically determine the sex of the samples and report them in the output &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file. No extra parameters are required.&lt;br /&gt;
** If GT tags are NOT available, you would need to supply the sex file as described above. Otherwise it will throw an error.&lt;br /&gt;
** &#039;&#039;&#039;NOTE&#039;&#039;&#039;: If your VCF file has males as haploids, do NOT use &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt; as the code would NOT throw any error, but the output results would be erroneous.&lt;br /&gt;
&lt;br /&gt;
= Command Line Options =&lt;br /&gt;
&lt;br /&gt;
The command options for DosageConvertor are explained below. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;text-align:left&amp;quot;  border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|- bgcolor=&amp;quot;white&amp;quot;&lt;br /&gt;
! Option&lt;br /&gt;
! Description&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--vcfDose&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
mandatory parameter indicating the minimac3/4 VCF dosage file to be converted&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
the info file generated by minimac3/4 at the same time as the VCF dosage file &lt;br /&gt;
&lt;br /&gt;
(This parameter is optional, but if NO info file is provided, the output MaCH info file will have missing columns.)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--prefix&amp;lt;/code&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
sets the prefix for output files (default: &amp;lt;code&amp;gt;Converted.Dosage&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--type&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
sets the output file format (available options: &amp;lt;code&amp;gt;plink&amp;lt;/code&amp;gt; (default) or &amp;lt;code&amp;gt;mach&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--tag&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates the genotype information to import from the input VCF file:&lt;br /&gt;
*&amp;lt;code&amp;gt;DS&amp;lt;/code&amp;gt;: imputed values from dosages (default)&lt;br /&gt;
*&amp;lt;code&amp;gt;GP&amp;lt;/code&amp;gt;: genotype probabilities&lt;br /&gt;
*&amp;lt;code&amp;gt;GT&amp;lt;/code&amp;gt;: hard genotype calls &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
sets the format of the converted output file:&lt;br /&gt;
&lt;br /&gt;
*If &amp;lt;code&amp;gt;--type plink&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1, 2, or 3. &lt;br /&gt;
&lt;br /&gt;
Each of these values correspond to the three different formats available for PLINK dosage files (details given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here])&lt;br /&gt;
*If &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1 or 2. &lt;br /&gt;
&lt;br /&gt;
Details are given in [[#Convert to MaCH Files| Convert to MaCH Files]] &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--buffer&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
sets the number of markers to import at a time (MaCH format only) (default value &amp;lt;code&amp;gt;10000&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--idDelimiter&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates the delimiter character used to split &#039;&#039;&#039;VCF Sample ID&#039;&#039;&#039; into &#039;&#039;&#039;FID&#039;&#039;&#039; and &#039;&#039;&#039;IID&#039;&#039;&#039; for PLINK format (default: &amp;lt;code&amp;gt;_&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates whether to assume all samples are diploid (necessary for chromosome X). &lt;br /&gt;
&lt;br /&gt;
If this option is active, the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; will NOT contain any sex information&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--sexFile&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates a file containing sample sex information, which requires two columns: &lt;br /&gt;
*the first column contains the sample names as found in the VCF file&lt;br /&gt;
*the second columns contains either M (for males) or F (for females)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--TrimAlleles&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates whether to trim alleles and variants IDs to 100 characters&lt;br /&gt;
&lt;br /&gt;
Since PLINK does not allow variant IDs longer than 16,000 characters, this option can be used if variant names are too long.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Contact =&lt;br /&gt;
&lt;br /&gt;
In case of any queries and bugs please contact [mailto:sayantan@umich.edu Sayantan Das].&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14783</id>
		<title>DosageConvertor</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14783"/>
		<updated>2017-07-11T23:42:11Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: /* Command Line Options */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
* &#039;&#039;&#039;Download/Re-Clone Release Version 1.0.4 (Updated July 2017) !&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
DosageConvertor is a C++ tool to convert dosage files (in VCF format) from [[Minimac4| Minimac3/4]] to other formats such as MaCH or PLINK.&lt;br /&gt;
&lt;br /&gt;
= Download =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VERSION: 1.0.4 (Updated 7.12.2017) !&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[NOTE: Cloning from GitHub is recommened so that updates can be easily pulled back]&#039;&#039;&#039;&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;
! Description&lt;br /&gt;
! Download Link&lt;br /&gt;
|- &lt;br /&gt;
| Github Repository &lt;br /&gt;
| &lt;br /&gt;
[https://github.com/Santy-8128/DosageConvertor DosageConvertor - Github] &lt;br /&gt;
|- &lt;br /&gt;
| Source Files &lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz  UNIX Users ]&lt;br /&gt;
|- &lt;br /&gt;
| Binary Executable &amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt; &lt;br /&gt;
(Ubuntu 4.8.4)&lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertorExecutable.tar.gz  UNIX Users ]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt;&#039;&#039;&#039; Binary executables are NOT guaranteed to run on every LINUX machine. Please compile from source files if you have trouble with the executable, or clone from the [https://github.com/Santy-8128/DosageConvertor github repository]. Else contact the author [mailto:sayantan@umich.edu Sayantan Das].&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
&lt;br /&gt;
Users should follow the following steps to compile &#039;&#039;&#039;DosageConvertor &#039;&#039;&#039; (if they downloaded the source files).&lt;br /&gt;
&lt;br /&gt;
 ## EXTRACT M3VCFTOOLS AND COMPILE&lt;br /&gt;
 &amp;amp;nbsp;&lt;br /&gt;
 wget ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 tar -xzvf DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 cd DosageConvertor/&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
= Usage=&lt;br /&gt;
== Convert to PLINK Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert a input VCF dosage file to a PLINK dosage file, which can be used for downstream analysis using [https://www.cog-genomics.org/plink2 PLINK1.9] or [https://www.cog-genomics.org/plink/2.0/ PLINK2.0]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info          (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         plink                            (default)&lt;br /&gt;
                           --format       1                                (or 2,3)&lt;br /&gt;
&lt;br /&gt;
This command will create three files :  &amp;lt;code&amp;gt; OutPrefix.plink.dosage.gz, OutPrefix.fam, OutPrefix.map&amp;lt;/code&amp;gt;. The &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;.map&amp;lt;/code&amp;gt; formats are described [http://zzz.bwh.harvard.edu/plink/data.shtml#map here]. The &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can take values 1, 2 and 3. Each of these values correspond to the three different formats available for PLINK dosage files (details on PLINK dosage files are given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here]). Note that the generated &amp;lt;code&amp;gt;OutPrefix.map&amp;lt;/code&amp;gt; does NOT contain any phenotype information (which will need to be manually edited before PLINK can perform association tests). The &amp;lt;code&amp;gt;OutPrefix.fam&amp;lt;/code&amp;gt; will NOT contain sex information unless chromosome X is available. See [[#Converting Chromosome X Files | Converting Chromosome X Files]] for details.&lt;br /&gt;
&lt;br /&gt;
== Convert to MaCH Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert an input VCF dosage file to a MaCH/minimac dosage file (the format for previous versions of [[Minimac | minimac]]). The generated dosage files can be tested for association using [http://genome.sph.umich.edu/wiki/Mach2dat:_Association_with_MACH_output mach2dat]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info         (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         mach&lt;br /&gt;
                           --format       1                               (or 2)&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, the &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can only take values 1 and 2. &lt;br /&gt;
&lt;br /&gt;
*If the value is 1, the code generates &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; contains the expected alternate allele count (one value per sample per marker). &lt;br /&gt;
*If the value is 2, it generates &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; contains the genotype likelihoods for reference homozygote and heterozygote (two values per sample per marker). &lt;br /&gt;
&lt;br /&gt;
Note that inputting the info file using &amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt; is optional. However, if this info file is NOT provided, the output &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt; file will have some empty columns. Thus, if available, the generated info file should be provided along with the VCF file as input.&lt;br /&gt;
&lt;br /&gt;
== Converting Chromosome X Files ==&lt;br /&gt;
&lt;br /&gt;
For a minimac3/4 output file containing the pseudo-autosomal region (PAR) on chromosome X, no extra parameter is necessary. For files containing the non-PAR region, please ensure the following:&lt;br /&gt;
&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as diploids&#039;&#039;&#039;, then just add handle &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt;. This will NOT generate sex information in the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file.&lt;br /&gt;
** If you still need the sex column in &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file to be correctly updated, then supply a sex file using &amp;lt;code&amp;gt;--sexFile SomeFile&amp;lt;/code&amp;gt; where &amp;lt;code&amp;gt;SomeFile&amp;lt;/code&amp;gt; has two columns: the first column has the sample names as found in the VCF file, and the second columns has M (for males) or F (for females).&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as haploids&#039;&#039;&#039; and &#039;&#039;&#039;also has GT information&#039;&#039;&#039;, the tool with automatically determine the sex of the samples and report them in the output &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file. No extra parameters are required.&lt;br /&gt;
** If GT tags are NOT available, you would need to supply the sex file as described above. Otherwise it will throw an error.&lt;br /&gt;
** &#039;&#039;&#039;NOTE&#039;&#039;&#039;: If your VCF file has males as haploids, do NOT use &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt; as the code would NOT throw any error, but the output results would be erroneous.&lt;br /&gt;
&lt;br /&gt;
= Command Line Options =&lt;br /&gt;
&lt;br /&gt;
The command options for DosageConvertor are explained below. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;text-align:left&amp;quot;  border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|- bgcolor=&amp;quot;white&amp;quot;&lt;br /&gt;
! Option&lt;br /&gt;
! Description&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--vcfDose&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
mandatory parameter indicating the minimac3/4 VCF dosage file to be converted&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
the info file generated by minimac3/4 at the same time as the VCF dosage file &lt;br /&gt;
&lt;br /&gt;
(This parameter is optional, but if NO info file is provided, the output MaCH info file will have missing columns.)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--prefix&amp;lt;/code&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
sets the prefix for output files (default: &amp;lt;code&amp;gt;Converted.Dosage&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--type&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
sets the output file format (available options: &amp;lt;code&amp;gt;plink&amp;lt;/code&amp;gt; (default) or &amp;lt;code&amp;gt;mach&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--tag&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates the genotype information to import from the input VCF file:&lt;br /&gt;
*&amp;lt;code&amp;gt;DS&amp;lt;/code&amp;gt;: imputed values from dosages (default)&lt;br /&gt;
*&amp;lt;code&amp;gt;GP&amp;lt;/code&amp;gt;: genotype probabilities&lt;br /&gt;
*&amp;lt;code&amp;gt;GT&amp;lt;/code&amp;gt;: hard genotype calls &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
sets the format of the converted output file:&lt;br /&gt;
&lt;br /&gt;
*If &amp;lt;code&amp;gt;--type plink&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1, 2, or 3. Each of these values correspond to the three different formats available for PLINK dosage files (details given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here])&lt;br /&gt;
*If &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1 or 2. Details are given in [[#Convert to MaCH Files| Convert to MaCH Files]] &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--buffer&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
sets the number of markers to import at a time (MaCH format only) (default value &amp;lt;code&amp;gt;10000&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--idDelimiter&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates the delimiter character used to split &#039;&#039;&#039;VCF Sample ID&#039;&#039;&#039; into &#039;&#039;&#039;FID&#039;&#039;&#039; and &#039;&#039;&#039;IID&#039;&#039;&#039; for PLINK format (default: &amp;lt;code&amp;gt;_&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates whether to assume all samples are diploid (necessary for chromosome X). If this option is active, the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; will NOT contain any sex information&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--sexFile&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates a file containing sample sex information, which requires two columns: the first column contains the sample names as found in the VCF file, and the second columns contains either M (for males) or F (for females)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--TrimAlleles&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates whether to trim alleles and variants IDs to 100 characters. Since PLINK does not allow variant IDs longer than 16,000 characters, this option can be used if variant names are too long&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Contact =&lt;br /&gt;
&lt;br /&gt;
In case of any queries and bugs please contact [mailto:sayantan@umich.edu Sayantan Das].&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14782</id>
		<title>DosageConvertor</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14782"/>
		<updated>2017-07-11T23:39:47Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: /* Command Line Options */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
* &#039;&#039;&#039;Download/Re-Clone Release Version 1.0.4 (Updated July 2017) !&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
DosageConvertor is a C++ tool to convert dosage files (in VCF format) from [[Minimac4| Minimac3/4]] to other formats such as MaCH or PLINK.&lt;br /&gt;
&lt;br /&gt;
= Download =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VERSION: 1.0.4 (Updated 7.12.2017) !&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[NOTE: Cloning from GitHub is recommened so that updates can be easily pulled back]&#039;&#039;&#039;&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;
! Description&lt;br /&gt;
! Download Link&lt;br /&gt;
|- &lt;br /&gt;
| Github Repository &lt;br /&gt;
| &lt;br /&gt;
[https://github.com/Santy-8128/DosageConvertor DosageConvertor - Github] &lt;br /&gt;
|- &lt;br /&gt;
| Source Files &lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz  UNIX Users ]&lt;br /&gt;
|- &lt;br /&gt;
| Binary Executable &amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt; &lt;br /&gt;
(Ubuntu 4.8.4)&lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertorExecutable.tar.gz  UNIX Users ]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt;&#039;&#039;&#039; Binary executables are NOT guaranteed to run on every LINUX machine. Please compile from source files if you have trouble with the executable, or clone from the [https://github.com/Santy-8128/DosageConvertor github repository]. Else contact the author [mailto:sayantan@umich.edu Sayantan Das].&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
&lt;br /&gt;
Users should follow the following steps to compile &#039;&#039;&#039;DosageConvertor &#039;&#039;&#039; (if they downloaded the source files).&lt;br /&gt;
&lt;br /&gt;
 ## EXTRACT M3VCFTOOLS AND COMPILE&lt;br /&gt;
 &amp;amp;nbsp;&lt;br /&gt;
 wget ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 tar -xzvf DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 cd DosageConvertor/&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
= Usage=&lt;br /&gt;
== Convert to PLINK Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert a input VCF dosage file to a PLINK dosage file, which can be used for downstream analysis using [https://www.cog-genomics.org/plink2 PLINK1.9] or [https://www.cog-genomics.org/plink/2.0/ PLINK2.0]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info          (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         plink                            (default)&lt;br /&gt;
                           --format       1                                (or 2,3)&lt;br /&gt;
&lt;br /&gt;
This command will create three files :  &amp;lt;code&amp;gt; OutPrefix.plink.dosage.gz, OutPrefix.fam, OutPrefix.map&amp;lt;/code&amp;gt;. The &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;.map&amp;lt;/code&amp;gt; formats are described [http://zzz.bwh.harvard.edu/plink/data.shtml#map here]. The &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can take values 1, 2 and 3. Each of these values correspond to the three different formats available for PLINK dosage files (details on PLINK dosage files are given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here]). Note that the generated &amp;lt;code&amp;gt;OutPrefix.map&amp;lt;/code&amp;gt; does NOT contain any phenotype information (which will need to be manually edited before PLINK can perform association tests). The &amp;lt;code&amp;gt;OutPrefix.fam&amp;lt;/code&amp;gt; will NOT contain sex information unless chromosome X is available. See [[#Converting Chromosome X Files | Converting Chromosome X Files]] for details.&lt;br /&gt;
&lt;br /&gt;
== Convert to MaCH Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert an input VCF dosage file to a MaCH/minimac dosage file (the format for previous versions of [[Minimac | minimac]]). The generated dosage files can be tested for association using [http://genome.sph.umich.edu/wiki/Mach2dat:_Association_with_MACH_output mach2dat]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info         (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         mach&lt;br /&gt;
                           --format       1                               (or 2)&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, the &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can only take values 1 and 2. &lt;br /&gt;
&lt;br /&gt;
*If the value is 1, the code generates &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; contains the expected alternate allele count (one value per sample per marker). &lt;br /&gt;
*If the value is 2, it generates &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; contains the genotype likelihoods for reference homozygote and heterozygote (two values per sample per marker). &lt;br /&gt;
&lt;br /&gt;
Note that inputting the info file using &amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt; is optional. However, if this info file is NOT provided, the output &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt; file will have some empty columns. Thus, if available, the generated info file should be provided along with the VCF file as input.&lt;br /&gt;
&lt;br /&gt;
== Converting Chromosome X Files ==&lt;br /&gt;
&lt;br /&gt;
For a minimac3/4 output file containing the pseudo-autosomal region (PAR) on chromosome X, no extra parameter is necessary. For files containing the non-PAR region, please ensure the following:&lt;br /&gt;
&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as diploids&#039;&#039;&#039;, then just add handle &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt;. This will NOT generate sex information in the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file.&lt;br /&gt;
** If you still need the sex column in &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file to be correctly updated, then supply a sex file using &amp;lt;code&amp;gt;--sexFile SomeFile&amp;lt;/code&amp;gt; where &amp;lt;code&amp;gt;SomeFile&amp;lt;/code&amp;gt; has two columns: the first column has the sample names as found in the VCF file, and the second columns has M (for males) or F (for females).&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as haploids&#039;&#039;&#039; and &#039;&#039;&#039;also has GT information&#039;&#039;&#039;, the tool with automatically determine the sex of the samples and report them in the output &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file. No extra parameters are required.&lt;br /&gt;
** If GT tags are NOT available, you would need to supply the sex file as described above. Otherwise it will throw an error.&lt;br /&gt;
** &#039;&#039;&#039;NOTE&#039;&#039;&#039;: If your VCF file has males as haploids, do NOT use &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt; as the code would NOT throw any error, but the output results would be erroneous.&lt;br /&gt;
&lt;br /&gt;
= Command Line Options =&lt;br /&gt;
&lt;br /&gt;
The command options for DosageConvertor are explained below. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;  style=&amp;quot;text-align:left&amp;quot;  border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|- bgcolor=&amp;quot;white&amp;quot;&lt;br /&gt;
! Option&lt;br /&gt;
! Description&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--vcfDose&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
mandatory parameter indicating the minimac3/4 VCF dosage file to be converted&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
the info file generated by minimac3/4 at the same time as the VCF dosage file &lt;br /&gt;
&lt;br /&gt;
(This parameter is optional, but if NO info file is provided, the output MaCH info file will have missing columns.)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--prefix&amp;lt;/code&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
sets the prefix for output files (default: &amp;lt;code&amp;gt;Converted.Dosage&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--type&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
sets the output file format (available options: &amp;lt;code&amp;gt;plink&amp;lt;/code&amp;gt; (default) or &amp;lt;code&amp;gt;mach&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--tag&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates whether to import imputed values from dosages (&amp;lt;code&amp;gt;DS&amp;lt;/code&amp;gt;: default), genotype probabilities (&amp;lt;code&amp;gt;GP&amp;lt;/code&amp;gt;), or hard genotype calls (&amp;lt;code&amp;gt;GT&amp;lt;/code&amp;gt;) from the input VCF file&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
sets the format of the converted output file:&lt;br /&gt;
&lt;br /&gt;
*If &amp;lt;code&amp;gt;--type plink&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1, 2, or 3. Each of these values correspond to the three different formats available for PLINK dosage files (details given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here])&lt;br /&gt;
*If &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1 or 2. Details are given in [[#Convert to MaCH Files| Convert to MaCH Files]] &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--buffer&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
sets the number of markers to import at a time (MaCH format only) (default value &amp;lt;code&amp;gt;10000&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--idDelimiter&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates the delimiter character used to split &#039;&#039;&#039;VCF Sample ID&#039;&#039;&#039; into &#039;&#039;&#039;FID&#039;&#039;&#039; and &#039;&#039;&#039;IID&#039;&#039;&#039; for PLINK format (default: &amp;lt;code&amp;gt;_&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates whether to assume all samples are diploid (necessary for chromosome X). If this option is active, the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; will NOT contain any sex information&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--sexFile&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates a file containing sample sex information, which requires two columns: the first column contains the sample names as found in the VCF file, and the second columns contains either M (for males) or F (for females)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--TrimAlleles&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates whether to trim alleles and variants IDs to 100 characters. Since PLINK does not allow variant IDs longer than 16,000 characters, this option can be used if variant names are too long&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Contact =&lt;br /&gt;
&lt;br /&gt;
In case of any queries and bugs please contact [mailto:sayantan@umich.edu Sayantan Das].&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14781</id>
		<title>DosageConvertor</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14781"/>
		<updated>2017-07-11T23:39:36Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: /* Command Line Options */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
* &#039;&#039;&#039;Download/Re-Clone Release Version 1.0.4 (Updated July 2017) !&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
DosageConvertor is a C++ tool to convert dosage files (in VCF format) from [[Minimac4| Minimac3/4]] to other formats such as MaCH or PLINK.&lt;br /&gt;
&lt;br /&gt;
= Download =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VERSION: 1.0.4 (Updated 7.12.2017) !&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[NOTE: Cloning from GitHub is recommened so that updates can be easily pulled back]&#039;&#039;&#039;&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;
! Description&lt;br /&gt;
! Download Link&lt;br /&gt;
|- &lt;br /&gt;
| Github Repository &lt;br /&gt;
| &lt;br /&gt;
[https://github.com/Santy-8128/DosageConvertor DosageConvertor - Github] &lt;br /&gt;
|- &lt;br /&gt;
| Source Files &lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz  UNIX Users ]&lt;br /&gt;
|- &lt;br /&gt;
| Binary Executable &amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt; &lt;br /&gt;
(Ubuntu 4.8.4)&lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertorExecutable.tar.gz  UNIX Users ]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt;&#039;&#039;&#039; Binary executables are NOT guaranteed to run on every LINUX machine. Please compile from source files if you have trouble with the executable, or clone from the [https://github.com/Santy-8128/DosageConvertor github repository]. Else contact the author [mailto:sayantan@umich.edu Sayantan Das].&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
&lt;br /&gt;
Users should follow the following steps to compile &#039;&#039;&#039;DosageConvertor &#039;&#039;&#039; (if they downloaded the source files).&lt;br /&gt;
&lt;br /&gt;
 ## EXTRACT M3VCFTOOLS AND COMPILE&lt;br /&gt;
 &amp;amp;nbsp;&lt;br /&gt;
 wget ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 tar -xzvf DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 cd DosageConvertor/&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
= Usage=&lt;br /&gt;
== Convert to PLINK Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert a input VCF dosage file to a PLINK dosage file, which can be used for downstream analysis using [https://www.cog-genomics.org/plink2 PLINK1.9] or [https://www.cog-genomics.org/plink/2.0/ PLINK2.0]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info          (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         plink                            (default)&lt;br /&gt;
                           --format       1                                (or 2,3)&lt;br /&gt;
&lt;br /&gt;
This command will create three files :  &amp;lt;code&amp;gt; OutPrefix.plink.dosage.gz, OutPrefix.fam, OutPrefix.map&amp;lt;/code&amp;gt;. The &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;.map&amp;lt;/code&amp;gt; formats are described [http://zzz.bwh.harvard.edu/plink/data.shtml#map here]. The &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can take values 1, 2 and 3. Each of these values correspond to the three different formats available for PLINK dosage files (details on PLINK dosage files are given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here]). Note that the generated &amp;lt;code&amp;gt;OutPrefix.map&amp;lt;/code&amp;gt; does NOT contain any phenotype information (which will need to be manually edited before PLINK can perform association tests). The &amp;lt;code&amp;gt;OutPrefix.fam&amp;lt;/code&amp;gt; will NOT contain sex information unless chromosome X is available. See [[#Converting Chromosome X Files | Converting Chromosome X Files]] for details.&lt;br /&gt;
&lt;br /&gt;
== Convert to MaCH Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert an input VCF dosage file to a MaCH/minimac dosage file (the format for previous versions of [[Minimac | minimac]]). The generated dosage files can be tested for association using [http://genome.sph.umich.edu/wiki/Mach2dat:_Association_with_MACH_output mach2dat]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info         (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         mach&lt;br /&gt;
                           --format       1                               (or 2)&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, the &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can only take values 1 and 2. &lt;br /&gt;
&lt;br /&gt;
*If the value is 1, the code generates &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; contains the expected alternate allele count (one value per sample per marker). &lt;br /&gt;
*If the value is 2, it generates &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; contains the genotype likelihoods for reference homozygote and heterozygote (two values per sample per marker). &lt;br /&gt;
&lt;br /&gt;
Note that inputting the info file using &amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt; is optional. However, if this info file is NOT provided, the output &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt; file will have some empty columns. Thus, if available, the generated info file should be provided along with the VCF file as input.&lt;br /&gt;
&lt;br /&gt;
== Converting Chromosome X Files ==&lt;br /&gt;
&lt;br /&gt;
For a minimac3/4 output file containing the pseudo-autosomal region (PAR) on chromosome X, no extra parameter is necessary. For files containing the non-PAR region, please ensure the following:&lt;br /&gt;
&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as diploids&#039;&#039;&#039;, then just add handle &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt;. This will NOT generate sex information in the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file.&lt;br /&gt;
** If you still need the sex column in &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file to be correctly updated, then supply a sex file using &amp;lt;code&amp;gt;--sexFile SomeFile&amp;lt;/code&amp;gt; where &amp;lt;code&amp;gt;SomeFile&amp;lt;/code&amp;gt; has two columns: the first column has the sample names as found in the VCF file, and the second columns has M (for males) or F (for females).&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as haploids&#039;&#039;&#039; and &#039;&#039;&#039;also has GT information&#039;&#039;&#039;, the tool with automatically determine the sex of the samples and report them in the output &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file. No extra parameters are required.&lt;br /&gt;
** If GT tags are NOT available, you would need to supply the sex file as described above. Otherwise it will throw an error.&lt;br /&gt;
** &#039;&#039;&#039;NOTE&#039;&#039;&#039;: If your VCF file has males as haploids, do NOT use &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt; as the code would NOT throw any error, but the output results would be erroneous.&lt;br /&gt;
&lt;br /&gt;
= Command Line Options =&lt;br /&gt;
&lt;br /&gt;
The command options for DosageConvertor are explained below. &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;white&amp;quot;&lt;br /&gt;
! Option&lt;br /&gt;
! Description&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--vcfDose&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
mandatory parameter indicating the minimac3/4 VCF dosage file to be converted&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
the info file generated by minimac3/4 at the same time as the VCF dosage file &lt;br /&gt;
&lt;br /&gt;
(This parameter is optional, but if NO info file is provided, the output MaCH info file will have missing columns.)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--prefix&amp;lt;/code&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
sets the prefix for output files (default: &amp;lt;code&amp;gt;Converted.Dosage&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--type&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
sets the output file format (available options: &amp;lt;code&amp;gt;plink&amp;lt;/code&amp;gt; (default) or &amp;lt;code&amp;gt;mach&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--tag&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates whether to import imputed values from dosages (&amp;lt;code&amp;gt;DS&amp;lt;/code&amp;gt;: default), genotype probabilities (&amp;lt;code&amp;gt;GP&amp;lt;/code&amp;gt;), or hard genotype calls (&amp;lt;code&amp;gt;GT&amp;lt;/code&amp;gt;) from the input VCF file&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
sets the format of the converted output file:&lt;br /&gt;
&lt;br /&gt;
*If &amp;lt;code&amp;gt;--type plink&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1, 2, or 3. Each of these values correspond to the three different formats available for PLINK dosage files (details given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here])&lt;br /&gt;
*If &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1 or 2. Details are given in [[#Convert to MaCH Files| Convert to MaCH Files]] &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--buffer&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
sets the number of markers to import at a time (MaCH format only) (default value &amp;lt;code&amp;gt;10000&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--idDelimiter&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates the delimiter character used to split &#039;&#039;&#039;VCF Sample ID&#039;&#039;&#039; into &#039;&#039;&#039;FID&#039;&#039;&#039; and &#039;&#039;&#039;IID&#039;&#039;&#039; for PLINK format (default: &amp;lt;code&amp;gt;_&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates whether to assume all samples are diploid (necessary for chromosome X). If this option is active, the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; will NOT contain any sex information&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--sexFile&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates a file containing sample sex information, which requires two columns: the first column contains the sample names as found in the VCF file, and the second columns contains either M (for males) or F (for females)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--TrimAlleles&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates whether to trim alleles and variants IDs to 100 characters. Since PLINK does not allow variant IDs longer than 16,000 characters, this option can be used if variant names are too long&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Contact =&lt;br /&gt;
&lt;br /&gt;
In case of any queries and bugs please contact [mailto:sayantan@umich.edu Sayantan Das].&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14780</id>
		<title>DosageConvertor</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14780"/>
		<updated>2017-07-11T23:38:35Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: /* Command Line Options */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
* &#039;&#039;&#039;Download/Re-Clone Release Version 1.0.4 (Updated July 2017) !&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
DosageConvertor is a C++ tool to convert dosage files (in VCF format) from [[Minimac4| Minimac3/4]] to other formats such as MaCH or PLINK.&lt;br /&gt;
&lt;br /&gt;
= Download =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VERSION: 1.0.4 (Updated 7.12.2017) !&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[NOTE: Cloning from GitHub is recommened so that updates can be easily pulled back]&#039;&#039;&#039;&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;
! Description&lt;br /&gt;
! Download Link&lt;br /&gt;
|- &lt;br /&gt;
| Github Repository &lt;br /&gt;
| &lt;br /&gt;
[https://github.com/Santy-8128/DosageConvertor DosageConvertor - Github] &lt;br /&gt;
|- &lt;br /&gt;
| Source Files &lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz  UNIX Users ]&lt;br /&gt;
|- &lt;br /&gt;
| Binary Executable &amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt; &lt;br /&gt;
(Ubuntu 4.8.4)&lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertorExecutable.tar.gz  UNIX Users ]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt;&#039;&#039;&#039; Binary executables are NOT guaranteed to run on every LINUX machine. Please compile from source files if you have trouble with the executable, or clone from the [https://github.com/Santy-8128/DosageConvertor github repository]. Else contact the author [mailto:sayantan@umich.edu Sayantan Das].&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
&lt;br /&gt;
Users should follow the following steps to compile &#039;&#039;&#039;DosageConvertor &#039;&#039;&#039; (if they downloaded the source files).&lt;br /&gt;
&lt;br /&gt;
 ## EXTRACT M3VCFTOOLS AND COMPILE&lt;br /&gt;
 &amp;amp;nbsp;&lt;br /&gt;
 wget ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 tar -xzvf DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 cd DosageConvertor/&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
= Usage=&lt;br /&gt;
== Convert to PLINK Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert a input VCF dosage file to a PLINK dosage file, which can be used for downstream analysis using [https://www.cog-genomics.org/plink2 PLINK1.9] or [https://www.cog-genomics.org/plink/2.0/ PLINK2.0]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info          (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         plink                            (default)&lt;br /&gt;
                           --format       1                                (or 2,3)&lt;br /&gt;
&lt;br /&gt;
This command will create three files :  &amp;lt;code&amp;gt; OutPrefix.plink.dosage.gz, OutPrefix.fam, OutPrefix.map&amp;lt;/code&amp;gt;. The &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;.map&amp;lt;/code&amp;gt; formats are described [http://zzz.bwh.harvard.edu/plink/data.shtml#map here]. The &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can take values 1, 2 and 3. Each of these values correspond to the three different formats available for PLINK dosage files (details on PLINK dosage files are given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here]). Note that the generated &amp;lt;code&amp;gt;OutPrefix.map&amp;lt;/code&amp;gt; does NOT contain any phenotype information (which will need to be manually edited before PLINK can perform association tests). The &amp;lt;code&amp;gt;OutPrefix.fam&amp;lt;/code&amp;gt; will NOT contain sex information unless chromosome X is available. See [[#Converting Chromosome X Files | Converting Chromosome X Files]] for details.&lt;br /&gt;
&lt;br /&gt;
== Convert to MaCH Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert an input VCF dosage file to a MaCH/minimac dosage file (the format for previous versions of [[Minimac | minimac]]). The generated dosage files can be tested for association using [http://genome.sph.umich.edu/wiki/Mach2dat:_Association_with_MACH_output mach2dat]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info         (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         mach&lt;br /&gt;
                           --format       1                               (or 2)&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, the &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can only take values 1 and 2. &lt;br /&gt;
&lt;br /&gt;
*If the value is 1, the code generates &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; contains the expected alternate allele count (one value per sample per marker). &lt;br /&gt;
*If the value is 2, it generates &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; contains the genotype likelihoods for reference homozygote and heterozygote (two values per sample per marker). &lt;br /&gt;
&lt;br /&gt;
Note that inputting the info file using &amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt; is optional. However, if this info file is NOT provided, the output &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt; file will have some empty columns. Thus, if available, the generated info file should be provided along with the VCF file as input.&lt;br /&gt;
&lt;br /&gt;
== Converting Chromosome X Files ==&lt;br /&gt;
&lt;br /&gt;
For a minimac3/4 output file containing the pseudo-autosomal region (PAR) on chromosome X, no extra parameter is necessary. For files containing the non-PAR region, please ensure the following:&lt;br /&gt;
&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as diploids&#039;&#039;&#039;, then just add handle &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt;. This will NOT generate sex information in the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file.&lt;br /&gt;
** If you still need the sex column in &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file to be correctly updated, then supply a sex file using &amp;lt;code&amp;gt;--sexFile SomeFile&amp;lt;/code&amp;gt; where &amp;lt;code&amp;gt;SomeFile&amp;lt;/code&amp;gt; has two columns: the first column has the sample names as found in the VCF file, and the second columns has M (for males) or F (for females).&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as haploids&#039;&#039;&#039; and &#039;&#039;&#039;also has GT information&#039;&#039;&#039;, the tool with automatically determine the sex of the samples and report them in the output &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file. No extra parameters are required.&lt;br /&gt;
** If GT tags are NOT available, you would need to supply the sex file as described above. Otherwise it will throw an error.&lt;br /&gt;
** &#039;&#039;&#039;NOTE&#039;&#039;&#039;: If your VCF file has males as haploids, do NOT use &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt; as the code would NOT throw any error, but the output results would be erroneous.&lt;br /&gt;
&lt;br /&gt;
= Command Line Options =&lt;br /&gt;
&lt;br /&gt;
The command options for DosageConvertor are explained below. &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;white&amp;quot;&lt;br /&gt;
! Option&lt;br /&gt;
! Description&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--vcfDose&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
mandatory parameter indicating the minimac3/4 VCF dosage file to be converted&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
the info file generated by minimac3/4 at the same time as the VCF dosage file &lt;br /&gt;
&lt;br /&gt;
(This parameter is optional, but if NO info file is provided, the output MaCH info file will have missing columns.)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--prefix&amp;lt;/code&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
sets the prefix for output files (default value: &amp;lt;code&amp;gt;Converted.Dosage&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--type&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
sets the output file format (available options: &amp;lt;code&amp;gt;plink&amp;lt;/code&amp;gt; (default) or &amp;lt;code&amp;gt;mach&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--tag&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates whether to import imputed values from dosages (&amp;lt;code&amp;gt;DS&amp;lt;/code&amp;gt;: default), genotype probabilities (&amp;lt;code&amp;gt;GP&amp;lt;/code&amp;gt;), or hard genotype calls (&amp;lt;code&amp;gt;GT&amp;lt;/code&amp;gt;) from the input VCF file&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
sets the format of the converted output file:&lt;br /&gt;
&lt;br /&gt;
*If &amp;lt;code&amp;gt;--type plink&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1, 2, or 3. Each of these values correspond to the three different formats available for PLINK dosage files (details given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here])&lt;br /&gt;
*If &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1 or 2. Details are given in [[#Convert to MaCH Files| Convert to MaCH Files]] &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--buffer&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
sets the number of markers to import at a time (MaCH format only) (default value &amp;lt;code&amp;gt;10000&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--idDelimiter&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates the delimiter character used to split &#039;&#039;&#039;VCF Sample ID&#039;&#039;&#039; into &#039;&#039;&#039;FID&#039;&#039;&#039; and &#039;&#039;&#039;IID&#039;&#039;&#039; for PLINK format (default: &amp;lt;code&amp;gt;_&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates whether to assume all samples are diploid (necessary for chromosome X). If this option is active, the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; will NOT contain any sex information&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--sexFile&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates a file containing sample sex information, which requires two columns: the first column contains the sample names as found in the VCF file, and the second columns contains either M (for males) or F (for females)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--TrimAlleles&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates whether to trim alleles and variants IDs to 100 characters. Since PLINK does not allow variant IDs longer than 16,000 characters, this option can be used if variant names are too long&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Contact =&lt;br /&gt;
&lt;br /&gt;
In case of any queries and bugs please contact [mailto:sayantan@umich.edu Sayantan Das].&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14779</id>
		<title>DosageConvertor</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14779"/>
		<updated>2017-07-11T23:35:37Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: /* Command Line Options */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
* &#039;&#039;&#039;Download/Re-Clone Release Version 1.0.4 (Updated July 2017) !&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
DosageConvertor is a C++ tool to convert dosage files (in VCF format) from [[Minimac4| Minimac3/4]] to other formats such as MaCH or PLINK.&lt;br /&gt;
&lt;br /&gt;
= Download =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VERSION: 1.0.4 (Updated 7.12.2017) !&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[NOTE: Cloning from GitHub is recommened so that updates can be easily pulled back]&#039;&#039;&#039;&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;
! Description&lt;br /&gt;
! Download Link&lt;br /&gt;
|- &lt;br /&gt;
| Github Repository &lt;br /&gt;
| &lt;br /&gt;
[https://github.com/Santy-8128/DosageConvertor DosageConvertor - Github] &lt;br /&gt;
|- &lt;br /&gt;
| Source Files &lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz  UNIX Users ]&lt;br /&gt;
|- &lt;br /&gt;
| Binary Executable &amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt; &lt;br /&gt;
(Ubuntu 4.8.4)&lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertorExecutable.tar.gz  UNIX Users ]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt;&#039;&#039;&#039; Binary executables are NOT guaranteed to run on every LINUX machine. Please compile from source files if you have trouble with the executable, or clone from the [https://github.com/Santy-8128/DosageConvertor github repository]. Else contact the author [mailto:sayantan@umich.edu Sayantan Das].&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
&lt;br /&gt;
Users should follow the following steps to compile &#039;&#039;&#039;DosageConvertor &#039;&#039;&#039; (if they downloaded the source files).&lt;br /&gt;
&lt;br /&gt;
 ## EXTRACT M3VCFTOOLS AND COMPILE&lt;br /&gt;
 &amp;amp;nbsp;&lt;br /&gt;
 wget ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 tar -xzvf DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 cd DosageConvertor/&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
= Usage=&lt;br /&gt;
== Convert to PLINK Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert a input VCF dosage file to a PLINK dosage file, which can be used for downstream analysis using [https://www.cog-genomics.org/plink2 PLINK1.9] or [https://www.cog-genomics.org/plink/2.0/ PLINK2.0]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info          (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         plink                            (default)&lt;br /&gt;
                           --format       1                                (or 2,3)&lt;br /&gt;
&lt;br /&gt;
This command will create three files :  &amp;lt;code&amp;gt; OutPrefix.plink.dosage.gz, OutPrefix.fam, OutPrefix.map&amp;lt;/code&amp;gt;. The &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;.map&amp;lt;/code&amp;gt; formats are described [http://zzz.bwh.harvard.edu/plink/data.shtml#map here]. The &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can take values 1, 2 and 3. Each of these values correspond to the three different formats available for PLINK dosage files (details on PLINK dosage files are given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here]). Note that the generated &amp;lt;code&amp;gt;OutPrefix.map&amp;lt;/code&amp;gt; does NOT contain any phenotype information (which will need to be manually edited before PLINK can perform association tests). The &amp;lt;code&amp;gt;OutPrefix.fam&amp;lt;/code&amp;gt; will NOT contain sex information unless chromosome X is available. See [[#Converting Chromosome X Files | Converting Chromosome X Files]] for details.&lt;br /&gt;
&lt;br /&gt;
== Convert to MaCH Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert an input VCF dosage file to a MaCH/minimac dosage file (the format for previous versions of [[Minimac | minimac]]). The generated dosage files can be tested for association using [http://genome.sph.umich.edu/wiki/Mach2dat:_Association_with_MACH_output mach2dat]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info         (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         mach&lt;br /&gt;
                           --format       1                               (or 2)&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, the &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can only take values 1 and 2. &lt;br /&gt;
&lt;br /&gt;
*If the value is 1, the code generates &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; contains the expected alternate allele count (one value per sample per marker). &lt;br /&gt;
*If the value is 2, it generates &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; contains the genotype likelihoods for reference homozygote and heterozygote (two values per sample per marker). &lt;br /&gt;
&lt;br /&gt;
Note that inputting the info file using &amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt; is optional. However, if this info file is NOT provided, the output &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt; file will have some empty columns. Thus, if available, the generated info file should be provided along with the VCF file as input.&lt;br /&gt;
&lt;br /&gt;
== Converting Chromosome X Files ==&lt;br /&gt;
&lt;br /&gt;
For a minimac3/4 output file containing the pseudo-autosomal region (PAR) on chromosome X, no extra parameter is necessary. For files containing the non-PAR region, please ensure the following:&lt;br /&gt;
&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as diploids&#039;&#039;&#039;, then just add handle &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt;. This will NOT generate sex information in the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file.&lt;br /&gt;
** If you still need the sex column in &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file to be correctly updated, then supply a sex file using &amp;lt;code&amp;gt;--sexFile SomeFile&amp;lt;/code&amp;gt; where &amp;lt;code&amp;gt;SomeFile&amp;lt;/code&amp;gt; has two columns: the first column has the sample names as found in the VCF file, and the second columns has M (for males) or F (for females).&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as haploids&#039;&#039;&#039; and &#039;&#039;&#039;also has GT information&#039;&#039;&#039;, the tool with automatically determine the sex of the samples and report them in the output &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file. No extra parameters are required.&lt;br /&gt;
** If GT tags are NOT available, you would need to supply the sex file as described above. Otherwise it will throw an error.&lt;br /&gt;
** &#039;&#039;&#039;NOTE&#039;&#039;&#039;: If your VCF file has males as haploids, do NOT use &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt; as the code would NOT throw any error, but the output results would be erroneous.&lt;br /&gt;
&lt;br /&gt;
= Command Line Options =&lt;br /&gt;
&lt;br /&gt;
The command options for DosageConvertor are explained below. &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;white&amp;quot;&lt;br /&gt;
! Option&lt;br /&gt;
! Description&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--vcfDose&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
mandatory parameter indicating the minimac3/4 VCF dosage file to be converted&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
the info file generated by minimac3/4 at the same time as the VCF dosage file &lt;br /&gt;
&lt;br /&gt;
(This parameter is optional, but if NO info file is provided, the output MaCH info file will have missing columns.)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--prefix&amp;lt;/code&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
sets the prefix for output files (default value: &amp;lt;code&amp;gt;Converted.Dosage&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--type&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
sets the output file format (available options: &amp;lt;code&amp;gt;plink&amp;lt;/code&amp;gt; (default) or &amp;lt;code&amp;gt;mach&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--tag&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates whether to import imputed values from dosages (&amp;lt;code&amp;gt;DS&amp;lt;/code&amp;gt;: default), genotype probabilities (&amp;lt;code&amp;gt;GP&amp;lt;/code&amp;gt;), or hard genotype calls (&amp;lt;code&amp;gt;GT&amp;lt;/code&amp;gt;) from the input VCF file&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
sets the format of the converted output file:&lt;br /&gt;
&lt;br /&gt;
*If &amp;lt;code&amp;gt;--type plink&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1, 2, or 3. Each of these values correspond to the three different formats available for PLINK dosage files (details given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here])&lt;br /&gt;
*If &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1 or 2. Details are given in [[#Convert to MaCH Files| Convert to MaCH Files]] &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--buffer&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
sets the number of markers to import at a time (MaCH format only) (default value &amp;lt;code&amp;gt;10000&amp;lt;/code&amp;gt;)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--idDelimiter&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates the delimiter character used to split &#039;&#039;&#039;VCF Sample ID&#039;&#039;&#039; into &#039;&#039;&#039;FID&#039;&#039;&#039; and &#039;&#039;&#039;IID&#039;&#039;&#039; for PLINK format&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates whether to assume all samples are diploid (necessary for chromosome X). If this option is active, the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; will NOT contain any sex information&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--sexFile&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates a file containing sample sex information, which requires two columns: the first column contains the sample names as found in the VCF file, and the second columns contains either M (for males) or F (for females)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;--TrimAlleles&amp;lt;/code&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
indicates whether to trim alleles and variants IDs to 100 characters. Since PLINK does not allow variant IDs longer than 16,000 characters, this option can be used if variant names are too long&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Contact =&lt;br /&gt;
&lt;br /&gt;
In case of any queries and bugs please contact [mailto:sayantan@umich.edu Sayantan Das].&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14778</id>
		<title>DosageConvertor</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14778"/>
		<updated>2017-07-11T23:24:52Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: /* Command Line Options */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
* &#039;&#039;&#039;Download/Re-Clone Release Version 1.0.4 (Updated July 2017) !&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
DosageConvertor is a C++ tool to convert dosage files (in VCF format) from [[Minimac4| Minimac3/4]] to other formats such as MaCH or PLINK.&lt;br /&gt;
&lt;br /&gt;
= Download =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VERSION: 1.0.4 (Updated 7.12.2017) !&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[NOTE: Cloning from GitHub is recommened so that updates can be easily pulled back]&#039;&#039;&#039;&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;
! Description&lt;br /&gt;
! Download Link&lt;br /&gt;
|- &lt;br /&gt;
| Github Repository &lt;br /&gt;
| &lt;br /&gt;
[https://github.com/Santy-8128/DosageConvertor DosageConvertor - Github] &lt;br /&gt;
|- &lt;br /&gt;
| Source Files &lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz  UNIX Users ]&lt;br /&gt;
|- &lt;br /&gt;
| Binary Executable &amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt; &lt;br /&gt;
(Ubuntu 4.8.4)&lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertorExecutable.tar.gz  UNIX Users ]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt;&#039;&#039;&#039; Binary executables are NOT guaranteed to run on every LINUX machine. Please compile from source files if you have trouble with the executable, or clone from the [https://github.com/Santy-8128/DosageConvertor github repository]. Else contact the author [mailto:sayantan@umich.edu Sayantan Das].&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
&lt;br /&gt;
Users should follow the following steps to compile &#039;&#039;&#039;DosageConvertor &#039;&#039;&#039; (if they downloaded the source files).&lt;br /&gt;
&lt;br /&gt;
 ## EXTRACT M3VCFTOOLS AND COMPILE&lt;br /&gt;
 &amp;amp;nbsp;&lt;br /&gt;
 wget ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 tar -xzvf DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 cd DosageConvertor/&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
= Usage=&lt;br /&gt;
== Convert to PLINK Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert a input VCF dosage file to a PLINK dosage file, which can be used for downstream analysis using [https://www.cog-genomics.org/plink2 PLINK1.9] or [https://www.cog-genomics.org/plink/2.0/ PLINK2.0]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info          (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         plink                            (default)&lt;br /&gt;
                           --format       1                                (or 2,3)&lt;br /&gt;
&lt;br /&gt;
This command will create three files :  &amp;lt;code&amp;gt; OutPrefix.plink.dosage.gz, OutPrefix.fam, OutPrefix.map&amp;lt;/code&amp;gt;. The &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;.map&amp;lt;/code&amp;gt; formats are described [http://zzz.bwh.harvard.edu/plink/data.shtml#map here]. The &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can take values 1, 2 and 3. Each of these values correspond to the three different formats available for PLINK dosage files (details on PLINK dosage files are given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here]). Note that the generated &amp;lt;code&amp;gt;OutPrefix.map&amp;lt;/code&amp;gt; does NOT contain any phenotype information (which will need to be manually edited before PLINK can perform association tests). The &amp;lt;code&amp;gt;OutPrefix.fam&amp;lt;/code&amp;gt; will NOT contain sex information unless chromosome X is available. See [[#Converting Chromosome X Files | Converting Chromosome X Files]] for details.&lt;br /&gt;
&lt;br /&gt;
== Convert to MaCH Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert an input VCF dosage file to a MaCH/minimac dosage file (the format for previous versions of [[Minimac | minimac]]). The generated dosage files can be tested for association using [http://genome.sph.umich.edu/wiki/Mach2dat:_Association_with_MACH_output mach2dat]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info         (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         mach&lt;br /&gt;
                           --format       1                               (or 2)&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, the &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can only take values 1 and 2. &lt;br /&gt;
&lt;br /&gt;
*If the value is 1, the code generates &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; contains the expected alternate allele count (one value per sample per marker). &lt;br /&gt;
*If the value is 2, it generates &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; contains the genotype likelihoods for reference homozygote and heterozygote (two values per sample per marker). &lt;br /&gt;
&lt;br /&gt;
Note that inputting the info file using &amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt; is optional. However, if this info file is NOT provided, the output &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt; file will have some empty columns. Thus, if available, the generated info file should be provided along with the VCF file as input.&lt;br /&gt;
&lt;br /&gt;
== Converting Chromosome X Files ==&lt;br /&gt;
&lt;br /&gt;
For a minimac3/4 output file containing the pseudo-autosomal region (PAR) on chromosome X, no extra parameter is necessary. For files containing the non-PAR region, please ensure the following:&lt;br /&gt;
&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as diploids&#039;&#039;&#039;, then just add handle &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt;. This will NOT generate sex information in the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file.&lt;br /&gt;
** If you still need the sex column in &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file to be correctly updated, then supply a sex file using &amp;lt;code&amp;gt;--sexFile SomeFile&amp;lt;/code&amp;gt; where &amp;lt;code&amp;gt;SomeFile&amp;lt;/code&amp;gt; has two columns: the first column has the sample names as found in the VCF file, and the second columns has M (for males) or F (for females).&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as haploids&#039;&#039;&#039; and &#039;&#039;&#039;also has GT information&#039;&#039;&#039;, the tool with automatically determine the sex of the samples and report them in the output &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file. No extra parameters are required.&lt;br /&gt;
** If GT tags are NOT available, you would need to supply the sex file as described above. Otherwise it will throw an error.&lt;br /&gt;
** &#039;&#039;&#039;NOTE&#039;&#039;&#039;: If your VCF file has males as haploids, do NOT use &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt; as the code would NOT throw any error, but the output results would be erroneous.&lt;br /&gt;
&lt;br /&gt;
= Command Line Options =&lt;br /&gt;
&lt;br /&gt;
The command options for DosageConvertor are explained below. &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;code&amp;gt;--vcfDose&amp;lt;/code&amp;gt; is a mandatory parameter indicating the minimac3/4 VCF dosage file to be converted&lt;br /&gt;
*&amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt; is the info file generated by minimac3/4 at the same time as the VCF dosage file. This parameter is optional, but if NO info file is provided, the output MaCH info file will have missing columns&lt;br /&gt;
*&amp;lt;code&amp;gt;--prefix&amp;lt;/code&amp;gt; sets the prefix for output files (default value: &amp;lt;code&amp;gt;Converted.Dosage&amp;lt;/code&amp;gt;)&lt;br /&gt;
*&amp;lt;code&amp;gt;--type&amp;lt;/code&amp;gt; sets the output file format (available options: &amp;lt;code&amp;gt;plink&amp;lt;/code&amp;gt; (default) or &amp;lt;code&amp;gt;mach&amp;lt;/code&amp;gt;)&lt;br /&gt;
*&amp;lt;code&amp;gt;--tag&amp;lt;/code&amp;gt; indicates whether to import imputed values from dosages (&amp;lt;code&amp;gt;DS&amp;lt;/code&amp;gt;: default), genotype probabilities (&amp;lt;code&amp;gt;GP&amp;lt;/code&amp;gt;), or hard genotype calls (&amp;lt;code&amp;gt;GT&amp;lt;/code&amp;gt;) from the input VCF file&lt;br /&gt;
*&amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; sets the format of the converted output file. &lt;br /&gt;
**If &amp;lt;code&amp;gt;--type plink&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1, 2, or 3. Each of these values correspond to the three different formats available for PLINK dosage files (details given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here])&lt;br /&gt;
**If &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1 or 2. Details are given in [[#Convert to MaCH Files| Convert to MaCH Files]] &lt;br /&gt;
*&amp;lt;code&amp;gt;--buffer&amp;lt;/code&amp;gt; sets the number of markers to import at a time (MaCH format only) (default value &amp;lt;code&amp;gt;10000&amp;lt;/code&amp;gt;)&lt;br /&gt;
*&amp;lt;code&amp;gt;--idDelimiter&amp;lt;/code&amp;gt; indicates the delimiter character used to split &#039;&#039;&#039;VCF Sample ID&#039;&#039;&#039; into &#039;&#039;&#039;FID&#039;&#039;&#039; and &#039;&#039;&#039;IID&#039;&#039;&#039; for PLINK format&lt;br /&gt;
*&amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt; indicates whether to assume all samples are diploid (necessary for chromosome X). If this option is active, the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; will NOT contain any sex information&lt;br /&gt;
*&amp;lt;code&amp;gt;--sexFile&amp;lt;/code&amp;gt; indicates a file containing sample sex information, which requires two columns: the first column contains the sample names as found in the VCF file, and the second columns contains either M (for males) or F (for females)&lt;br /&gt;
*&amp;lt;code&amp;gt;--TrimAlleles&amp;lt;/code&amp;gt; indicates whether to trim alleles and variants IDs to 100 characters. Since PLINK does not allow variant IDs longer than 16,000 characters, this option can be used if variant names are too long&lt;br /&gt;
&lt;br /&gt;
= Contact =&lt;br /&gt;
&lt;br /&gt;
In case of any queries and bugs please contact [mailto:sayantan@umich.edu Sayantan Das].&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14777</id>
		<title>DosageConvertor</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14777"/>
		<updated>2017-07-11T23:12:31Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: /* Command Line Options */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
* &#039;&#039;&#039;Download/Re-Clone Release Version 1.0.4 (Updated July 2017) !&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
DosageConvertor is a C++ tool to convert dosage files (in VCF format) from [[Minimac4| Minimac3/4]] to other formats such as MaCH or PLINK.&lt;br /&gt;
&lt;br /&gt;
= Download =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VERSION: 1.0.4 (Updated 7.12.2017) !&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[NOTE: Cloning from GitHub is recommened so that updates can be easily pulled back]&#039;&#039;&#039;&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;
! Description&lt;br /&gt;
! Download Link&lt;br /&gt;
|- &lt;br /&gt;
| Github Repository &lt;br /&gt;
| &lt;br /&gt;
[https://github.com/Santy-8128/DosageConvertor DosageConvertor - Github] &lt;br /&gt;
|- &lt;br /&gt;
| Source Files &lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz  UNIX Users ]&lt;br /&gt;
|- &lt;br /&gt;
| Binary Executable &amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt; &lt;br /&gt;
(Ubuntu 4.8.4)&lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertorExecutable.tar.gz  UNIX Users ]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt;&#039;&#039;&#039; Binary executables are NOT guaranteed to run on every LINUX machine. Please compile from source files if you have trouble with the executable, or clone from the [https://github.com/Santy-8128/DosageConvertor github repository]. Else contact the author [mailto:sayantan@umich.edu Sayantan Das].&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
&lt;br /&gt;
Users should follow the following steps to compile &#039;&#039;&#039;DosageConvertor &#039;&#039;&#039; (if they downloaded the source files).&lt;br /&gt;
&lt;br /&gt;
 ## EXTRACT M3VCFTOOLS AND COMPILE&lt;br /&gt;
 &amp;amp;nbsp;&lt;br /&gt;
 wget ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 tar -xzvf DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 cd DosageConvertor/&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
= Usage=&lt;br /&gt;
== Convert to PLINK Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert a input VCF dosage file to a PLINK dosage file, which can be used for downstream analysis using [https://www.cog-genomics.org/plink2 PLINK1.9] or [https://www.cog-genomics.org/plink/2.0/ PLINK2.0]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info          (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         plink                            (default)&lt;br /&gt;
                           --format       1                                (or 2,3)&lt;br /&gt;
&lt;br /&gt;
This command will create three files :  &amp;lt;code&amp;gt; OutPrefix.plink.dosage.gz, OutPrefix.fam, OutPrefix.map&amp;lt;/code&amp;gt;. The &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;.map&amp;lt;/code&amp;gt; formats are described [http://zzz.bwh.harvard.edu/plink/data.shtml#map here]. The &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can take values 1, 2 and 3. Each of these values correspond to the three different formats available for PLINK dosage files (details on PLINK dosage files are given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here]). Note that the generated &amp;lt;code&amp;gt;OutPrefix.map&amp;lt;/code&amp;gt; does NOT contain any phenotype information (which will need to be manually edited before PLINK can perform association tests). The &amp;lt;code&amp;gt;OutPrefix.fam&amp;lt;/code&amp;gt; will NOT contain sex information unless chromosome X is available. See [[#Converting Chromosome X Files | Converting Chromosome X Files]] for details.&lt;br /&gt;
&lt;br /&gt;
== Convert to MaCH Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert an input VCF dosage file to a MaCH/minimac dosage file (the format for previous versions of [[Minimac | minimac]]). The generated dosage files can be tested for association using [http://genome.sph.umich.edu/wiki/Mach2dat:_Association_with_MACH_output mach2dat]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info         (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         mach&lt;br /&gt;
                           --format       1                               (or 2)&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, the &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can only take values 1 and 2. &lt;br /&gt;
&lt;br /&gt;
*If the value is 1, the code generates &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; contains the expected alternate allele count (one value per sample per marker). &lt;br /&gt;
*If the value is 2, it generates &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; contains the genotype likelihoods for reference homozygote and heterozygote (two values per sample per marker). &lt;br /&gt;
&lt;br /&gt;
Note that inputting the info file using &amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt; is optional. However, if this info file is NOT provided, the output &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt; file will have some empty columns. Thus, if available, the generated info file should be provided along with the VCF file as input.&lt;br /&gt;
&lt;br /&gt;
== Converting Chromosome X Files ==&lt;br /&gt;
&lt;br /&gt;
For a minimac3/4 output file containing the pseudo-autosomal region (PAR) on chromosome X, no extra parameter is necessary. For files containing the non-PAR region, please ensure the following:&lt;br /&gt;
&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as diploids&#039;&#039;&#039;, then just add handle &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt;. This will NOT generate sex information in the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file.&lt;br /&gt;
** If you still need the sex column in &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file to be correctly updated, then supply a sex file using &amp;lt;code&amp;gt;--sexFile SomeFile&amp;lt;/code&amp;gt; where &amp;lt;code&amp;gt;SomeFile&amp;lt;/code&amp;gt; has two columns: the first column has the sample names as found in the VCF file, and the second columns has M (for males) or F (for females).&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as haploids&#039;&#039;&#039; and &#039;&#039;&#039;also has GT information&#039;&#039;&#039;, the tool with automatically determine the sex of the samples and report them in the output &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file. No extra parameters are required.&lt;br /&gt;
** If GT tags are NOT available, you would need to supply the sex file as described above. Otherwise it will throw an error.&lt;br /&gt;
** &#039;&#039;&#039;NOTE&#039;&#039;&#039;: If your VCF file has males as haploids, do NOT use &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt; as the code would NOT throw any error, but the output results would be erroneous.&lt;br /&gt;
&lt;br /&gt;
= Command Line Options =&lt;br /&gt;
&lt;br /&gt;
The command options for DosageConvertor are explained below. &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;code&amp;gt;--vcfDose&amp;lt;/code&amp;gt; is a mandatory parameter indicating the minimac3/4 VCF dosage file to be converted&lt;br /&gt;
*&amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt; is the info file generated by minimac3/4 at the same time as the VCF dosage file. This parameter is optional, but if NO info file is provided, the output MaCH info file will have missing columns&lt;br /&gt;
*&amp;lt;code&amp;gt;--prefix&amp;lt;/code&amp;gt; sets the prefix for output files (default value: &amp;lt;code&amp;gt;Converted.Dosage&amp;lt;/code&amp;gt;)&lt;br /&gt;
*&amp;lt;code&amp;gt;--type&amp;lt;/code&amp;gt; sets the output file format (available options: &amp;lt;code&amp;gt;plink&amp;lt;/code&amp;gt; (default) or &amp;lt;code&amp;gt;mach&amp;lt;/code&amp;gt;)&lt;br /&gt;
*&amp;lt;code&amp;gt;--tag&amp;lt;/code&amp;gt; indicates whether to import imputed values from dosages (&amp;lt;code&amp;gt;DS&amp;lt;/code&amp;gt;: default), genotype probabilities (&amp;lt;code&amp;gt;GP&amp;lt;/code&amp;gt;), or hard genotype calls (&amp;lt;code&amp;gt;GT&amp;lt;/code&amp;gt;) from the input VCF file&lt;br /&gt;
*&amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; sets the format of the converted output file. &lt;br /&gt;
**If &amp;lt;code&amp;gt;--type plink&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1, 2, or 3. Each of these values correspond to the three different formats available for PLINK dosage files (details given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here])&lt;br /&gt;
**If &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1 or 2. Details are given in [[#Convert to MaCH Files| Convert to MaCH Files]] &lt;br /&gt;
*&amp;lt;code&amp;gt;--buffer&amp;lt;/code&amp;gt; sets the number of markers to import at a time (MaCH format only) (default value &amp;lt;code&amp;gt;10000&amp;lt;/code&amp;gt;)&lt;br /&gt;
*&amp;lt;code&amp;gt;--idDelimiter&amp;lt;/code&amp;gt; indicates the delimiter character used to split &#039;&#039;&#039;VCF Sample ID&#039;&#039;&#039; into &#039;&#039;&#039;FID&#039;&#039;&#039; and &#039;&#039;&#039;IID&#039;&#039;&#039; for PLINK format&lt;br /&gt;
*&amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt; indicates whether to assume all samples are diploid (necessary for chromosome X). If this option is active, the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; will NOT contain any sex information&lt;br /&gt;
*&amp;lt;code&amp;gt;--sexFile&amp;lt;/code&amp;gt; indicates a file containing sample sex information, which requires two columns: the first column contains the sample names as found in the VCF file, and the second columns contains either M (for males) or F (for females)&lt;br /&gt;
*&amp;lt;code&amp;gt;--TrimAlleles&amp;lt;/code&amp;gt; indicates whether to trim length of alleles and variants IDs since PLINK does NOT allow really long character sequences.&lt;br /&gt;
&lt;br /&gt;
= Contact =&lt;br /&gt;
&lt;br /&gt;
In case of any queries and bugs please contact [mailto:sayantan@umich.edu Sayantan Das].&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14776</id>
		<title>DosageConvertor</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14776"/>
		<updated>2017-07-11T23:10:17Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: /* Command Line Options */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
* &#039;&#039;&#039;Download/Re-Clone Release Version 1.0.4 (Updated July 2017) !&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
DosageConvertor is a C++ tool to convert dosage files (in VCF format) from [[Minimac4| Minimac3/4]] to other formats such as MaCH or PLINK.&lt;br /&gt;
&lt;br /&gt;
= Download =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VERSION: 1.0.4 (Updated 7.12.2017) !&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[NOTE: Cloning from GitHub is recommened so that updates can be easily pulled back]&#039;&#039;&#039;&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;
! Description&lt;br /&gt;
! Download Link&lt;br /&gt;
|- &lt;br /&gt;
| Github Repository &lt;br /&gt;
| &lt;br /&gt;
[https://github.com/Santy-8128/DosageConvertor DosageConvertor - Github] &lt;br /&gt;
|- &lt;br /&gt;
| Source Files &lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz  UNIX Users ]&lt;br /&gt;
|- &lt;br /&gt;
| Binary Executable &amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt; &lt;br /&gt;
(Ubuntu 4.8.4)&lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertorExecutable.tar.gz  UNIX Users ]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt;&#039;&#039;&#039; Binary executables are NOT guaranteed to run on every LINUX machine. Please compile from source files if you have trouble with the executable, or clone from the [https://github.com/Santy-8128/DosageConvertor github repository]. Else contact the author [mailto:sayantan@umich.edu Sayantan Das].&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
&lt;br /&gt;
Users should follow the following steps to compile &#039;&#039;&#039;DosageConvertor &#039;&#039;&#039; (if they downloaded the source files).&lt;br /&gt;
&lt;br /&gt;
 ## EXTRACT M3VCFTOOLS AND COMPILE&lt;br /&gt;
 &amp;amp;nbsp;&lt;br /&gt;
 wget ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 tar -xzvf DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 cd DosageConvertor/&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
= Usage=&lt;br /&gt;
== Convert to PLINK Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert a input VCF dosage file to a PLINK dosage file, which can be used for downstream analysis using [https://www.cog-genomics.org/plink2 PLINK1.9] or [https://www.cog-genomics.org/plink/2.0/ PLINK2.0]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info          (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         plink                            (default)&lt;br /&gt;
                           --format       1                                (or 2,3)&lt;br /&gt;
&lt;br /&gt;
This command will create three files :  &amp;lt;code&amp;gt; OutPrefix.plink.dosage.gz, OutPrefix.fam, OutPrefix.map&amp;lt;/code&amp;gt;. The &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;.map&amp;lt;/code&amp;gt; formats are described [http://zzz.bwh.harvard.edu/plink/data.shtml#map here]. The &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can take values 1, 2 and 3. Each of these values correspond to the three different formats available for PLINK dosage files (details on PLINK dosage files are given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here]). Note that the generated &amp;lt;code&amp;gt;OutPrefix.map&amp;lt;/code&amp;gt; does NOT contain any phenotype information (which will need to be manually edited before PLINK can perform association tests). The &amp;lt;code&amp;gt;OutPrefix.fam&amp;lt;/code&amp;gt; will NOT contain sex information unless chromosome X is available. See [[#Converting Chromosome X Files | Converting Chromosome X Files]] for details.&lt;br /&gt;
&lt;br /&gt;
== Convert to MaCH Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert an input VCF dosage file to a MaCH/minimac dosage file (the format for previous versions of [[Minimac | minimac]]). The generated dosage files can be tested for association using [http://genome.sph.umich.edu/wiki/Mach2dat:_Association_with_MACH_output mach2dat]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info         (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         mach&lt;br /&gt;
                           --format       1                               (or 2)&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, the &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can only take values 1 and 2. &lt;br /&gt;
&lt;br /&gt;
*If the value is 1, the code generates &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; contains the expected alternate allele count (one value per sample per marker). &lt;br /&gt;
*If the value is 2, it generates &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; contains the genotype likelihoods for reference homozygote and heterozygote (two values per sample per marker). &lt;br /&gt;
&lt;br /&gt;
Note that inputting the info file using &amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt; is optional. However, if this info file is NOT provided, the output &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt; file will have some empty columns. Thus, if available, the generated info file should be provided along with the VCF file as input.&lt;br /&gt;
&lt;br /&gt;
== Converting Chromosome X Files ==&lt;br /&gt;
&lt;br /&gt;
For a minimac3/4 output file containing the pseudo-autosomal region (PAR) on chromosome X, no extra parameter is necessary. For files containing the non-PAR region, please ensure the following:&lt;br /&gt;
&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as diploids&#039;&#039;&#039;, then just add handle &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt;. This will NOT generate sex information in the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file.&lt;br /&gt;
** If you still need the sex column in &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file to be correctly updated, then supply a sex file using &amp;lt;code&amp;gt;--sexFile SomeFile&amp;lt;/code&amp;gt; where &amp;lt;code&amp;gt;SomeFile&amp;lt;/code&amp;gt; has two columns: the first column has the sample names as found in the VCF file, and the second columns has M (for males) or F (for females).&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as haploids&#039;&#039;&#039; and &#039;&#039;&#039;also has GT information&#039;&#039;&#039;, the tool with automatically determine the sex of the samples and report them in the output &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file. No extra parameters are required.&lt;br /&gt;
** If GT tags are NOT available, you would need to supply the sex file as described above. Otherwise it will throw an error.&lt;br /&gt;
** &#039;&#039;&#039;NOTE&#039;&#039;&#039;: If your VCF file has males as haploids, do NOT use &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt; as the code would NOT throw any error, but the output results would be erroneous.&lt;br /&gt;
&lt;br /&gt;
= Command Line Options =&lt;br /&gt;
&lt;br /&gt;
The command options for DosageConvertor are explained below. &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;code&amp;gt;--vcfDose&amp;lt;/code&amp;gt; is a mandatory parameter indicating the minimac3/4 VCF dosage file to be converted&lt;br /&gt;
*&amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt; is the info file generated by minimac3/4 at the same time as the VCF dosage file. This parameter is optional, but if NO info file is provided, the output MaCH info file will have missing columns&lt;br /&gt;
*&amp;lt;code&amp;gt;--prefix&amp;lt;/code&amp;gt; sets the prefix for output files (default value: &amp;lt;code&amp;gt;Converted.Dosage&amp;lt;/code&amp;gt;)&lt;br /&gt;
*&amp;lt;code&amp;gt;--type&amp;lt;/code&amp;gt; sets the output file format (available options: &amp;lt;code&amp;gt;plink&amp;lt;/code&amp;gt; (default) or &amp;lt;code&amp;gt;mach&amp;lt;/code&amp;gt;)&lt;br /&gt;
*&amp;lt;code&amp;gt;--tag&amp;lt;/code&amp;gt; indicates whether to import imputed values from dosages (&amp;lt;code&amp;gt;DS&amp;lt;/code&amp;gt;: default), genotype probabilities (&amp;lt;code&amp;gt;GP&amp;lt;/code&amp;gt;), or hard genotype calls (&amp;lt;code&amp;gt;GT&amp;lt;/code&amp;gt;) from the input VCF file&lt;br /&gt;
*&amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; sets the format of the converted output file. &lt;br /&gt;
**If &amp;lt;code&amp;gt;--type plink&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1, 2, or 3. Each of these values correspond to the three different formats available for PLINK dosage files (details given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here])&lt;br /&gt;
**If &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1 or 2. Details are given in [[#Convert to MaCH Files| Convert to MaCH Files]] &lt;br /&gt;
*&amp;lt;code&amp;gt;--buffer&amp;lt;/code&amp;gt; sets the number of markers to import at a time (MaCH format only) (default value &amp;lt;code&amp;gt;10000&amp;lt;/code&amp;gt;)&lt;br /&gt;
*&amp;lt;code&amp;gt;--idDelimiter&amp;lt;/code&amp;gt; denotes the delimiter character used to split &#039;&#039;&#039;VCF Sample ID&#039;&#039;&#039; into &#039;&#039;&#039;FID&#039;&#039;&#039; and &#039;&#039;&#039;IID&#039;&#039;&#039; for PLINK format&lt;br /&gt;
*&amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt; denotes whether to assume all samples are diploid (necessary for chromosome X). If this handle is on, the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; will NOT contain any sex information.&lt;br /&gt;
*&amp;lt;code&amp;gt;--sexFile&amp;lt;/code&amp;gt; denotes the sex file which should have two columns: the first column has the sample names as found in the VCF file, and the second columns has M (for males) or F (for females). &lt;br /&gt;
*&amp;lt;code&amp;gt;--TrimAlleles&amp;lt;/code&amp;gt; denotes whether to trim length of alleles and variants IDs since PLINK does NOT allow really long character sequences.&lt;br /&gt;
&lt;br /&gt;
= Contact =&lt;br /&gt;
&lt;br /&gt;
In case of any queries and bugs please contact [mailto:sayantan@umich.edu Sayantan Das].&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14775</id>
		<title>DosageConvertor</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14775"/>
		<updated>2017-07-11T23:09:52Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: /* Command Line Options */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
* &#039;&#039;&#039;Download/Re-Clone Release Version 1.0.4 (Updated July 2017) !&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
DosageConvertor is a C++ tool to convert dosage files (in VCF format) from [[Minimac4| Minimac3/4]] to other formats such as MaCH or PLINK.&lt;br /&gt;
&lt;br /&gt;
= Download =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VERSION: 1.0.4 (Updated 7.12.2017) !&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[NOTE: Cloning from GitHub is recommened so that updates can be easily pulled back]&#039;&#039;&#039;&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;
! Description&lt;br /&gt;
! Download Link&lt;br /&gt;
|- &lt;br /&gt;
| Github Repository &lt;br /&gt;
| &lt;br /&gt;
[https://github.com/Santy-8128/DosageConvertor DosageConvertor - Github] &lt;br /&gt;
|- &lt;br /&gt;
| Source Files &lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz  UNIX Users ]&lt;br /&gt;
|- &lt;br /&gt;
| Binary Executable &amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt; &lt;br /&gt;
(Ubuntu 4.8.4)&lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertorExecutable.tar.gz  UNIX Users ]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt;&#039;&#039;&#039; Binary executables are NOT guaranteed to run on every LINUX machine. Please compile from source files if you have trouble with the executable, or clone from the [https://github.com/Santy-8128/DosageConvertor github repository]. Else contact the author [mailto:sayantan@umich.edu Sayantan Das].&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
&lt;br /&gt;
Users should follow the following steps to compile &#039;&#039;&#039;DosageConvertor &#039;&#039;&#039; (if they downloaded the source files).&lt;br /&gt;
&lt;br /&gt;
 ## EXTRACT M3VCFTOOLS AND COMPILE&lt;br /&gt;
 &amp;amp;nbsp;&lt;br /&gt;
 wget ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 tar -xzvf DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 cd DosageConvertor/&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
= Usage=&lt;br /&gt;
== Convert to PLINK Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert a input VCF dosage file to a PLINK dosage file, which can be used for downstream analysis using [https://www.cog-genomics.org/plink2 PLINK1.9] or [https://www.cog-genomics.org/plink/2.0/ PLINK2.0]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info          (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         plink                            (default)&lt;br /&gt;
                           --format       1                                (or 2,3)&lt;br /&gt;
&lt;br /&gt;
This command will create three files :  &amp;lt;code&amp;gt; OutPrefix.plink.dosage.gz, OutPrefix.fam, OutPrefix.map&amp;lt;/code&amp;gt;. The &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;.map&amp;lt;/code&amp;gt; formats are described [http://zzz.bwh.harvard.edu/plink/data.shtml#map here]. The &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can take values 1, 2 and 3. Each of these values correspond to the three different formats available for PLINK dosage files (details on PLINK dosage files are given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here]). Note that the generated &amp;lt;code&amp;gt;OutPrefix.map&amp;lt;/code&amp;gt; does NOT contain any phenotype information (which will need to be manually edited before PLINK can perform association tests). The &amp;lt;code&amp;gt;OutPrefix.fam&amp;lt;/code&amp;gt; will NOT contain sex information unless chromosome X is available. See [[#Converting Chromosome X Files | Converting Chromosome X Files]] for details.&lt;br /&gt;
&lt;br /&gt;
== Convert to MaCH Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert an input VCF dosage file to a MaCH/minimac dosage file (the format for previous versions of [[Minimac | minimac]]). The generated dosage files can be tested for association using [http://genome.sph.umich.edu/wiki/Mach2dat:_Association_with_MACH_output mach2dat]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info         (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         mach&lt;br /&gt;
                           --format       1                               (or 2)&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, the &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can only take values 1 and 2. &lt;br /&gt;
&lt;br /&gt;
*If the value is 1, the code generates &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; contains the expected alternate allele count (one value per sample per marker). &lt;br /&gt;
*If the value is 2, it generates &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; contains the genotype likelihoods for reference homozygote and heterozygote (two values per sample per marker). &lt;br /&gt;
&lt;br /&gt;
Note that inputting the info file using &amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt; is optional. However, if this info file is NOT provided, the output &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt; file will have some empty columns. Thus, if available, the generated info file should be provided along with the VCF file as input.&lt;br /&gt;
&lt;br /&gt;
== Converting Chromosome X Files ==&lt;br /&gt;
&lt;br /&gt;
For a minimac3/4 output file containing the pseudo-autosomal region (PAR) on chromosome X, no extra parameter is necessary. For files containing the non-PAR region, please ensure the following:&lt;br /&gt;
&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as diploids&#039;&#039;&#039;, then just add handle &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt;. This will NOT generate sex information in the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file.&lt;br /&gt;
** If you still need the sex column in &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file to be correctly updated, then supply a sex file using &amp;lt;code&amp;gt;--sexFile SomeFile&amp;lt;/code&amp;gt; where &amp;lt;code&amp;gt;SomeFile&amp;lt;/code&amp;gt; has two columns: the first column has the sample names as found in the VCF file, and the second columns has M (for males) or F (for females).&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as haploids&#039;&#039;&#039; and &#039;&#039;&#039;also has GT information&#039;&#039;&#039;, the tool with automatically determine the sex of the samples and report them in the output &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file. No extra parameters are required.&lt;br /&gt;
** If GT tags are NOT available, you would need to supply the sex file as described above. Otherwise it will throw an error.&lt;br /&gt;
** &#039;&#039;&#039;NOTE&#039;&#039;&#039;: If your VCF file has males as haploids, do NOT use &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt; as the code would NOT throw any error, but the output results would be erroneous.&lt;br /&gt;
&lt;br /&gt;
= Command Line Options =&lt;br /&gt;
&lt;br /&gt;
The command options for DosageConvertor are explained below. &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;code&amp;gt;--vcfDose&amp;lt;/code&amp;gt; is a mandatory parameter indicating the minimac3/4 VCF dosage file to be converted&lt;br /&gt;
*&amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt; is the info file generated by minimac3/4 at the same time as the VCF dosage file. This parameter is optional, but if NO info file is provided, the output MaCH info file will have missing columns&lt;br /&gt;
*&amp;lt;code&amp;gt;--prefix&amp;lt;/code&amp;gt; sets the prefix for output files (default value: &amp;lt;code&amp;gt;Converted.Dosage&amp;lt;/code&amp;gt;)&lt;br /&gt;
*&amp;lt;code&amp;gt;--type&amp;lt;/code&amp;gt; sets the output file format (available options: &amp;lt;code&amp;gt;plink&amp;lt;/code&amp;gt; (default) or &amp;lt;code&amp;gt;mach&amp;lt;/code&amp;gt;)&lt;br /&gt;
*&amp;lt;code&amp;gt;--tag&amp;lt;/code&amp;gt; indicates whether to import imputed values from dosages (&amp;lt;code&amp;gt;DS&amp;lt;/code&amp;gt;: default), genotype probabilities (&amp;lt;code&amp;gt;GP&amp;lt;/code&amp;gt;), or hard genotype calls (&amp;lt;code&amp;gt;GT&amp;lt;/code&amp;gt;) from the input VCF file&lt;br /&gt;
*&amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; sets the format of the converted output file. &lt;br /&gt;
**If &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1, 2, or 3. Each of these values correspond to the three different formats available for PLINK dosage files (details given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here])&lt;br /&gt;
**If &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1 or 2. Details are given in [[#Convert to MaCH Files| Convert to MaCH Files]] &lt;br /&gt;
*&amp;lt;code&amp;gt;--buffer&amp;lt;/code&amp;gt; sets the number of markers to import at a time (MaCH format only) (default value &amp;lt;code&amp;gt;10000&amp;lt;/code&amp;gt;)&lt;br /&gt;
*&amp;lt;code&amp;gt;--idDelimiter&amp;lt;/code&amp;gt; denotes the delimiter character used to split &#039;&#039;&#039;VCF Sample ID&#039;&#039;&#039; into &#039;&#039;&#039;FID&#039;&#039;&#039; and &#039;&#039;&#039;IID&#039;&#039;&#039; for PLINK format&lt;br /&gt;
*&amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt; denotes whether to assume all samples are diploid (necessary for chromosome X). If this handle is on, the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; will NOT contain any sex information.&lt;br /&gt;
*&amp;lt;code&amp;gt;--sexFile&amp;lt;/code&amp;gt; denotes the sex file which should have two columns: the first column has the sample names as found in the VCF file, and the second columns has M (for males) or F (for females). &lt;br /&gt;
*&amp;lt;code&amp;gt;--TrimAlleles&amp;lt;/code&amp;gt; denotes whether to trim length of alleles and variants IDs since PLINK does NOT allow really long character sequences.&lt;br /&gt;
&lt;br /&gt;
= Contact =&lt;br /&gt;
&lt;br /&gt;
In case of any queries and bugs please contact [mailto:sayantan@umich.edu Sayantan Das].&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14774</id>
		<title>DosageConvertor</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14774"/>
		<updated>2017-07-11T23:08:03Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: /* Command Line Options */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
* &#039;&#039;&#039;Download/Re-Clone Release Version 1.0.4 (Updated July 2017) !&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
DosageConvertor is a C++ tool to convert dosage files (in VCF format) from [[Minimac4| Minimac3/4]] to other formats such as MaCH or PLINK.&lt;br /&gt;
&lt;br /&gt;
= Download =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VERSION: 1.0.4 (Updated 7.12.2017) !&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[NOTE: Cloning from GitHub is recommened so that updates can be easily pulled back]&#039;&#039;&#039;&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;
! Description&lt;br /&gt;
! Download Link&lt;br /&gt;
|- &lt;br /&gt;
| Github Repository &lt;br /&gt;
| &lt;br /&gt;
[https://github.com/Santy-8128/DosageConvertor DosageConvertor - Github] &lt;br /&gt;
|- &lt;br /&gt;
| Source Files &lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz  UNIX Users ]&lt;br /&gt;
|- &lt;br /&gt;
| Binary Executable &amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt; &lt;br /&gt;
(Ubuntu 4.8.4)&lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertorExecutable.tar.gz  UNIX Users ]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt;&#039;&#039;&#039; Binary executables are NOT guaranteed to run on every LINUX machine. Please compile from source files if you have trouble with the executable, or clone from the [https://github.com/Santy-8128/DosageConvertor github repository]. Else contact the author [mailto:sayantan@umich.edu Sayantan Das].&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
&lt;br /&gt;
Users should follow the following steps to compile &#039;&#039;&#039;DosageConvertor &#039;&#039;&#039; (if they downloaded the source files).&lt;br /&gt;
&lt;br /&gt;
 ## EXTRACT M3VCFTOOLS AND COMPILE&lt;br /&gt;
 &amp;amp;nbsp;&lt;br /&gt;
 wget ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 tar -xzvf DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 cd DosageConvertor/&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
= Usage=&lt;br /&gt;
== Convert to PLINK Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert a input VCF dosage file to a PLINK dosage file, which can be used for downstream analysis using [https://www.cog-genomics.org/plink2 PLINK1.9] or [https://www.cog-genomics.org/plink/2.0/ PLINK2.0]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info          (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         plink                            (default)&lt;br /&gt;
                           --format       1                                (or 2,3)&lt;br /&gt;
&lt;br /&gt;
This command will create three files :  &amp;lt;code&amp;gt; OutPrefix.plink.dosage.gz, OutPrefix.fam, OutPrefix.map&amp;lt;/code&amp;gt;. The &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;.map&amp;lt;/code&amp;gt; formats are described [http://zzz.bwh.harvard.edu/plink/data.shtml#map here]. The &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can take values 1, 2 and 3. Each of these values correspond to the three different formats available for PLINK dosage files (details on PLINK dosage files are given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here]). Note that the generated &amp;lt;code&amp;gt;OutPrefix.map&amp;lt;/code&amp;gt; does NOT contain any phenotype information (which will need to be manually edited before PLINK can perform association tests). The &amp;lt;code&amp;gt;OutPrefix.fam&amp;lt;/code&amp;gt; will NOT contain sex information unless chromosome X is available. See [[#Converting Chromosome X Files | Converting Chromosome X Files]] for details.&lt;br /&gt;
&lt;br /&gt;
== Convert to MaCH Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert an input VCF dosage file to a MaCH/minimac dosage file (the format for previous versions of [[Minimac | minimac]]). The generated dosage files can be tested for association using [http://genome.sph.umich.edu/wiki/Mach2dat:_Association_with_MACH_output mach2dat]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info         (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         mach&lt;br /&gt;
                           --format       1                               (or 2)&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, the &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can only take values 1 and 2. &lt;br /&gt;
&lt;br /&gt;
*If the value is 1, the code generates &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; contains the expected alternate allele count (one value per sample per marker). &lt;br /&gt;
*If the value is 2, it generates &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; contains the genotype likelihoods for reference homozygote and heterozygote (two values per sample per marker). &lt;br /&gt;
&lt;br /&gt;
Note that inputting the info file using &amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt; is optional. However, if this info file is NOT provided, the output &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt; file will have some empty columns. Thus, if available, the generated info file should be provided along with the VCF file as input.&lt;br /&gt;
&lt;br /&gt;
== Converting Chromosome X Files ==&lt;br /&gt;
&lt;br /&gt;
For a minimac3/4 output file containing the pseudo-autosomal region (PAR) on chromosome X, no extra parameter is necessary. For files containing the non-PAR region, please ensure the following:&lt;br /&gt;
&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as diploids&#039;&#039;&#039;, then just add handle &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt;. This will NOT generate sex information in the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file.&lt;br /&gt;
** If you still need the sex column in &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file to be correctly updated, then supply a sex file using &amp;lt;code&amp;gt;--sexFile SomeFile&amp;lt;/code&amp;gt; where &amp;lt;code&amp;gt;SomeFile&amp;lt;/code&amp;gt; has two columns: the first column has the sample names as found in the VCF file, and the second columns has M (for males) or F (for females).&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as haploids&#039;&#039;&#039; and &#039;&#039;&#039;also has GT information&#039;&#039;&#039;, the tool with automatically determine the sex of the samples and report them in the output &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file. No extra parameters are required.&lt;br /&gt;
** If GT tags are NOT available, you would need to supply the sex file as described above. Otherwise it will throw an error.&lt;br /&gt;
** &#039;&#039;&#039;NOTE&#039;&#039;&#039;: If your VCF file has males as haploids, do NOT use &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt; as the code would NOT throw any error, but the output results would be erroneous.&lt;br /&gt;
&lt;br /&gt;
= Command Line Options =&lt;br /&gt;
&lt;br /&gt;
The command options for DosageConvertor are explained below. &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;code&amp;gt;--vcfDose&amp;lt;/code&amp;gt; is a mandatory parameter indicating the minimac3/4 VCF dosage file to be converted&lt;br /&gt;
*&amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt; is the info file generated by minimac3/4 at the same time as the VCF dosage file. This parameter is optional, but if NO info file is provided, the output MaCH info file will have missing columns&lt;br /&gt;
*&amp;lt;code&amp;gt;--prefix&amp;lt;/code&amp;gt; sets the prefix for output files (default value: &amp;lt;code&amp;gt;Converted.Dosage&amp;lt;/code&amp;gt;)&lt;br /&gt;
*&amp;lt;code&amp;gt;--type&amp;lt;/code&amp;gt; denotes the output file format (available options: &amp;lt;code&amp;gt;plink&amp;lt;/code&amp;gt; (default) or &amp;lt;code&amp;gt;mach&amp;lt;/code&amp;gt;)&lt;br /&gt;
*&amp;lt;code&amp;gt;--tag&amp;lt;/code&amp;gt; indicates whether to import imputed values from dosage (&amp;lt;code&amp;gt;DS&amp;lt;/code&amp;gt;: default), genotype probabilities (&amp;lt;code&amp;gt;GP&amp;lt;/code&amp;gt;), or hard genotypes calls (&amp;lt;code&amp;gt;GT&amp;lt;/code&amp;gt;) from the input VCF file&lt;br /&gt;
*&amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; decides the format of the converted output file. If &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1, 2 and 3. Each of these values correspond to the three different formats available for PLINK dosage files (details given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here]). If &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can only take values 1 and 2. Details are given in [[#Convert to MaCH Files| Convert to MaCH Files]] &lt;br /&gt;
*&amp;lt;code&amp;gt;--buffer&amp;lt;/code&amp;gt; denotes the number of markers to import at a time (valid only for MaCH format) (default value &amp;lt;code&amp;gt;10000&amp;lt;/code&amp;gt;). &lt;br /&gt;
*&amp;lt;code&amp;gt;--idDelimiter&amp;lt;/code&amp;gt; denotes the delimiter to Split VCF Sample ID into FID and IID for PLINK format.&lt;br /&gt;
*&amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt; denotes whether to assume all samples are diploids (necessary for chromosome X). If this handle is on, the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; will NOT contain any sex information.&lt;br /&gt;
*&amp;lt;code&amp;gt;--sexFile&amp;lt;/code&amp;gt; denotes the sex file which should have two columns: the first column has the sample names as found in the VCF file, and the second columns has M (for males) or F (for females). &lt;br /&gt;
*&amp;lt;code&amp;gt;--TrimAlleles&amp;lt;/code&amp;gt; denotes whether to trim length of alleles and variants IDs since PLINK does NOT allow really long character sequences.&lt;br /&gt;
&lt;br /&gt;
= Contact =&lt;br /&gt;
&lt;br /&gt;
In case of any queries and bugs please contact [mailto:sayantan@umich.edu Sayantan Das].&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14771</id>
		<title>DosageConvertor</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14771"/>
		<updated>2017-07-11T22:50:32Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: /* Command Line Options */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
* &#039;&#039;&#039;Download/Re-Clone Release Version 1.0.4 (Updated July 2017) !&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
DosageConvertor is a C++ tool to convert dosage files (in VCF format) from [[Minimac4| Minimac3/4]] to other formats such as MaCH or PLINK.&lt;br /&gt;
&lt;br /&gt;
= Download =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VERSION: 1.0.4 (Updated 7.12.2017) !&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[NOTE: Cloning from GitHub is recommened so that updates can be easily pulled back]&#039;&#039;&#039;&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;
! Description&lt;br /&gt;
! Download Link&lt;br /&gt;
|- &lt;br /&gt;
| Github Repository &lt;br /&gt;
| &lt;br /&gt;
[https://github.com/Santy-8128/DosageConvertor DosageConvertor - Github] &lt;br /&gt;
|- &lt;br /&gt;
| Source Files &lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz  UNIX Users ]&lt;br /&gt;
|- &lt;br /&gt;
| Binary Executable &amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt; &lt;br /&gt;
(Ubuntu 4.8.4)&lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertorExecutable.tar.gz  UNIX Users ]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt;&#039;&#039;&#039; Binary executables are NOT guaranteed to run on every LINUX machine. Please compile from source files if you have trouble with the executable, or clone from the [https://github.com/Santy-8128/DosageConvertor github repository]. Else contact the author [mailto:sayantan@umich.edu Sayantan Das].&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
&lt;br /&gt;
Users should follow the following steps to compile &#039;&#039;&#039;DosageConvertor &#039;&#039;&#039; (if they downloaded the source files).&lt;br /&gt;
&lt;br /&gt;
 ## EXTRACT M3VCFTOOLS AND COMPILE&lt;br /&gt;
 &amp;amp;nbsp;&lt;br /&gt;
 wget ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 tar -xzvf DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 cd DosageConvertor/&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
= Usage=&lt;br /&gt;
== Convert to PLINK Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert a input VCF dosage file to a PLINK dosage file, which can be used for downstream analysis using [https://www.cog-genomics.org/plink2 PLINK1.9] or [https://www.cog-genomics.org/plink/2.0/ PLINK2.0]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info          (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         plink                            (default)&lt;br /&gt;
                           --format       1                                (or 2,3)&lt;br /&gt;
&lt;br /&gt;
This command will create three files :  &amp;lt;code&amp;gt; OutPrefix.plink.dosage.gz, OutPrefix.fam, OutPrefix.map&amp;lt;/code&amp;gt;. The &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;.map&amp;lt;/code&amp;gt; formats are described [http://zzz.bwh.harvard.edu/plink/data.shtml#map here]. The &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can take values 1, 2 and 3. Each of these values correspond to the three different formats available for PLINK dosage files (details on PLINK dosage files are given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here]). Note that the generated &amp;lt;code&amp;gt;OutPrefix.map&amp;lt;/code&amp;gt; does NOT contain any phenotype information (which will need to be manually edited before PLINK can perform association tests). The &amp;lt;code&amp;gt;OutPrefix.fam&amp;lt;/code&amp;gt; will NOT contain sex information unless chromosome X is available. See [[#Converting Chromosome X Files | Converting Chromosome X Files]] for details.&lt;br /&gt;
&lt;br /&gt;
== Convert to MaCH Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert an input VCF dosage file to a MaCH/minimac dosage file (the format for previous versions of [[Minimac | minimac]]). The generated dosage files can be tested for association using [http://genome.sph.umich.edu/wiki/Mach2dat:_Association_with_MACH_output mach2dat]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info         (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         mach&lt;br /&gt;
                           --format       1                               (or 2)&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, the &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can only take values 1 and 2. &lt;br /&gt;
&lt;br /&gt;
*If the value is 1, the code generates &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; contains the expected alternate allele count (one value per sample per marker). &lt;br /&gt;
*If the value is 2, it generates &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; contains the genotype likelihoods for reference homozygote and heterozygote (two values per sample per marker). &lt;br /&gt;
&lt;br /&gt;
Note that inputting the info file using &amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt; is optional. However, if this info file is NOT provided, the output &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt; file will have some empty columns. Thus, if available, the generated info file should be provided along with the VCF file as input.&lt;br /&gt;
&lt;br /&gt;
== Converting Chromosome X Files ==&lt;br /&gt;
&lt;br /&gt;
For a minimac3/4 output file containing the pseudo-autosomal region (PAR) on chromosome X, no extra parameter is necessary. For files containing the non-PAR region, please ensure the following:&lt;br /&gt;
&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as diploids&#039;&#039;&#039;, then just add handle &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt;. This will NOT generate sex information in the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file.&lt;br /&gt;
** If you still need the sex column in &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file to be correctly updated, then supply a sex file using &amp;lt;code&amp;gt;--sexFile SomeFile&amp;lt;/code&amp;gt; where &amp;lt;code&amp;gt;SomeFile&amp;lt;/code&amp;gt; has two columns: the first column has the sample names as found in the VCF file, and the second columns has M (for males) or F (for females).&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as haploids&#039;&#039;&#039; and &#039;&#039;&#039;also has GT information&#039;&#039;&#039;, the tool with automatically determine the sex of the samples and report them in the output &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file. No extra parameters are required.&lt;br /&gt;
** If GT tags are NOT available, you would need to supply the sex file as described above. Otherwise it will throw an error.&lt;br /&gt;
** &#039;&#039;&#039;NOTE&#039;&#039;&#039;: If your VCF file has males as haploids, do NOT use &amp;lt;code&amp;gt;--allDiploid&amp;lt;/code&amp;gt; as the code would NOT throw any error, but the output results would be erroneous.&lt;br /&gt;
&lt;br /&gt;
= Command Line Options =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The command options for DosageConvertor are explained below. &lt;br /&gt;
*&amp;lt;code&amp;gt;--vcfDose&amp;lt;/code&amp;gt; is a mandatory parameter indicating the minimac3/4 VCF dosage file to be converted&lt;br /&gt;
*&amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt; is the info file generated by minimac3/4 at the same time as the VCF dosage file. This parameter is optional, but if NO info file is provided, the output MaCH info file will have some missing columns. &lt;br /&gt;
*&amp;lt;code&amp;gt;--prefix&amp;lt;/code&amp;gt; denotes the output file prefix (default value: &amp;lt;code&amp;gt;Converted.Dosage&amp;lt;/code&amp;gt;). &lt;br /&gt;
*&amp;lt;code&amp;gt;--type&amp;lt;/code&amp;gt; denotes the output file format (available handles: &amp;lt;code&amp;gt;plink&amp;lt;/code&amp;gt; (default) and &amp;lt;code&amp;gt;mach&amp;lt;/code&amp;gt;). &lt;br /&gt;
*&amp;lt;code&amp;gt;--tag&amp;lt;/code&amp;gt; decides whether to import imputed values from dosage (&amp;lt;code&amp;gt;DS&amp;lt;/code&amp;gt;: default), or genotype probabilities (&amp;lt;code&amp;gt;GP&amp;lt;/code&amp;gt;), or hard call genotypes (&amp;lt;code&amp;gt;GT&amp;lt;/code&amp;gt;) of the input VCF file.&lt;br /&gt;
*&amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; decides the format of the output file. If &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1, 2 and 3. Each of these values correspond to the three different formats available for PLINK dosage files (details given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here]). If &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can only take values 1 and 2. Details are given in [[#Convert to MaCH Files]] &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;code&amp;gt;--buffer&amp;lt;/code&amp;gt; denotes the number of markers to import at a time (valid only for MaCH format) (default value &amp;lt;code&amp;gt;10000&amp;lt;/code&amp;gt;). &lt;br /&gt;
*&amp;lt;code&amp;gt;--idDelimiter&amp;lt;/code&amp;gt; denotes the delimiter to Split VCF Sample ID into FID and IID for PLINK format (default value &amp;lt;code&amp;gt;_&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
 Usage: ./DosageConvertor  --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info&lt;br /&gt;
                           --prefix       OutputFilePrefix&lt;br /&gt;
                           --type         plink OR mach   // depending on output format&lt;br /&gt;
                           --format       DS or GP        // based on if you want to output&lt;br /&gt;
                                                          // dosage (DS) or genotype prob (GP)&lt;br /&gt;
                           --buffer       10000           // Number of Markers to import and&lt;br /&gt;
                                                          // print at a time (valid only for&lt;br /&gt;
                                                          // MaCH format)&lt;br /&gt;
                           --idDelimiter  _               // Delimiter to Split VCF Sample ID into&lt;br /&gt;
                                                          // FID and IID for PLINK format&lt;br /&gt;
&lt;br /&gt;
= Contact =&lt;br /&gt;
&lt;br /&gt;
In case of any queries and bugs please contact [mailto:sayantan@umich.edu Sayantan Das].&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14769</id>
		<title>DosageConvertor</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14769"/>
		<updated>2017-07-11T22:48:36Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: /* Converting Chromosome X Files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
* &#039;&#039;&#039;Download/Re-Clone Release Version 1.0.4 (Updated July 2017) !&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
DosageConvertor is a C++ tool to convert dosage files (in VCF format) from [[Minimac4| Minimac3/4]] to other formats such as MaCH or PLINK.&lt;br /&gt;
&lt;br /&gt;
= Download =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VERSION: 1.0.4 (Updated 7.12.2017) !&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[NOTE: Cloning from GitHub is recommened so that updates can be easily pulled back]&#039;&#039;&#039;&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;
! Description&lt;br /&gt;
! Download Link&lt;br /&gt;
|- &lt;br /&gt;
| Github Repository &lt;br /&gt;
| &lt;br /&gt;
[https://github.com/Santy-8128/DosageConvertor DosageConvertor - Github] &lt;br /&gt;
|- &lt;br /&gt;
| Source Files &lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz  UNIX Users ]&lt;br /&gt;
|- &lt;br /&gt;
| Binary Executable &amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt; &lt;br /&gt;
(Ubuntu 4.8.4)&lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertorExecutable.tar.gz  UNIX Users ]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt;&#039;&#039;&#039; Binary executables are NOT guaranteed to run on every LINUX machine. Please compile from source files if you have trouble with the executable, or clone from the [https://github.com/Santy-8128/DosageConvertor github repository]. Else contact the author [mailto:sayantan@umich.edu Sayantan Das].&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
&lt;br /&gt;
Users should follow the following steps to compile &#039;&#039;&#039;DosageConvertor &#039;&#039;&#039; (if they downloaded the source files).&lt;br /&gt;
&lt;br /&gt;
 ## EXTRACT M3VCFTOOLS AND COMPILE&lt;br /&gt;
 &amp;amp;nbsp;&lt;br /&gt;
 wget ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 tar -xzvf DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 cd DosageConvertor/&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
= Usage=&lt;br /&gt;
== Convert to PLINK Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert a input VCF dosage file to a PLINK dosage file, which can be used for downstream analysis using [https://www.cog-genomics.org/plink2 PLINK1.9] or [https://www.cog-genomics.org/plink/2.0/ PLINK2.0]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info          (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         plink                            (default)&lt;br /&gt;
                           --format       1                                (or 2,3)&lt;br /&gt;
&lt;br /&gt;
This command will create three files :  &amp;lt;code&amp;gt; OutPrefix.plink.dosage.gz, OutPrefix.fam, OutPrefix.map&amp;lt;/code&amp;gt;. The &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;.map&amp;lt;/code&amp;gt; formats are described [http://zzz.bwh.harvard.edu/plink/data.shtml#map here]. The &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can take values 1, 2 and 3. Each of these values correspond to the three different formats available for PLINK dosage files (details on PLINK dosage files are given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here]). Note that the generated &amp;lt;code&amp;gt;OutPrefix.map&amp;lt;/code&amp;gt; does NOT contain any phenotype information (which will need to be manually edited before PLINK can perform association tests). The &amp;lt;code&amp;gt;OutPrefix.fam&amp;lt;/code&amp;gt; will NOT contain sex information unless chromosome X is available. See [[#Converting Chromosome X Files | Converting Chromosome X Files]] for details.&lt;br /&gt;
&lt;br /&gt;
== Convert to MaCH Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert an input VCF dosage file to a MaCH/minimac dosage file (the format for previous versions of [[Minimac | minimac]]). The generated dosage files can be tested for association using [http://genome.sph.umich.edu/wiki/Mach2dat:_Association_with_MACH_output mach2dat]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info         (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         mach&lt;br /&gt;
                           --format       1                               (or 2)&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, the &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can only take values 1 and 2. &lt;br /&gt;
&lt;br /&gt;
*If the value is 1, the code generates &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; contains the expected alternate allele count (one value per sample per marker). &lt;br /&gt;
*If the value is 2, it generates &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; contains the genotype likelihoods for reference homozygote and heterozygote (two values per sample per marker). &lt;br /&gt;
&lt;br /&gt;
Note that inputting the info file using &amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt; is optional. However, if this info file is NOT provided, the output &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt; file will have some empty columns. Thus, if available, the generated info file should be provided along with the VCF file as input.&lt;br /&gt;
&lt;br /&gt;
== Converting Chromosome X Files ==&lt;br /&gt;
&lt;br /&gt;
For a minimac3/4 output file containing the pseudo-autosomal region (PAR) on chromosome X, no extra parameter is necessary. For files containing the non-PAR region, please ensure the following:&lt;br /&gt;
&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as diploids&#039;&#039;&#039;, then just add handle &amp;lt;code&amp;gt;--samePloidy&amp;lt;/code&amp;gt;. This will NOT generate sex information in the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file.&lt;br /&gt;
** If you still need the sex column in &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file to be correctly updated, then supply a sex file using &amp;lt;code&amp;gt;--sexFile SomeFile&amp;lt;/code&amp;gt; where &amp;lt;code&amp;gt;SomeFile&amp;lt;/code&amp;gt; has two columns: the first column has the sample names as found in the VCF file, and the second columns has M (for males) or F (for females).&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as haploids&#039;&#039;&#039; and &#039;&#039;&#039;also has GT information&#039;&#039;&#039;, the tool with automatically determine the sex of the samples and report them in the output &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file. No extra parameters are required.&lt;br /&gt;
** If GT tags are NOT available, you would need to supply the sex file as described above. Otherwise it will throw an error.&lt;br /&gt;
** &#039;&#039;&#039;NOTE&#039;&#039;&#039;: If your VCF file has males as haploids, do NOT use &amp;lt;code&amp;gt;--samePloidy&amp;lt;/code&amp;gt; as the code would NOT throw any error, but the output results would be erroneous.&lt;br /&gt;
&lt;br /&gt;
= Command Line Options =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The command options for DosageConvertor are explained below. &lt;br /&gt;
*&amp;lt;code&amp;gt;--vcfDose&amp;lt;/code&amp;gt; is a mandatory parameter requiring the input VCF dosage file from minimac3/4. &lt;br /&gt;
*&amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt; denotes the info file from the same imputation output. This parameter is optional, but if NO info file is provided, the output MaCH info file will have some missing columns. &lt;br /&gt;
*&amp;lt;code&amp;gt;--prefix&amp;lt;/code&amp;gt; denotes the output file prefix (default value: &amp;lt;code&amp;gt;Converted.Dosage&amp;lt;/code&amp;gt;). &lt;br /&gt;
*&amp;lt;code&amp;gt;--type&amp;lt;/code&amp;gt; denotes the output file format (available handles: &amp;lt;code&amp;gt;plink&amp;lt;/code&amp;gt; (default) and &amp;lt;code&amp;gt;mach&amp;lt;/code&amp;gt;). &lt;br /&gt;
*&amp;lt;code&amp;gt;--tag&amp;lt;/code&amp;gt; decides whether to import imputed values from dosage (&amp;lt;code&amp;gt;DS&amp;lt;/code&amp;gt;: default), or genotype probabilities (&amp;lt;code&amp;gt;GP&amp;lt;/code&amp;gt;), or hard call genotypes (&amp;lt;code&amp;gt;GT&amp;lt;/code&amp;gt;) of the input VCF file.&lt;br /&gt;
*&amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; decides the format of the output file. If &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1, 2 and 3. Each of these values correspond to the three different formats available for PLINK dosage files (details given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here]). If &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can only take values 1 and 2. Details are given in [[#Convert to MaCH Files]] &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;code&amp;gt;--buffer&amp;lt;/code&amp;gt; denotes the number of markers to import at a time (valid only for MaCH format) (default value &amp;lt;code&amp;gt;10000&amp;lt;/code&amp;gt;). &lt;br /&gt;
*&amp;lt;code&amp;gt;--idDelimiter&amp;lt;/code&amp;gt; denotes the delimiter to Split VCF Sample ID into FID and IID for PLINK format (default value &amp;lt;code&amp;gt;_&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
 Usage: ./DosageConvertor  --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info&lt;br /&gt;
                           --prefix       OutputFilePrefix&lt;br /&gt;
                           --type         plink OR mach   // depending on output format&lt;br /&gt;
                           --format       DS or GP        // based on if you want to output&lt;br /&gt;
                                                          // dosage (DS) or genotype prob (GP)&lt;br /&gt;
                           --buffer       10000           // Number of Markers to import and&lt;br /&gt;
                                                          // print at a time (valid only for&lt;br /&gt;
                                                          // MaCH format)&lt;br /&gt;
                           --idDelimiter  _               // Delimiter to Split VCF Sample ID into&lt;br /&gt;
                                                          // FID and IID for PLINK format&lt;br /&gt;
&lt;br /&gt;
= Contact =&lt;br /&gt;
&lt;br /&gt;
In case of any queries and bugs please contact [mailto:sayantan@umich.edu Sayantan Das].&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14768</id>
		<title>DosageConvertor</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14768"/>
		<updated>2017-07-11T22:47:49Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: /* Converting Chromosome X Files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
* &#039;&#039;&#039;Download/Re-Clone Release Version 1.0.4 (Updated July 2017) !&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
DosageConvertor is a C++ tool to convert dosage files (in VCF format) from [[Minimac4| Minimac3/4]] to other formats such as MaCH or PLINK.&lt;br /&gt;
&lt;br /&gt;
= Download =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VERSION: 1.0.4 (Updated 7.12.2017) !&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[NOTE: Cloning from GitHub is recommened so that updates can be easily pulled back]&#039;&#039;&#039;&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;
! Description&lt;br /&gt;
! Download Link&lt;br /&gt;
|- &lt;br /&gt;
| Github Repository &lt;br /&gt;
| &lt;br /&gt;
[https://github.com/Santy-8128/DosageConvertor DosageConvertor - Github] &lt;br /&gt;
|- &lt;br /&gt;
| Source Files &lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz  UNIX Users ]&lt;br /&gt;
|- &lt;br /&gt;
| Binary Executable &amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt; &lt;br /&gt;
(Ubuntu 4.8.4)&lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertorExecutable.tar.gz  UNIX Users ]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt;&#039;&#039;&#039; Binary executables are NOT guaranteed to run on every LINUX machine. Please compile from source files if you have trouble with the executable, or clone from the [https://github.com/Santy-8128/DosageConvertor github repository]. Else contact the author [mailto:sayantan@umich.edu Sayantan Das].&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
&lt;br /&gt;
Users should follow the following steps to compile &#039;&#039;&#039;DosageConvertor &#039;&#039;&#039; (if they downloaded the source files).&lt;br /&gt;
&lt;br /&gt;
 ## EXTRACT M3VCFTOOLS AND COMPILE&lt;br /&gt;
 &amp;amp;nbsp;&lt;br /&gt;
 wget ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 tar -xzvf DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 cd DosageConvertor/&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
= Usage=&lt;br /&gt;
== Convert to PLINK Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert a input VCF dosage file to a PLINK dosage file, which can be used for downstream analysis using [https://www.cog-genomics.org/plink2 PLINK1.9] or [https://www.cog-genomics.org/plink/2.0/ PLINK2.0]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info          (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         plink                            (default)&lt;br /&gt;
                           --format       1                                (or 2,3)&lt;br /&gt;
&lt;br /&gt;
This command will create three files :  &amp;lt;code&amp;gt; OutPrefix.plink.dosage.gz, OutPrefix.fam, OutPrefix.map&amp;lt;/code&amp;gt;. The &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;.map&amp;lt;/code&amp;gt; formats are described [http://zzz.bwh.harvard.edu/plink/data.shtml#map here]. The &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can take values 1, 2 and 3. Each of these values correspond to the three different formats available for PLINK dosage files (details on PLINK dosage files are given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here]). Note that the generated &amp;lt;code&amp;gt;OutPrefix.map&amp;lt;/code&amp;gt; does NOT contain any phenotype information (which will need to be manually edited before PLINK can perform association tests). The &amp;lt;code&amp;gt;OutPrefix.fam&amp;lt;/code&amp;gt; will NOT contain sex information unless chromosome X is available. See [[#Converting Chromosome X Files | Converting Chromosome X Files]] for details.&lt;br /&gt;
&lt;br /&gt;
== Convert to MaCH Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert an input VCF dosage file to a MaCH/minimac dosage file (the format for previous versions of [[Minimac | minimac]]). The generated dosage files can be tested for association using [http://genome.sph.umich.edu/wiki/Mach2dat:_Association_with_MACH_output mach2dat]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info         (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         mach&lt;br /&gt;
                           --format       1                               (or 2)&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, the &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can only take values 1 and 2. &lt;br /&gt;
&lt;br /&gt;
*If the value is 1, the code generates &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; contains the expected alternate allele count (one value per sample per marker). &lt;br /&gt;
*If the value is 2, it generates &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; contains the genotype likelihoods for reference homozygote and heterozygote (two values per sample per marker). &lt;br /&gt;
&lt;br /&gt;
Note that inputting the info file using &amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt; is optional. However, if this info file is NOT provided, the output &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt; file will have some empty columns. Thus, if available, the generated info file should be provided along with the VCF file as input.&lt;br /&gt;
&lt;br /&gt;
== Converting Chromosome X Files ==&lt;br /&gt;
&lt;br /&gt;
For a minimac3/4 output file containing the pseudo-autosomal region (PAR) on chromosome X, no extra parameter is necessary. For files containing the non-PAR region, please ensure the following:&lt;br /&gt;
&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as diploids&#039;&#039;&#039;, then just add handle &amp;lt;code&amp;gt;--samePloidy&amp;lt;/code&amp;gt;. This will NOT generate sex information in the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file.&lt;br /&gt;
** If you still need the sex column in &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file to be correctly updated, then supply a sex file using &amp;lt;code&amp;gt;--sexFile SomeFile&amp;lt;/code&amp;gt; where &amp;lt;code&amp;gt;SomeFile&amp;lt;/code&amp;gt; has two columns: the first column has the names of samples as found in the VCF file, the second columns has M (for males) or F (for females).&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as haploids&#039;&#039;&#039; and &#039;&#039;&#039;also has GT information&#039;&#039;&#039;, the tool with automatically determine the sex of the samples and report them in the output &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file. No extra parameters are required.&lt;br /&gt;
** If GT tags are NOT available, you would need to supply the sex file as described above. Otherwise it will throw an error.&lt;br /&gt;
** &#039;&#039;&#039;NOTE&#039;&#039;&#039;: If your VCF file has males as haploids, do NOT use &amp;lt;code&amp;gt;--samePloidy&amp;lt;/code&amp;gt; as the code would NOT throw any error, but the output results would be erroneous.&lt;br /&gt;
&lt;br /&gt;
= Command Line Options =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The command options for DosageConvertor are explained below. &lt;br /&gt;
*&amp;lt;code&amp;gt;--vcfDose&amp;lt;/code&amp;gt; is a mandatory parameter requiring the input VCF dosage file from minimac3/4. &lt;br /&gt;
*&amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt; denotes the info file from the same imputation output. This parameter is optional, but if NO info file is provided, the output MaCH info file will have some missing columns. &lt;br /&gt;
*&amp;lt;code&amp;gt;--prefix&amp;lt;/code&amp;gt; denotes the output file prefix (default value: &amp;lt;code&amp;gt;Converted.Dosage&amp;lt;/code&amp;gt;). &lt;br /&gt;
*&amp;lt;code&amp;gt;--type&amp;lt;/code&amp;gt; denotes the output file format (available handles: &amp;lt;code&amp;gt;plink&amp;lt;/code&amp;gt; (default) and &amp;lt;code&amp;gt;mach&amp;lt;/code&amp;gt;). &lt;br /&gt;
*&amp;lt;code&amp;gt;--tag&amp;lt;/code&amp;gt; decides whether to import imputed values from dosage (&amp;lt;code&amp;gt;DS&amp;lt;/code&amp;gt;: default), or genotype probabilities (&amp;lt;code&amp;gt;GP&amp;lt;/code&amp;gt;), or hard call genotypes (&amp;lt;code&amp;gt;GT&amp;lt;/code&amp;gt;) of the input VCF file.&lt;br /&gt;
*&amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; decides the format of the output file. If &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1, 2 and 3. Each of these values correspond to the three different formats available for PLINK dosage files (details given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here]). If &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can only take values 1 and 2. Details are given in [[#Convert to MaCH Files]] &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;code&amp;gt;--buffer&amp;lt;/code&amp;gt; denotes the number of markers to import at a time (valid only for MaCH format) (default value &amp;lt;code&amp;gt;10000&amp;lt;/code&amp;gt;). &lt;br /&gt;
*&amp;lt;code&amp;gt;--idDelimiter&amp;lt;/code&amp;gt; denotes the delimiter to Split VCF Sample ID into FID and IID for PLINK format (default value &amp;lt;code&amp;gt;_&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
 Usage: ./DosageConvertor  --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info&lt;br /&gt;
                           --prefix       OutputFilePrefix&lt;br /&gt;
                           --type         plink OR mach   // depending on output format&lt;br /&gt;
                           --format       DS or GP        // based on if you want to output&lt;br /&gt;
                                                          // dosage (DS) or genotype prob (GP)&lt;br /&gt;
                           --buffer       10000           // Number of Markers to import and&lt;br /&gt;
                                                          // print at a time (valid only for&lt;br /&gt;
                                                          // MaCH format)&lt;br /&gt;
                           --idDelimiter  _               // Delimiter to Split VCF Sample ID into&lt;br /&gt;
                                                          // FID and IID for PLINK format&lt;br /&gt;
&lt;br /&gt;
= Contact =&lt;br /&gt;
&lt;br /&gt;
In case of any queries and bugs please contact [mailto:sayantan@umich.edu Sayantan Das].&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14767</id>
		<title>DosageConvertor</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14767"/>
		<updated>2017-07-11T22:47:04Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: /* Convert to MaCH Files */ minor stylistic fixes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
* &#039;&#039;&#039;Download/Re-Clone Release Version 1.0.4 (Updated July 2017) !&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
DosageConvertor is a C++ tool to convert dosage files (in VCF format) from [[Minimac4| Minimac3/4]] to other formats such as MaCH or PLINK.&lt;br /&gt;
&lt;br /&gt;
= Download =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VERSION: 1.0.4 (Updated 7.12.2017) !&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[NOTE: Cloning from GitHub is recommened so that updates can be easily pulled back]&#039;&#039;&#039;&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;
! Description&lt;br /&gt;
! Download Link&lt;br /&gt;
|- &lt;br /&gt;
| Github Repository &lt;br /&gt;
| &lt;br /&gt;
[https://github.com/Santy-8128/DosageConvertor DosageConvertor - Github] &lt;br /&gt;
|- &lt;br /&gt;
| Source Files &lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz  UNIX Users ]&lt;br /&gt;
|- &lt;br /&gt;
| Binary Executable &amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt; &lt;br /&gt;
(Ubuntu 4.8.4)&lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertorExecutable.tar.gz  UNIX Users ]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt;&#039;&#039;&#039; Binary executables are NOT guaranteed to run on every LINUX machine. Please compile from source files if you have trouble with the executable, or clone from the [https://github.com/Santy-8128/DosageConvertor github repository]. Else contact the author [mailto:sayantan@umich.edu Sayantan Das].&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
&lt;br /&gt;
Users should follow the following steps to compile &#039;&#039;&#039;DosageConvertor &#039;&#039;&#039; (if they downloaded the source files).&lt;br /&gt;
&lt;br /&gt;
 ## EXTRACT M3VCFTOOLS AND COMPILE&lt;br /&gt;
 &amp;amp;nbsp;&lt;br /&gt;
 wget ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 tar -xzvf DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 cd DosageConvertor/&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
= Usage=&lt;br /&gt;
== Convert to PLINK Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert a input VCF dosage file to a PLINK dosage file, which can be used for downstream analysis using [https://www.cog-genomics.org/plink2 PLINK1.9] or [https://www.cog-genomics.org/plink/2.0/ PLINK2.0]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info          (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         plink                            (default)&lt;br /&gt;
                           --format       1                                (or 2,3)&lt;br /&gt;
&lt;br /&gt;
This command will create three files :  &amp;lt;code&amp;gt; OutPrefix.plink.dosage.gz, OutPrefix.fam, OutPrefix.map&amp;lt;/code&amp;gt;. The &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;.map&amp;lt;/code&amp;gt; formats are described [http://zzz.bwh.harvard.edu/plink/data.shtml#map here]. The &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can take values 1, 2 and 3. Each of these values correspond to the three different formats available for PLINK dosage files (details on PLINK dosage files are given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here]). Note that the generated &amp;lt;code&amp;gt;OutPrefix.map&amp;lt;/code&amp;gt; does NOT contain any phenotype information (which will need to be manually edited before PLINK can perform association tests). The &amp;lt;code&amp;gt;OutPrefix.fam&amp;lt;/code&amp;gt; will NOT contain sex information unless chromosome X is available. See [[#Converting Chromosome X Files | Converting Chromosome X Files]] for details.&lt;br /&gt;
&lt;br /&gt;
== Convert to MaCH Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert an input VCF dosage file to a MaCH/minimac dosage file (the format for previous versions of [[Minimac | minimac]]). The generated dosage files can be tested for association using [http://genome.sph.umich.edu/wiki/Mach2dat:_Association_with_MACH_output mach2dat]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info         (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         mach&lt;br /&gt;
                           --format       1                               (or 2)&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, the &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can only take values 1 and 2. &lt;br /&gt;
&lt;br /&gt;
*If the value is 1, the code generates &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; contains the expected alternate allele count (one value per sample per marker). &lt;br /&gt;
*If the value is 2, it generates &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt;, where &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; contains the genotype likelihoods for reference homozygote and heterozygote (two values per sample per marker). &lt;br /&gt;
&lt;br /&gt;
Note that inputting the info file using &amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt; is optional. However, if this info file is NOT provided, the output &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt; file will have some empty columns. Thus, if available, the generated info file should be provided along with the VCF file as input.&lt;br /&gt;
&lt;br /&gt;
== Converting Chromosome X Files ==&lt;br /&gt;
&lt;br /&gt;
For a minimac3/4 output file containing the pseudo-autosomal region (PAR) on chromosome X, no extra parameter is necessary. For files containing the non-PAR region, please ensure the following:&lt;br /&gt;
&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as diploids&#039;&#039;&#039;, then just add handle &amp;lt;code&amp;gt;--samePoidy&amp;lt;/code&amp;gt;. This will NOT generate sex information in the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file.&lt;br /&gt;
** If you still need the sex column in &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file to be correctly updated, then supply a sex file using &amp;lt;code&amp;gt;--sexFile SomeFile&amp;lt;/code&amp;gt; where &amp;lt;code&amp;gt;SomeFile&amp;lt;/code&amp;gt; has two columns: the first column has the names of samples as found in the VCF file, the second columns has M (for males) or F (for females).&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as haploids&#039;&#039;&#039; and &#039;&#039;&#039;also has GT information&#039;&#039;&#039;, the tool with automatically determine the sex of the samples and report them in the output &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file. No extra parameters are required.&lt;br /&gt;
** If GT tags are NOT available, you would need to supply the sex file as described above. Otherwise it will throw an error.&lt;br /&gt;
** &#039;&#039;&#039;NOTE&#039;&#039;&#039;: If your VCF file has males as haploids, do NOT use &amp;lt;code&amp;gt;--samePloidy&amp;lt;/code&amp;gt; as the code would NOT throw any error, but the output results would be erroneous.&lt;br /&gt;
&lt;br /&gt;
= Command Line Options =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The command options for DosageConvertor are explained below. &lt;br /&gt;
*&amp;lt;code&amp;gt;--vcfDose&amp;lt;/code&amp;gt; is a mandatory parameter requiring the input VCF dosage file from minimac3/4. &lt;br /&gt;
*&amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt; denotes the info file from the same imputation output. This parameter is optional, but if NO info file is provided, the output MaCH info file will have some missing columns. &lt;br /&gt;
*&amp;lt;code&amp;gt;--prefix&amp;lt;/code&amp;gt; denotes the output file prefix (default value: &amp;lt;code&amp;gt;Converted.Dosage&amp;lt;/code&amp;gt;). &lt;br /&gt;
*&amp;lt;code&amp;gt;--type&amp;lt;/code&amp;gt; denotes the output file format (available handles: &amp;lt;code&amp;gt;plink&amp;lt;/code&amp;gt; (default) and &amp;lt;code&amp;gt;mach&amp;lt;/code&amp;gt;). &lt;br /&gt;
*&amp;lt;code&amp;gt;--tag&amp;lt;/code&amp;gt; decides whether to import imputed values from dosage (&amp;lt;code&amp;gt;DS&amp;lt;/code&amp;gt;: default), or genotype probabilities (&amp;lt;code&amp;gt;GP&amp;lt;/code&amp;gt;), or hard call genotypes (&amp;lt;code&amp;gt;GT&amp;lt;/code&amp;gt;) of the input VCF file.&lt;br /&gt;
*&amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; decides the format of the output file. If &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can take values 1, 2 and 3. Each of these values correspond to the three different formats available for PLINK dosage files (details given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here]). If &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; can only take values 1 and 2. Details are given in [[#Convert to MaCH Files]] &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;code&amp;gt;--buffer&amp;lt;/code&amp;gt; denotes the number of markers to import at a time (valid only for MaCH format) (default value &amp;lt;code&amp;gt;10000&amp;lt;/code&amp;gt;). &lt;br /&gt;
*&amp;lt;code&amp;gt;--idDelimiter&amp;lt;/code&amp;gt; denotes the delimiter to Split VCF Sample ID into FID and IID for PLINK format (default value &amp;lt;code&amp;gt;_&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
 Usage: ./DosageConvertor  --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info&lt;br /&gt;
                           --prefix       OutputFilePrefix&lt;br /&gt;
                           --type         plink OR mach   // depending on output format&lt;br /&gt;
                           --format       DS or GP        // based on if you want to output&lt;br /&gt;
                                                          // dosage (DS) or genotype prob (GP)&lt;br /&gt;
                           --buffer       10000           // Number of Markers to import and&lt;br /&gt;
                                                          // print at a time (valid only for&lt;br /&gt;
                                                          // MaCH format)&lt;br /&gt;
                           --idDelimiter  _               // Delimiter to Split VCF Sample ID into&lt;br /&gt;
                                                          // FID and IID for PLINK format&lt;br /&gt;
&lt;br /&gt;
= Contact =&lt;br /&gt;
&lt;br /&gt;
In case of any queries and bugs please contact [mailto:sayantan@umich.edu Sayantan Das].&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14765</id>
		<title>DosageConvertor</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=DosageConvertor&amp;diff=14765"/>
		<updated>2017-07-11T22:41:40Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: /* Convert to PLINK Files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
* &#039;&#039;&#039;Download/Re-Clone Release Version 1.0.4 (Updated July 2017) !&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
DosageConvertor is a C++ tool to convert dosage files (in VCF format) from [[Minimac4| Minimac3/4]] to other formats such as MaCH or PLINK.&lt;br /&gt;
&lt;br /&gt;
= Download =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;VERSION: 1.0.4 (Updated 7.12.2017) !&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[NOTE: Cloning from GitHub is recommened so that updates can be easily pulled back]&#039;&#039;&#039;&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;
! Description&lt;br /&gt;
! Download Link&lt;br /&gt;
|- &lt;br /&gt;
| Github Repository &lt;br /&gt;
| &lt;br /&gt;
[https://github.com/Santy-8128/DosageConvertor DosageConvertor - Github] &lt;br /&gt;
|- &lt;br /&gt;
| Source Files &lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz  UNIX Users ]&lt;br /&gt;
|- &lt;br /&gt;
| Binary Executable &amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt; &lt;br /&gt;
(Ubuntu 4.8.4)&lt;br /&gt;
| &lt;br /&gt;
[ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertorExecutable.tar.gz  UNIX Users ]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;sup&amp;gt;&amp;amp;#8224;&amp;lt;/sup&amp;gt;&#039;&#039;&#039; Binary executables are NOT guaranteed to run on every LINUX machine. Please compile from source files if you have trouble with the executable, or clone from the [https://github.com/Santy-8128/DosageConvertor github repository]. Else contact the author [mailto:sayantan@umich.edu Sayantan Das].&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
&lt;br /&gt;
Users should follow the following steps to compile &#039;&#039;&#039;DosageConvertor &#039;&#039;&#039; (if they downloaded the source files).&lt;br /&gt;
&lt;br /&gt;
 ## EXTRACT M3VCFTOOLS AND COMPILE&lt;br /&gt;
 &amp;amp;nbsp;&lt;br /&gt;
 wget ftp://share.sph.umich.edu/minimac3/DosageConvertor/DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 tar -xzvf DosageConvertor.v1.0.3.tar.gz&lt;br /&gt;
 cd DosageConvertor/&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
= Usage=&lt;br /&gt;
== Convert to PLINK Files ==&lt;br /&gt;
&lt;br /&gt;
The following command will convert a input VCF dosage file to a PLINK dosage file, which can be used for downstream analysis using [https://www.cog-genomics.org/plink2 PLINK1.9] or [https://www.cog-genomics.org/plink/2.0/ PLINK2.0]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info          (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         plink                            (default)&lt;br /&gt;
                           --format       1                                (or 2,3)&lt;br /&gt;
&lt;br /&gt;
This command will create three files :  &amp;lt;code&amp;gt; OutPrefix.plink.dosage.gz, OutPrefix.fam, OutPrefix.map&amp;lt;/code&amp;gt;. The &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;.map&amp;lt;/code&amp;gt; formats are described [http://zzz.bwh.harvard.edu/plink/data.shtml#map here]. The &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can take values 1, 2 and 3. Each of these values correspond to the three different formats available for PLINK dosage files (details on PLINK dosage files are given [http://www.cog-genomics.org/plink/1.9/assoc#dosage here]). Note that the generated &amp;lt;code&amp;gt;OutPrefix.map&amp;lt;/code&amp;gt; does NOT contain any phenotype information (which will need to be manually edited before PLINK can perform association tests). The &amp;lt;code&amp;gt;OutPrefix.fam&amp;lt;/code&amp;gt; will NOT contain sex information unless chromosome X is available. See [[#Converting Chromosome X Files | Converting Chromosome X Files]] for details.&lt;br /&gt;
&lt;br /&gt;
== Convert to MaCH Files ==&lt;br /&gt;
&lt;br /&gt;
The following command line should convert a input VCF dosage file to a MaCH/minimac dosage file (the format that was available in the earlier versions of [[Minimac | minimac]]). The generated dosage files can be tested for association using [http://genome.sph.umich.edu/wiki/Mach2dat:_Association_with_MACH_output mach2dat]. &lt;br /&gt;
&lt;br /&gt;
 ./DosageConvertor         --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info         (optional)&lt;br /&gt;
                           --prefix       OutPrefix&lt;br /&gt;
                           --type         mach&lt;br /&gt;
                           --format       1                               (or 2)&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;code&amp;gt;--type mach&amp;lt;/code&amp;gt; is used, the &amp;lt;code&amp;gt;--format&amp;lt;/code&amp;gt; parameter can only take values 1 and 2. If the value is 1, the code generates &amp;lt;code&amp;gt; OutPrefix.mach.dose.gz, OutPrefix.info&amp;lt;/code&amp;gt; where &amp;lt;code&amp;gt;OutPrefix.mach.dose.gz&amp;lt;/code&amp;gt; contains the expected alternate allele count (one value per sample per marker). If the value is 2, it generates &amp;lt;code&amp;gt; OutPrefix.mach.gprob.gz, OutPrefix.info&amp;lt;/code&amp;gt; where &amp;lt;code&amp;gt;OutPrefix.mach.gprob.gz&amp;lt;/code&amp;gt; contains the genotype likelihoods for reference homozygote and heterozygote  (two values per sample per marker). Note that in the input &amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt; is NOT mandatory. However, if this info file is NOT provided, the output &amp;lt;code&amp;gt;OutPrefix.info&amp;lt;/code&amp;gt; file will have some empty columns. Thus, if available, the generated info file should be provided along with the VCF file as input.&lt;br /&gt;
&lt;br /&gt;
== Converting Chromosome X Files ==&lt;br /&gt;
&lt;br /&gt;
For a minimac3/4 output file containing the pseudo-autosomal region (PAR) on chromosome X, no extra parameter is necessary. For files containing the non-PAR region, please ensure the following:&lt;br /&gt;
&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as diploids&#039;&#039;&#039;, then just add handle &amp;lt;code&amp;gt;--samePoidy&amp;lt;/code&amp;gt;. This will NOT generate sex information in the output PLINK &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file.&lt;br /&gt;
** If you still need the sex column in &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file to be correctly updated, then supply a sex file using &amp;lt;code&amp;gt;--sexFile SomeFile&amp;lt;/code&amp;gt; where &amp;lt;code&amp;gt;SomeFile&amp;lt;/code&amp;gt; has two columns: the first column has the names of samples as found in the VCF file, the second columns has M (for males) or F (for females).&lt;br /&gt;
* If your input VCF dosage file has &#039;&#039;&#039;males as haploids&#039;&#039;&#039; and &#039;&#039;&#039;also has GT information&#039;&#039;&#039;, the tool with automatically determine the sex of the samples and report them in the output &amp;lt;code&amp;gt;.fam&amp;lt;/code&amp;gt; file. No extra parameters are required.&lt;br /&gt;
** If GT tags are NOT available, you would need to supply the sex file as described above. Otherwise it will throw an error.&lt;br /&gt;
** &#039;&#039;&#039;NOTE&#039;&#039;&#039;: If your VCF file has males as haploids, do NOT use &amp;lt;code&amp;gt;--samePloidy&amp;lt;/code&amp;gt; as the code would NOT throw any error, but the output results would be erroneous.&lt;br /&gt;
&lt;br /&gt;
= Command Line Options =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The command options for DosageConvertor are explained below. &lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;quot;--vcfDose&amp;quot;&amp;lt;/code&amp;gt; is a mandatory parameter requiring the input VCF dosage file from minimac3/4. &lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;quot;--info&amp;quot;&amp;lt;/code&amp;gt; denotes the info file from the same imputation output. This parameter is NOT mandatory, but if NO info file is provided, the output MaCH info file will have some missing columns. &lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;quot;--prefix&amp;quot;&amp;lt;/code&amp;gt; denotes the output file prefix (default value: &amp;lt;code&amp;gt;Converted.Dosage&amp;lt;/code&amp;gt;). &lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;quot;--type&amp;quot;&amp;lt;/code&amp;gt; denotes the output file format (available handles: &amp;lt;code&amp;gt;mach&amp;lt;/code&amp;gt; (default) and &amp;lt;code&amp;gt;plink&amp;lt;/code&amp;gt;). &lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;quot;--format&amp;quot;&amp;lt;/code&amp;gt; decides whether to import imputed values from dosage (&amp;lt;code&amp;gt;DS&amp;lt;/code&amp;gt;) or genotype probabilities (&amp;lt;code&amp;gt;GP&amp;lt;/code&amp;gt;) of the input VCF file (available handles: &amp;lt;code&amp;gt;DS&amp;lt;/code&amp;gt; (default) and &amp;lt;code&amp;gt;GP&amp;lt;/code&amp;gt;). &lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;quot;--buffer&amp;quot;&amp;lt;/code&amp;gt; denotes the number of markers to import at a time (valid only for MaCH format) (default value &amp;lt;code&amp;gt;10000&amp;lt;/code&amp;gt;). &lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;quot;--idDelimiter  &amp;quot;&amp;lt;/code&amp;gt; denotes the delimiter to Split VCF Sample ID into FID and IID for PLINK format (default value &amp;lt;code&amp;gt;_&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
 Usage: ./DosageConvertor  --vcfDose      TestDataImputedVCF.dose.vcf.gz&lt;br /&gt;
                           --info         TestDataImputedVCF.info&lt;br /&gt;
                           --prefix       OutputFilePrefix&lt;br /&gt;
                           --type         plink OR mach   // depending on output format&lt;br /&gt;
                           --format       DS or GP        // based on if you want to output&lt;br /&gt;
                                                          // dosage (DS) or genotype prob (GP)&lt;br /&gt;
                           --buffer       10000           // Number of Markers to import and&lt;br /&gt;
                                                          // print at a time (valid only for&lt;br /&gt;
                                                          // MaCH format)&lt;br /&gt;
                           --idDelimiter  _               // Delimiter to Split VCF Sample ID into&lt;br /&gt;
                                                          // FID and IID for PLINK format&lt;br /&gt;
&lt;br /&gt;
= Contact =&lt;br /&gt;
&lt;br /&gt;
In case of any queries and bugs please contact [mailto:sayantan@umich.edu Sayantan Das].&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Main_Page&amp;diff=14380</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Main_Page&amp;diff=14380"/>
		<updated>2016-08-31T17:50:56Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: Updated the group retreat photo to the 2016 one&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div id=&amp;quot;mf-mainpage&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!--        BANNER ACROSS TOP OF PAGE        --&amp;gt; &lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;width:100%; background:#fcfcfc; margin-top:1.2em; border:1px solid #ccc;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:100%; text-align:center; white-space:nowrap; color:#000;&amp;quot; | &amp;lt;div style=&amp;quot;font-size:162%; border:none; margin:0; padding:.1em; color:#000;&amp;quot;&amp;gt;Abecasis Group Wiki&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Image:AbecasisRetreat2016.jpg|700px|center|Group Photo 2016]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Below are old images from 2009 and 2014 Retreats --&amp;gt;&lt;br /&gt;
&amp;lt;!-- &amp;lt;br&amp;gt; [[Image:Abecasis2015Retreat.JPG|700px|center|Group Photo 2015]] --&amp;gt;&lt;br /&gt;
&amp;lt;!-- &amp;lt;br&amp;gt; [[Image:Abecasis2014Retreat.JPG|700px|center|Group Photo 2014]] --&amp;gt;&lt;br /&gt;
&amp;lt;!-- &amp;lt;br&amp;gt; [[Image:2009.08 Group Retreat Photo.jpg|center|400px|Group Photo]]--&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
== Welcome!  ==&lt;br /&gt;
&lt;br /&gt;
Welcome to our wiki! &lt;br /&gt;
&lt;br /&gt;
If you would like to contribute, [[Special:UserLogin|log-in]] or [[Special:RequestAccount|request an account]]. We recommend using your e-mail address or Michigan uniqname as your user id. &lt;br /&gt;
&lt;br /&gt;
For basic instructions, see [http://en.wikipedia.org/wiki/Wikipedia:Tutorial the Wikipedia Tutorial]. &lt;br /&gt;
&lt;br /&gt;
== Sequence Analysis Tools  ==&lt;br /&gt;
&lt;br /&gt;
We are developing [[Software|software tools]] for the analysis of next generation sequence data. &lt;br /&gt;
&lt;br /&gt;
These tools include: &lt;br /&gt;
&lt;br /&gt;
#Variant Calling with [[GlfSingle]] and [[GlfMultiples]] &lt;br /&gt;
#Variant Calling and De Novo Mutation Detection in Families with [[Polymutt]] &lt;br /&gt;
#Variant Annotations using [[VcfCodingSnps]] &lt;br /&gt;
#Rare Variant Analysis using [[RvTests]] &lt;br /&gt;
#Rare Variant Association Analysis in family samples [[FamRvTest]]&lt;br /&gt;
#Quality control using [[C++ Executable: fastQValidator|FastQValidator]], [[VerifyBamID]], and [[BamValidator]] &lt;br /&gt;
#C++ APIs for sequence analsysis using [[C++ Library: libStatGen]] &lt;br /&gt;
#Meta-analysis of single variant or gene-level associations [[RAREMETAL-SOFTWARE]]&lt;br /&gt;
#Sequencing study design helper [[Rarefy]]&lt;br /&gt;
#Local ancestry inference (ancestry painting) using off-targeted sequence data [[SEQMIX]]&lt;br /&gt;
#Association Container Toolbox [[EPACTS]]&lt;br /&gt;
#Fast Genotype Imputation Tool : [[Minimac3]]&lt;br /&gt;
&lt;br /&gt;
These tools and additional tools can be found on the [[Software]] page. &lt;br /&gt;
&lt;br /&gt;
We are developing Genome/Sequencing Processing Pipelines for anyone to use: [[GotCloud]]&lt;br /&gt;
&lt;br /&gt;
== High Level Tutorials  ==&lt;br /&gt;
&lt;br /&gt;
Some high-level tutorials on the analysis of next generation sequence data: &lt;br /&gt;
&lt;br /&gt;
#[[Evaluating a Read Mapper on Simulated Data]] &lt;br /&gt;
#[[SNP Call Set Properties]] &lt;br /&gt;
#[[Generic Exome Analysis Plan]]&lt;br /&gt;
&lt;br /&gt;
== Projects  ==&lt;br /&gt;
&lt;br /&gt;
[[NHLBI Informatics Resource|NHLBI Genome Sequencing Project]]&lt;br /&gt;
&lt;br /&gt;
[[SardiNIA]] - The SardiNIA longitudinal study of aging. &lt;br /&gt;
&lt;br /&gt;
[[EMADS|Exome Meta-analysis of Drinking and Smoking (EMADS)]]&lt;br /&gt;
&lt;br /&gt;
[http://www.1000genomes.org The 1000 Genomes Project]&lt;br /&gt;
&lt;br /&gt;
== Learn Genetics  ==&lt;br /&gt;
&lt;br /&gt;
Faculty in the group teach in a variety of formal and informal settings. [[Class Notes|Class notes]] and relevant discussion are archived here. &lt;br /&gt;
&lt;br /&gt;
== General Resources  ==&lt;br /&gt;
&lt;br /&gt;
*[[Computer How-Tos]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=File:AbecasisRetreat2016.jpg&amp;diff=14379</id>
		<title>File:AbecasisRetreat2016.jpg</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=File:AbecasisRetreat2016.jpg&amp;diff=14379"/>
		<updated>2016-08-31T17:47:51Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Abecasis_Lab&amp;diff=14180</id>
		<title>Abecasis Lab</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Abecasis_Lab&amp;diff=14180"/>
		<updated>2016-05-13T12:58:21Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: Updated Lars&amp;#039;s title&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:Abecasis2015Retreat.JPG|750px|center|Group Photo 2015]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--[[Image:Abecasis2015Retreat.JPG|400px|center|Group Photo]]--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Mission Statement ==&lt;br /&gt;
&lt;br /&gt;
We are developing and applying computational and statistical tools to further understanding of complex human diseases, such as cardiovascular disease and diabetes.&lt;br /&gt;
&lt;br /&gt;
== Leadership ==&lt;br /&gt;
&lt;br /&gt;
[[Goncalo Abecasis]] is currently the Felix Moore Collegiate Professor of Biostatistics at the University of Michigan School of Public Health.&lt;br /&gt;
&lt;br /&gt;
== Current Members ==&lt;br /&gt;
&lt;br /&gt;
=== Research Fellows ===&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]] Christian Fuchsberger&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:PicJingjing.jpg|50px]] Jingjing Yang&lt;br /&gt;
&lt;br /&gt;
=== Graduate Students ===&lt;br /&gt;
&lt;br /&gt;
[[File:Brieger_Katharine_1.jpg|50px]] Katharine Brieger&lt;br /&gt;
&lt;br /&gt;
[[File:SaiChen.jpg|50px]] Sai Chen&lt;br /&gt;
&lt;br /&gt;
[[File:HeadOfAlanKwong.jpg|50px]]  [[Alan Kwong]]&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]] Sebanti Sengupta&lt;br /&gt;
&lt;br /&gt;
[[File:Gregory3.jpg|50px]] Greg Zajac&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]] Fan Zhang&lt;br /&gt;
&lt;br /&gt;
[[File:Wanlin.jpg|50px]]  Wanlin Zheng&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]] Wei Zhou&lt;br /&gt;
&lt;br /&gt;
[[File:Xutong.jpg|50px]] Xutong Zhao&lt;br /&gt;
&lt;br /&gt;
=== Staff ===&lt;br /&gt;
&lt;br /&gt;
[[File:Irene_headshot.jpg|50px]] Irene Felicetti : Administrative Assistant Sr. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:TomBlackwell_crop.jpg|50px]]  [[Tom Blackwell]]  : Research Area Specialist Sr. &lt;br /&gt;
&lt;br /&gt;
[[File:Sean_head.jpg|50px]] [[Sean Caron]] : UNIX Systems Administrator&lt;br /&gt;
&lt;br /&gt;
[[File:Headshot-chris-clark-2 (3).jpg|50px]] Chris Clark : Applications Programmer/Analyst Sr.&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]] Jonathon LeFaive  :  Applications Programmer/Analyst Sr.&lt;br /&gt;
&lt;br /&gt;
[[File:Kevin_Web-Profile.jpg ‎|50px]] Kevin Li  : Web Applications Developer&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]] Ellen Schmidt  :  Research Area Specialist Lead&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]] Peter VandeHaar  :  Applications Programmer/Analyst Sr.&lt;br /&gt;
&lt;br /&gt;
[[File:MK_head.jpg|50px]] [[Mary Kate Wing]] : Applications Programmer working on GotCloud Pipelines, C++ library &amp;amp; tools (libStatGen, bamUtils)&lt;br /&gt;
&lt;br /&gt;
== Alumni ==&lt;br /&gt;
&lt;br /&gt;
=== Former Research Faculty ===&lt;br /&gt;
&lt;br /&gt;
* Hyun Min Kang (&#039;&#039;graduated in 2011&#039;&#039;), now Assistant Professor at the [http://www.sph.umich.edu/biostat/ University of Michigan School of Public Health, Department of Biostatistics].&lt;br /&gt;
&lt;br /&gt;
=== Former Research Fellows ===&lt;br /&gt;
&lt;br /&gt;
* Weimin Chen (graduated 2007), now Associate Professor at the [http://people.virginia.edu/~wc9c/ Department of Public Health Sciences &amp;amp; Center for Public Health Genomics, University of Virginia]&lt;br /&gt;
&lt;br /&gt;
* Goo Jun (graduated 2008), now Assistant Professor at the [https://scholar.google.com/citations?user=1wzhcEQAAAAJ&amp;amp;hl=en University of Texas Health Sciences Center]&lt;br /&gt;
&lt;br /&gt;
* Bingshan Li (graudated 2011), now Assistant Professor at the [https://medschool.vanderbilt.edu/cqs/people/Bingshan/Li/cqs-faculty-members Center for Quantitative Sciences, Vanderbilt University]&lt;br /&gt;
&lt;br /&gt;
* [[Dajiang Liu]] (graduated 2013), now Assistant Professor at the [http://www-personal.umich.edu/~dajiang/ Penn State University College of Medicine]&lt;br /&gt;
&lt;br /&gt;
* Serena Sanna (graduated 2007), now an investigator at the [http://www.serenasanna.com/ Istituto di Neurogenetica e Neurofarmacologia in Sardinia, Italy]&lt;br /&gt;
&lt;br /&gt;
* Paul Scheet (graduated 2008), now Associate Professor at [http://faculty.mdanderson.org/Paul_Scheet/Default.asp?SNID=221605974 Department of Epidemiology, University of Texas MD Anderson Cancer Center]&lt;br /&gt;
&lt;br /&gt;
* Carlo Sidore (graduated 2012), now an investigator at the [http://www.cnr.it/istituti/DatiGenerali.html?cds=060 Istituto di Neurogenetica e Neurofarmacologia in Sardinia, Italy]&lt;br /&gt;
&lt;br /&gt;
* Fabio Busonero (graduated 2012), now an investigator at the [http://www.cnr.it/istituti/DatiGenerali.html?cds=060 Istituto di Neurogenetica e Neurofarmacologia in Sardinia, Italy]&lt;br /&gt;
&lt;br /&gt;
* William Stewart (graduated 2008), now Assistant Professor at [http://www.mathmed.org/#William_Stewart Battelle Center for Computational Medicine, Departments of Statistics and Pediatrics, National Children&#039;s Hospital and Ohio State University]&lt;br /&gt;
&lt;br /&gt;
* Alex Tsoi (graduated 2014), now Research Assistant Professor at [https://www.med.umich.edu/DERM/faculty/alextsoi_pub.shtml University of Michigan Medical School]&lt;br /&gt;
&lt;br /&gt;
* [[Scott Vrieze]] (graduated 2014), now an Assistant Professor of Psychology and Neuroscience at [http://www.colorado.edu/ibg/people/471 University of Colorado, Boulder]&lt;br /&gt;
&lt;br /&gt;
* [[Lars Fritsche]] (graduated 2016), now an Associate Professor at [http://www.ntnu.edu/ism the Department of Public Health and General Practice at the Norwegian University of Science and Technology] in Trondheim, Norway&lt;br /&gt;
&lt;br /&gt;
=== Former Doctoral Students ===&lt;br /&gt;
&lt;br /&gt;
* Wei Chen (graduated 2011), now Assistant Professor at the [http://www.chp.edu/CHP/Chen%2C+Wei%2C+PhD Department of Pediatrics, University of Pittsburgh Medical Center]&lt;br /&gt;
&lt;br /&gt;
* Jun Ding (graduated 2010), now Staff Scientist / Facility Head at the [http://www.grc.nia.nih.gov/branches/lg/lg.htm Laboratory of Genetics, National Institute on Aging (NIH)].&lt;br /&gt;
&lt;br /&gt;
* Shuang Feng (graduated 2015), now Research Scientist at Big Data Lab at Hitachi America Ltd.&lt;br /&gt;
&lt;br /&gt;
* Weihua Guan (graduated 2010), now Assistant Professor at the [http://sph.umn.edu/faculty1/expertise/statistical-genetics/name/weihua-guan/ Department of Biostatistics, University of Minnesota School of Public Health].&lt;br /&gt;
&lt;br /&gt;
* Yun Li (graduated 2009), now Assistant Professor at the [http://www.sph.unc.edu/?option=com_profiles&amp;amp;Itemid=6138&amp;amp;profileAction=ProfDetail&amp;amp;pid=708777879 Department of Biostatistics, University of North Carolina].&lt;br /&gt;
&lt;br /&gt;
* Youna Hu (graduated 2012), now a Data Sciences Engineer at A9, a subsidiary of Amazon.com&lt;br /&gt;
&lt;br /&gt;
* Mingyao Li (graduated 2005), now Associate Professor at the [http://www.cceb.upenn.edu/faculty/index.php?id=159 Department of Biostatistics and Epidemiology, University of Pennsylvania]&lt;br /&gt;
&lt;br /&gt;
* Liming Liang (graduated 2009), now Assistant Professor at the [http://www.hsph.harvard.edu/faculty/liming-liang/ Departments of Biostatistics and Epidemiology, Harvard University]&lt;br /&gt;
&lt;br /&gt;
* Tasha Fingerlin (graduated 2003), now Associate Professor at the [http://www.ucdenver.edu/academics/colleges/PublicHealth/departments/Epidemiology/About/Faculty/Pages/FingerlinT.aspx Section of Epidemiology and Community Health, University of Colorado Health Sciences Center]&lt;br /&gt;
&lt;br /&gt;
* Sara Rashkin (graduated 2015), now Post Doc at [http://wittelab.ucsf.edu/pages/people UCSF Witte Lab]&lt;br /&gt;
&lt;br /&gt;
* Andrew Skol (graduated 2006), now Assistant Professor at the [http://med-www02.bsd.uchicago.edu/339/FacultyPro/faculty_profile.aspx?empl_id=10164 Section of Genetic Medicine, University of Chicago]&lt;br /&gt;
&lt;br /&gt;
* [[Xiaowei Zhan]] (graduated 2014), now Assistant Professor at the [http://profiles.utsouthwestern.edu/profile/152189/xiaowei-zhan.html Department of Clinical Science, University of Texas - Southwestern Medical Center].&lt;br /&gt;
&lt;br /&gt;
* Jin Zhen (graduated 2009), now working in the Pharmaceutical Industry.&lt;br /&gt;
&lt;br /&gt;
=== Former Masters Students ===&lt;br /&gt;
&lt;br /&gt;
* Su Chu&lt;br /&gt;
&lt;br /&gt;
* Nate Cohen&lt;br /&gt;
&lt;br /&gt;
* Melinda Curran&lt;br /&gt;
&lt;br /&gt;
* Vesela Gateva&lt;br /&gt;
&lt;br /&gt;
* Xijing Han&lt;br /&gt;
&lt;br /&gt;
* Dan Hovelson&lt;br /&gt;
&lt;br /&gt;
* Elizabeth Jewell&lt;br /&gt;
&lt;br /&gt;
* Michelle Kleckner&lt;br /&gt;
&lt;br /&gt;
* Ben Lerch&lt;br /&gt;
&lt;br /&gt;
* Yanming Li&lt;br /&gt;
&lt;br /&gt;
* Heather Munro&lt;br /&gt;
&lt;br /&gt;
* Nick Seewald&lt;br /&gt;
&lt;br /&gt;
* Theresa Scott (nee Daigneault)&lt;br /&gt;
&lt;br /&gt;
* Matthew Snyder&lt;br /&gt;
&lt;br /&gt;
* Vivian Wang&lt;br /&gt;
&lt;br /&gt;
* Yuan Wei&lt;br /&gt;
&lt;br /&gt;
* Abigail Woodroffe&lt;br /&gt;
&lt;br /&gt;
* Zaojun Ye&lt;br /&gt;
&lt;br /&gt;
* Matthew Zawitowski&lt;br /&gt;
&lt;br /&gt;
* Anita Yu Zhao&lt;br /&gt;
&lt;br /&gt;
* Tingting Zhou&lt;br /&gt;
&lt;br /&gt;
=== Former Staff ===&lt;br /&gt;
&lt;br /&gt;
* Paul Anderson&lt;br /&gt;
&lt;br /&gt;
* Laura Baker&lt;br /&gt;
&lt;br /&gt;
* [[Jennifer Bragg-Gresham]]&lt;br /&gt;
&lt;br /&gt;
* Johanna Forster&lt;br /&gt;
&lt;br /&gt;
* Jan Wigginton&lt;br /&gt;
&lt;br /&gt;
=== Visitors ===&lt;br /&gt;
&lt;br /&gt;
* Qing Lu&lt;br /&gt;
&lt;br /&gt;
* Andrea Maschio&lt;br /&gt;
&lt;br /&gt;
* Giorgio Pistis&lt;br /&gt;
&lt;br /&gt;
* Eleanora Porcu&lt;br /&gt;
&lt;br /&gt;
* Toshiko Tanakato&lt;br /&gt;
&lt;br /&gt;
== Really Useful Stuff ==&lt;br /&gt;
&lt;br /&gt;
* [[Abecasis Group Awards]]&lt;br /&gt;
* [https://calendars.office.microsoft.com/pubcalstorage/m3n2kr0z1470909/Goncalo_Abecasis_Calendar(1).ics Goncalo&#039;s Calendar]&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Abecasis_Lab&amp;diff=14052</id>
		<title>Abecasis Lab</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Abecasis_Lab&amp;diff=14052"/>
		<updated>2016-01-27T18:30:09Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:Abecasis2015Retreat.JPG|750px|center|Group Photo 2015]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--[[Image:Abecasis2015Retreat.JPG|400px|center|Group Photo]]--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Mission Statement ==&lt;br /&gt;
&lt;br /&gt;
We are developing and applying computational and statistical tools to further understanding of complex human diseases, such as cardiovascular disease and diabetes.&lt;br /&gt;
&lt;br /&gt;
== Leadership ==&lt;br /&gt;
&lt;br /&gt;
[[Goncalo Abecasis]] is currently the Felix Moore Collegiate Professor of Biostatistics at the University of Michigan School of Public Health.&lt;br /&gt;
&lt;br /&gt;
== Current Members ==&lt;br /&gt;
&lt;br /&gt;
=== Research Fellows ===&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]] Christian Fuchsberger&lt;br /&gt;
&lt;br /&gt;
[[File:LarsFritsche_crop.jpg|50px]] [[Lars Fritsche]]&lt;br /&gt;
&lt;br /&gt;
[[File:PicJingjing.jpg|50px]] Jingjing Yang&lt;br /&gt;
&lt;br /&gt;
=== Graduate Students ===&lt;br /&gt;
&lt;br /&gt;
[[File:Brieger_Katharine_1.jpg|50px]] Katharine Brieger&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]] Sai Chen&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]] Nate Cohen&lt;br /&gt;
&lt;br /&gt;
[[File:SantyPic.jpeg|50px]] [[Sayantan Das|Sayantan Das]]&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]]  Michelle Kleckner&lt;br /&gt;
&lt;br /&gt;
[[File:HeadOfAlanKwong.jpg|50px]]  [[Alan Kwong]]&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]] Sebanti Sengupta&lt;br /&gt;
&lt;br /&gt;
[[File:Gregory3.jpg|50px]] Greg Zajac&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]] Fan Zhang&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]]  Wanlin Zheng&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]] Wei Zhou&lt;br /&gt;
&lt;br /&gt;
[[File:Xutong.jpg|50px]] Xutong Zhou&lt;br /&gt;
&lt;br /&gt;
=== Staff ===&lt;br /&gt;
&lt;br /&gt;
[[File:Irene_headshot.jpg|50px]] Irene Felicetti : Administrative Assistant Sr. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:TomBlackwell_crop.jpg|50px]]  [[Tom Blackwell]]  : Research Area Specialist Sr. &lt;br /&gt;
&lt;br /&gt;
[[File:Sean_head.jpg|50px]] [[Sean Caron]] : UNIX Systems Administrator&lt;br /&gt;
&lt;br /&gt;
[[File:Headshot-chris-clark-2 (3).jpg|50px]] Chris Clark : Applications Programmer/Analyst Sr.&lt;br /&gt;
&lt;br /&gt;
[[File:Kevin_Web-Profile.jpg ‎|50px]] Kevin Li  : Web Applications Developer&lt;br /&gt;
&lt;br /&gt;
[[File:MK_head.jpg|50px]] [[Mary Kate Wing]] : Applications Programmer working on GotCloud Pipelines, C++ library &amp;amp; tools (libStatGen, bamUtils)&lt;br /&gt;
&lt;br /&gt;
[[File:Johanna_Web-Profile.jpg |50px]] Johanna Forster  :  Research Area Specialist Intermediate&lt;br /&gt;
&lt;br /&gt;
== Alumni ==&lt;br /&gt;
&lt;br /&gt;
=== Former Research Faculty ===&lt;br /&gt;
&lt;br /&gt;
* Hyun Min Kang (&#039;&#039;graduated in 2011&#039;&#039;), now Assistant Professor at the [http://www.sph.umich.edu/biostat/ University of Michigan School of Public Health, Department of Biostatistics].&lt;br /&gt;
&lt;br /&gt;
=== Former Research Fellows ===&lt;br /&gt;
&lt;br /&gt;
* Weimin Chen (graduated 2007), now Associate Professor at the [http://people.virginia.edu/~wc9c/ Department of Public Health Sciences &amp;amp; Center for Public Health Genomics, University of Virginia]&lt;br /&gt;
&lt;br /&gt;
* Goo Jun (graduated 2008), now Assistant Professor at the [https://scholar.google.com/citations?user=1wzhcEQAAAAJ&amp;amp;hl=en University of Texas Health Sciences Center]&lt;br /&gt;
&lt;br /&gt;
* Bingshan Li (graudated 2011), now Assistant Professor at the [https://medschool.vanderbilt.edu/cqs/people/Bingshan/Li/cqs-faculty-members Center for Quantitative Sciences, Vanderbilt University]&lt;br /&gt;
&lt;br /&gt;
* [[Dajiang Liu]] (graduated 2013), now Assistant Professor at the [http://www-personal.umich.edu/~dajiang/ Penn State University College of Medicine]&lt;br /&gt;
&lt;br /&gt;
* Serena Sanna (graduated 2007), now an investigator at the [http://www.serenasanna.com/ Istituto di Neurogenetica e Neurofarmacologia in Sardinia, Italy]&lt;br /&gt;
&lt;br /&gt;
* Paul Scheet (graduated 2008), now Associate Professor at [http://faculty.mdanderson.org/Paul_Scheet/Default.asp?SNID=221605974 Department of Epidemiology, University of Texas MD Anderson Cancer Center]&lt;br /&gt;
&lt;br /&gt;
* Carlo Sidore (graduated 2012), now an investigator at the [http://www.cnr.it/istituti/DatiGenerali.html?cds=060 Istituto di Neurogenetica e Neurofarmacologia in Sardinia, Italy]&lt;br /&gt;
&lt;br /&gt;
* Fabio Busonero (graduated 2012), now an investigator at the [http://www.cnr.it/istituti/DatiGenerali.html?cds=060 Istituto di Neurogenetica e Neurofarmacologia in Sardinia, Italy]&lt;br /&gt;
&lt;br /&gt;
* William Stewart (graduated 2008), now Assistant Professor at [http://www.mathmed.org/#William_Stewart Battelle Center for Computational Medicine, Departments of Statistics and Pediatrics, National Children&#039;s Hospital and Ohio State University]&lt;br /&gt;
&lt;br /&gt;
* Alex Tsoi (graduated 2014), now Research Assistant Professor at [https://www.med.umich.edu/DERM/faculty/alextsoi_pub.shtml University of Michigan Medical School]&lt;br /&gt;
&lt;br /&gt;
* [[Scott Vrieze]] (graduated 2014), now an Assistant Professor of Psychology and Neuroscience at [http://www.colorado.edu/ibg/people/471 University of Colorado, Boulder]&lt;br /&gt;
&lt;br /&gt;
=== Former Doctoral Students ===&lt;br /&gt;
&lt;br /&gt;
* Wei Chen (graduated 2011), now Assistant Professor  at the [http://www.chp.edu/CHP/Chen%2C+Wei%2C+PhD Department of Pediatrics, University of Pittsburgh Medical Center]&lt;br /&gt;
&lt;br /&gt;
* Jun Ding (graduated 2010), now Staff Scientist / Facility Head at the [http://www.grc.nia.nih.gov/branches/lg/lg.htm Laboratory of Genetics, National Institute on Aging (NIH)].&lt;br /&gt;
&lt;br /&gt;
* Shuang Feng (graduated 2015), now Research Scientist at Big Data Lab at Hitachi America Ltd.&lt;br /&gt;
&lt;br /&gt;
* Weihua Guan (graduated 2010), now Assistant Professor at the [http://sph.umn.edu/faculty1/expertise/statistical-genetics/name/weihua-guan/ Department of Biostatistics, University of Minnesota School of Public Health].&lt;br /&gt;
&lt;br /&gt;
* Yun Li (graduated 2009), now Assistant Professor at the [http://www.sph.unc.edu/?option=com_profiles&amp;amp;Itemid=6138&amp;amp;profileAction=ProfDetail&amp;amp;pid=708777879 Department of Biostatistics, University of North Carolina].&lt;br /&gt;
&lt;br /&gt;
* Youna Hu (graduated 2012), now a Data Sciences Engineer at A9, a subsidiary of Amazon.com&lt;br /&gt;
&lt;br /&gt;
* Mingyao Li (graduated 2005), now Associate Professor at the [http://www.cceb.upenn.edu/faculty/index.php?id=159 Department of Biostatistics and Epidemiology, University of Pennsylvania]&lt;br /&gt;
&lt;br /&gt;
* Liming Liang (graduated 2009), now Assistant Professor at the [http://www.hsph.harvard.edu/faculty/liming-liang/ Departments of Biostatistics and Epidemiology, Harvard University]&lt;br /&gt;
&lt;br /&gt;
* Tasha Fingerlin (graduated 2003), now Associate Professor at the [http://www.ucdenver.edu/academics/colleges/PublicHealth/departments/Epidemiology/About/Faculty/Pages/FingerlinT.aspx Section of Epidemiology and Community Health, University of Colorado Health Sciences Center]&lt;br /&gt;
&lt;br /&gt;
* Sara Rashkin (graduated 2015), now Post Doc at [http://wittelab.ucsf.edu/pages/people UCSF Witte Lab]&lt;br /&gt;
&lt;br /&gt;
* Andrew Skol (graduated 2006), now Assistant Professor at the [http://med-www02.bsd.uchicago.edu/339/FacultyPro/faculty_profile.aspx?empl_id=10164 Section of Genetic Medicine, University of Chicago]&lt;br /&gt;
&lt;br /&gt;
* [[Xiaowei Zhan]] (graduated 2014), now Assistant Professor at the [http://profiles.utsouthwestern.edu/profile/152189/xiaowei-zhan.html Department of Clinical Science, University of Texas - Southwestern Medical Center].&lt;br /&gt;
&lt;br /&gt;
* Jin Zhen (graduated 2009), now working in the Pharmaceutical Industry.&lt;br /&gt;
&lt;br /&gt;
=== Former Masters Students ===&lt;br /&gt;
&lt;br /&gt;
* Su Chu&lt;br /&gt;
&lt;br /&gt;
* Melinda Curran&lt;br /&gt;
&lt;br /&gt;
* Vesela Gateva&lt;br /&gt;
&lt;br /&gt;
* Xijing Han&lt;br /&gt;
&lt;br /&gt;
* Dan Hovelson&lt;br /&gt;
&lt;br /&gt;
* Elizabeth Jewell&lt;br /&gt;
&lt;br /&gt;
* Ben Lerch&lt;br /&gt;
&lt;br /&gt;
* Yanming Li&lt;br /&gt;
&lt;br /&gt;
* Heather Munro&lt;br /&gt;
&lt;br /&gt;
* Nick Seewald&lt;br /&gt;
&lt;br /&gt;
* Theresa Scott (nee Daigneault)&lt;br /&gt;
&lt;br /&gt;
* Matthew Snyder&lt;br /&gt;
&lt;br /&gt;
* Vivian Wang&lt;br /&gt;
&lt;br /&gt;
* Yuan Wei&lt;br /&gt;
&lt;br /&gt;
* Abigail Woodroffe&lt;br /&gt;
&lt;br /&gt;
* Zaojun Ye&lt;br /&gt;
&lt;br /&gt;
* Matthew Zawitowski&lt;br /&gt;
&lt;br /&gt;
* Anita Yu Zhao&lt;br /&gt;
&lt;br /&gt;
* Tingting Zhou&lt;br /&gt;
&lt;br /&gt;
=== Former Staff ===&lt;br /&gt;
&lt;br /&gt;
* Paul Anderson&lt;br /&gt;
&lt;br /&gt;
* Laura Baker&lt;br /&gt;
&lt;br /&gt;
* [[Jennifer Bragg-Gresham]]&lt;br /&gt;
&lt;br /&gt;
* Jan Wigginton&lt;br /&gt;
&lt;br /&gt;
=== Visitors ===&lt;br /&gt;
&lt;br /&gt;
* Qing Lu&lt;br /&gt;
&lt;br /&gt;
* Andrea Maschio&lt;br /&gt;
&lt;br /&gt;
* Giorgio Pistis&lt;br /&gt;
&lt;br /&gt;
* Eleanora Porcu&lt;br /&gt;
&lt;br /&gt;
* Toshiko Tanakato&lt;br /&gt;
&lt;br /&gt;
== Really Useful Stuff ==&lt;br /&gt;
&lt;br /&gt;
* [[Abecasis Group Awards]]&lt;br /&gt;
* [https://calendars.office.microsoft.com/pubcalstorage/m3n2kr0z1470909/Goncalo_Abecasis_Calendar(1).ics Goncalo&#039;s Calendar]&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=File:PicJingjing.jpg&amp;diff=14051</id>
		<title>File:PicJingjing.jpg</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=File:PicJingjing.jpg&amp;diff=14051"/>
		<updated>2016-01-27T18:29:00Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: Amkwong uploaded a new version of &amp;amp;quot;File:PicJingjing.jpg&amp;amp;quot;: Changed white balance and cropped&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Abecasis_Lab&amp;diff=14048</id>
		<title>Abecasis Lab</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Abecasis_Lab&amp;diff=14048"/>
		<updated>2016-01-27T16:13:38Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: /* Staff */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:Abecasis2015Retreat.JPG|750px|center|Group Photo 2014]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--[[Image:Abecasis2015Retreat.JPG|400px|center|Group Photo]]--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Mission Statement ==&lt;br /&gt;
&lt;br /&gt;
We are developing and applying computational and statistical tools to further understanding of complex human diseases, such as cardiovascular disease and diabetes.&lt;br /&gt;
&lt;br /&gt;
== Leadership ==&lt;br /&gt;
&lt;br /&gt;
[[Goncalo Abecasis]] is currently the Felix Moore Collegiate Professor of Biostatistics at the University of Michigan School of Public Health.&lt;br /&gt;
&lt;br /&gt;
== Current Members ==&lt;br /&gt;
&lt;br /&gt;
=== Research Fellows ===&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]] Christian Fuchsberger&lt;br /&gt;
&lt;br /&gt;
[[File:LarsFritsche_crop.jpg|50px]] [[Lars Fritsche]]&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]] Jingjing Yang&lt;br /&gt;
&lt;br /&gt;
=== Graduate Students ===&lt;br /&gt;
&lt;br /&gt;
[[File:Brieger_Katharine_1.jpg|50px]] Katharine Brieger&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]] Sai Chen&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]] Nate Cohen&lt;br /&gt;
&lt;br /&gt;
[[File:SantyPic.jpeg|50px]] [[Sayantan Das|Sayantan Das]]&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]]  Michelle Kleckner&lt;br /&gt;
&lt;br /&gt;
[[File:HeadOfAlanKwong.jpg|50px]]  [[Alan Kwong]]&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]] Sebanti Sengupta&lt;br /&gt;
&lt;br /&gt;
[[File:Gregory3.jpg|50px]] Greg Zajac&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]] Fan Zhang&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]]  Wanlin Zheng&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]] Wei Zhou&lt;br /&gt;
&lt;br /&gt;
[[File:Xutong.jpg|50px]] Xutong Zhou&lt;br /&gt;
&lt;br /&gt;
=== Staff ===&lt;br /&gt;
&lt;br /&gt;
[[File:Irene_headshot.jpg|50px]] Irene Felicetti : Administrative Assistant Sr. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:TomBlackwell_crop.jpg|50px]]  [[Tom Blackwell]]  : Research Area Specialist Sr. &lt;br /&gt;
&lt;br /&gt;
[[File:Sean_head.jpg|50px]] [[Sean Caron]] : UNIX Systems Administrator&lt;br /&gt;
&lt;br /&gt;
[[File:Headshot-chris-clark-2 (3).jpg|50px]] Chris Clark : Applications Programmer/Analyst Sr.&lt;br /&gt;
&lt;br /&gt;
[[File:Kevin_Web-Profile.jpg ‎|50px]] Kevin Li  : Web Applications Developer&lt;br /&gt;
&lt;br /&gt;
[[File:MK_head.jpg|50px]] [[Mary Kate Wing]] : Applications Programmer working on GotCloud Pipelines, C++ library &amp;amp; tools (libStatGen, bamUtils)&lt;br /&gt;
&lt;br /&gt;
[[File:Johanna_Web-Profile.jpg |50px]] Johanna Forster  :  Research Area Specialist Intermediate&lt;br /&gt;
&lt;br /&gt;
== Alumni ==&lt;br /&gt;
&lt;br /&gt;
=== Former Research Faculty ===&lt;br /&gt;
&lt;br /&gt;
* Hyun Min Kang (&#039;&#039;graduated in 2011&#039;&#039;), now Assistant Professor at the [http://www.sph.umich.edu/biostat/ University of Michigan School of Public Health, Department of Biostatistics].&lt;br /&gt;
&lt;br /&gt;
=== Former Research Fellows ===&lt;br /&gt;
&lt;br /&gt;
* Weimin Chen (graduated 2007), now Associate Professor at the [http://people.virginia.edu/~wc9c/ Department of Public Health Sciences &amp;amp; Center for Public Health Genomics, University of Virginia]&lt;br /&gt;
&lt;br /&gt;
* Goo Jun (graduated 2008), now Assistant Professor at the [https://scholar.google.com/citations?user=1wzhcEQAAAAJ&amp;amp;hl=en University of Texas Health Sciences Center]&lt;br /&gt;
&lt;br /&gt;
* Bingshan Li (graudated 2011), now Assistant Professor at the [https://medschool.vanderbilt.edu/cqs/people/Bingshan/Li/cqs-faculty-members Center for Quantitative Sciences, Vanderbilt University]&lt;br /&gt;
&lt;br /&gt;
* [[Dajiang Liu]] (graduated 2013), now Assistant Professor at the [http://www-personal.umich.edu/~dajiang/ Penn State University College of Medicine]&lt;br /&gt;
&lt;br /&gt;
* Serena Sanna (graduated 2007), now an investigator at the [http://www.serenasanna.com/ Istituto di Neurogenetica e Neurofarmacologia in Sardinia, Italy]&lt;br /&gt;
&lt;br /&gt;
* Paul Scheet (graduated 2008), now Associate Professor at [http://faculty.mdanderson.org/Paul_Scheet/Default.asp?SNID=221605974 Department of Epidemiology, University of Texas MD Anderson Cancer Center]&lt;br /&gt;
&lt;br /&gt;
* Carlo Sidore (graduated 2012), now an investigator at the [http://www.cnr.it/istituti/DatiGenerali.html?cds=060 Istituto di Neurogenetica e Neurofarmacologia in Sardinia, Italy]&lt;br /&gt;
&lt;br /&gt;
* Fabio Busonero (graduated 2012), now an investigator at the [http://www.cnr.it/istituti/DatiGenerali.html?cds=060 Istituto di Neurogenetica e Neurofarmacologia in Sardinia, Italy]&lt;br /&gt;
&lt;br /&gt;
* William Stewart (graduated 2008), now Assistant Professor at [http://www.mathmed.org/#William_Stewart Battelle Center for Computational Medicine, Departments of Statistics and Pediatrics, National Children&#039;s Hospital and Ohio State University]&lt;br /&gt;
&lt;br /&gt;
* Alex Tsoi (graduated 2014), now Research Assistant Professor at [https://www.med.umich.edu/DERM/faculty/alextsoi_pub.shtml University of Michigan Medical School]&lt;br /&gt;
&lt;br /&gt;
* [[Scott Vrieze]] (graduated 2014), now an Assistant Professor of Psychology and Neuroscience at [http://www.colorado.edu/ibg/people/471 University of Colorado, Boulder]&lt;br /&gt;
&lt;br /&gt;
=== Former Doctoral Students ===&lt;br /&gt;
&lt;br /&gt;
* Wei Chen (graduated 2011), now Assistant Professor  at the [http://www.chp.edu/CHP/Chen%2C+Wei%2C+PhD Department of Pediatrics, University of Pittsburgh Medical Center]&lt;br /&gt;
&lt;br /&gt;
* Jun Ding (graduated 2010), now Staff Scientist / Facility Head at the [http://www.grc.nia.nih.gov/branches/lg/lg.htm Laboratory of Genetics, National Institute on Aging (NIH)].&lt;br /&gt;
&lt;br /&gt;
* Shuang Feng (graduated 2015), now Research Scientist at Big Data Lab at Hitachi America Ltd.&lt;br /&gt;
&lt;br /&gt;
* Weihua Guan (graduated 2010), now Assistant Professor at the [http://sph.umn.edu/faculty1/expertise/statistical-genetics/name/weihua-guan/ Department of Biostatistics, University of Minnesota School of Public Health].&lt;br /&gt;
&lt;br /&gt;
* Yun Li (graduated 2009), now Assistant Professor at the [http://www.sph.unc.edu/?option=com_profiles&amp;amp;Itemid=6138&amp;amp;profileAction=ProfDetail&amp;amp;pid=708777879 Department of Biostatistics, University of North Carolina].&lt;br /&gt;
&lt;br /&gt;
* Youna Hu (graduated 2012), now a Data Sciences Engineer at A9, a subsidiary of Amazon.com&lt;br /&gt;
&lt;br /&gt;
* Mingyao Li (graduated 2005), now Associate Professor at the [http://www.cceb.upenn.edu/faculty/index.php?id=159 Department of Biostatistics and Epidemiology, University of Pennsylvania]&lt;br /&gt;
&lt;br /&gt;
* Liming Liang (graduated 2009), now Assistant Professor at the [http://www.hsph.harvard.edu/faculty/liming-liang/ Departments of Biostatistics and Epidemiology, Harvard University]&lt;br /&gt;
&lt;br /&gt;
* Tasha Fingerlin (graduated 2003), now Associate Professor at the [http://www.ucdenver.edu/academics/colleges/PublicHealth/departments/Epidemiology/About/Faculty/Pages/FingerlinT.aspx Section of Epidemiology and Community Health, University of Colorado Health Sciences Center]&lt;br /&gt;
&lt;br /&gt;
* Sara Rashkin (graduated 2015), now Post Doc at [http://wittelab.ucsf.edu/pages/people UCSF Witte Lab]&lt;br /&gt;
&lt;br /&gt;
* Andrew Skol (graduated 2006), now Assistant Professor at the [http://med-www02.bsd.uchicago.edu/339/FacultyPro/faculty_profile.aspx?empl_id=10164 Section of Genetic Medicine, University of Chicago]&lt;br /&gt;
&lt;br /&gt;
* [[Xiaowei Zhan]] (graduated 2014), now Assistant Professor at the [http://profiles.utsouthwestern.edu/profile/152189/xiaowei-zhan.html Department of Clinical Science, University of Texas - Southwestern Medical Center].&lt;br /&gt;
&lt;br /&gt;
* Jin Zhen (graduated 2009), now working in the Pharmaceutical Industry.&lt;br /&gt;
&lt;br /&gt;
=== Former Masters Students ===&lt;br /&gt;
&lt;br /&gt;
* Su Chu&lt;br /&gt;
&lt;br /&gt;
* Melinda Curran&lt;br /&gt;
&lt;br /&gt;
* Vesela Gateva&lt;br /&gt;
&lt;br /&gt;
* Xijing Han&lt;br /&gt;
&lt;br /&gt;
* Dan Hovelson&lt;br /&gt;
&lt;br /&gt;
* Elizabeth Jewell&lt;br /&gt;
&lt;br /&gt;
* Ben Lerch&lt;br /&gt;
&lt;br /&gt;
* Yanming Li&lt;br /&gt;
&lt;br /&gt;
* Heather Munro&lt;br /&gt;
&lt;br /&gt;
* Nick Seewald&lt;br /&gt;
&lt;br /&gt;
* Theresa Scott (nee Daigneault)&lt;br /&gt;
&lt;br /&gt;
* Matthew Snyder&lt;br /&gt;
&lt;br /&gt;
* Vivian Wang&lt;br /&gt;
&lt;br /&gt;
* Yuan Wei&lt;br /&gt;
&lt;br /&gt;
* Abigail Woodroffe&lt;br /&gt;
&lt;br /&gt;
* Zaojun Ye&lt;br /&gt;
&lt;br /&gt;
* Matthew Zawitowski&lt;br /&gt;
&lt;br /&gt;
* Anita Yu Zhao&lt;br /&gt;
&lt;br /&gt;
* Tingting Zhou&lt;br /&gt;
&lt;br /&gt;
=== Former Staff ===&lt;br /&gt;
&lt;br /&gt;
* Paul Anderson&lt;br /&gt;
&lt;br /&gt;
* Laura Baker&lt;br /&gt;
&lt;br /&gt;
* [[Jennifer Bragg-Gresham]]&lt;br /&gt;
&lt;br /&gt;
* Jan Wigginton&lt;br /&gt;
&lt;br /&gt;
=== Visitors ===&lt;br /&gt;
&lt;br /&gt;
* Qing Lu&lt;br /&gt;
&lt;br /&gt;
* Andrea Maschio&lt;br /&gt;
&lt;br /&gt;
* Giorgio Pistis&lt;br /&gt;
&lt;br /&gt;
* Eleanora Porcu&lt;br /&gt;
&lt;br /&gt;
* Toshiko Tanakato&lt;br /&gt;
&lt;br /&gt;
== Really Useful Stuff ==&lt;br /&gt;
&lt;br /&gt;
* [[Abecasis Group Awards]]&lt;br /&gt;
* [https://calendars.office.microsoft.com/pubcalstorage/m3n2kr0z1470909/Goncalo_Abecasis_Calendar(1).ics Goncalo&#039;s Calendar]&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Alan_Kwong&amp;diff=14023</id>
		<title>Alan Kwong</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Alan_Kwong&amp;diff=14023"/>
		<updated>2016-01-23T03:45:40Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:HeadOfAlanKwong.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
Alan is a Ph.D. student working with Dr. [[Goncalo Abecasis | Gonçalo Abecasis]] in researching new methods for next-generation sequencing. He earned a B.S. in Bioengineering from University of California, Berkeley, and a M.S. in Biostatistics from the University of Michigan.&lt;br /&gt;
&lt;br /&gt;
Alan has participated in the [[SardiNIA]] project and the [[GotCloud]] project, and is currently working on methods for variant calling for large datasets and the Age-Related Macular Degeneration Whole-Genome Sequencing project and strategies for association studies with multiple phenotypes.&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Abecasis_Lab&amp;diff=13853</id>
		<title>Abecasis Lab</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Abecasis_Lab&amp;diff=13853"/>
		<updated>2015-10-19T15:35:31Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:Abecasis2015Retreat.JPG|750px|center|Group Photo 2014]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--[[Image:Abecasis2015Retreat.JPG|400px|center|Group Photo]]--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Mission Statement ==&lt;br /&gt;
&lt;br /&gt;
We are developing and applying computational and statistical tools to further understanding of complex human diseases, such as cardiovascular disease and diabetes.&lt;br /&gt;
&lt;br /&gt;
== Leadership ==&lt;br /&gt;
&lt;br /&gt;
[[Goncalo Abecasis]] is currently the Felix Moore Collegiate Professor of Biostatistics at the University of Michigan School of Public Health.&lt;br /&gt;
&lt;br /&gt;
== Current Members ==&lt;br /&gt;
&lt;br /&gt;
=== Research Fellows ===&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]] Christian Fuchsberger&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]] Alex Tsoi&lt;br /&gt;
&lt;br /&gt;
[[File:LarsFritsche_crop.jpg|50px]] [[Lars Fritsche]]&lt;br /&gt;
&lt;br /&gt;
=== International Visitors ===&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]] Andrea Maschio&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]] Giorgio Pistis&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]] Eleanora Porcu&lt;br /&gt;
&lt;br /&gt;
=== Graduate Students ===&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]] Sai Chen&lt;br /&gt;
&lt;br /&gt;
[[File:SantyPic.jpeg|50px]] [[Sayantan Das|Sayantan Das]]&lt;br /&gt;
&lt;br /&gt;
[[File:ShuangFeng1.JPG|50px]]  [[Shuang_Feng|Shuang Feng]]&lt;br /&gt;
&lt;br /&gt;
[[File:HeadOfAlanKwong.jpg|50px]]  [[Alan Kwong]]&lt;br /&gt;
&lt;br /&gt;
[[File:BenLerch_crop.jpg|50px]]  [[Ben Lerch]]&lt;br /&gt;
&lt;br /&gt;
[[File:SaraRashkin_crop.jpg|50px]]  [[Sara Rashkin]]&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]] Sebanti Sengupta&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]] Greg Zajac&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]] Tingting Zhou&lt;br /&gt;
&lt;br /&gt;
=== Staff ===&lt;br /&gt;
&lt;br /&gt;
[[File:Laura Head.jpg|50px]] Laura Baker : Administrative Assistant 2008-Present&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:TomBlackwell_crop.jpg|50px]]  [[Tom Blackwell]]&lt;br /&gt;
&lt;br /&gt;
[[File:Sean_head.jpg|50px]] [[Sean Caron]] : UNIX systems administrator&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]] Kevin Li&lt;br /&gt;
&lt;br /&gt;
[[File:MK_head.jpg|50px]] [[Mary Kate Wing]] : Applications Programmer working on GotCloud Pipelines, C++ library &amp;amp; tools (libStatGen, bamUtils)&lt;br /&gt;
&lt;br /&gt;
[[File:Kuser.png|50px]] Johanna Forster&lt;br /&gt;
&lt;br /&gt;
== Alumni ==&lt;br /&gt;
&lt;br /&gt;
=== Former Research Faculty ===&lt;br /&gt;
&lt;br /&gt;
* Hyun Min Kang (&#039;&#039;graduated in 2011&#039;&#039;), now Assistant Professor at the [http://www.sph.umich.edu/biostat/ University of Michigan School of Public Health, Department of Biostatistics].&lt;br /&gt;
&lt;br /&gt;
=== Former Research Fellows ===&lt;br /&gt;
&lt;br /&gt;
* Weimin Chen (graduated 2007), now Associate Professor at the [http://people.virginia.edu/~wc9c/ Department of Public Health Sciences &amp;amp; Center for Public Health Genomics, University of Virginia]&lt;br /&gt;
&lt;br /&gt;
* Goo Jun (graduated 2008), now Assistant Professor at the [https://scholar.google.com/citations?user=1wzhcEQAAAAJ&amp;amp;hl=en University of Texas Health Sciences Center]&lt;br /&gt;
&lt;br /&gt;
* Bingshan Li (graudated 2011), now Assistant Professor at the [https://medschool.vanderbilt.edu/cqs/people/Bingshan/Li/cqs-faculty-members Center for Quantitative Sciences, Vanderbilt University]&lt;br /&gt;
&lt;br /&gt;
* [[Dajiang Liu]] (graduated 2013), now Assistant Professor at the [http://www-personal.umich.edu/~dajiang/ Penn State University College of Medicine]&lt;br /&gt;
&lt;br /&gt;
* Serena Sanna (graduated 2007), now an investigator at the [http://www.serenasanna.com/ Istituto di Neurogenetica e Neurofarmacologia in Sardinia, Italy]&lt;br /&gt;
&lt;br /&gt;
* Paul Scheet (graduated 2008), now Associate Professor at [http://faculty.mdanderson.org/Paul_Scheet/Default.asp?SNID=221605974 Department of Epidemiology, University of Texas MD Anderson Cancer Center]&lt;br /&gt;
&lt;br /&gt;
* Carlo Sidore (graduated 2012), now an investigator at the [http://www.cnr.it/istituti/DatiGenerali.html?cds=060 Istituto di Neurogenetica e Neurofarmacologia in Sardinia, Italy]&lt;br /&gt;
&lt;br /&gt;
* Fabio Busonero (graduated 2012), now an investigator at the [http://www.cnr.it/istituti/DatiGenerali.html?cds=060 Istituto di Neurogenetica e Neurofarmacologia in Sardinia, Italy]&lt;br /&gt;
&lt;br /&gt;
* William Stewart (graduated 2008), now Assistant Professor at [http://www.mathmed.org/#William_Stewart Battelle Center for Computational Medicine, Departments of Statistics and Pediatrics, National Children&#039;s Hospital and Ohio State University]&lt;br /&gt;
&lt;br /&gt;
* [[Scott Vrieze]] (graduated 2014), now an Assistant Professor of Psychology and Neuroscience at [http://www.colorado.edu/ibg/people/471 University of Colorado, Boulder]&lt;br /&gt;
&lt;br /&gt;
=== Former Doctoral Students ===&lt;br /&gt;
&lt;br /&gt;
* Wei Chen (graduated 2011), now Assistant Professor  at the [http://www.chp.edu/CHP/Chen%2C+Wei%2C+PhD Department of Pediatrics, University of Pittsburgh Medical Center]&lt;br /&gt;
&lt;br /&gt;
* Jun Ding (graduated 2010), now Staff Scientist / Facility Head at the [http://www.grc.nia.nih.gov/branches/lg/lg.htm Laboratory of Genetics, National Institute on Aging (NIH)].&lt;br /&gt;
&lt;br /&gt;
* Weihua Guan (graduated 2010), now Assistant Professor at the [http://sph.umn.edu/faculty1/expertise/statistical-genetics/name/weihua-guan/ Department of Biostatistics, University of Minnesota School of Public Health].&lt;br /&gt;
&lt;br /&gt;
* Yun Li (graduated 2009), now Assistant Professor at the [http://www.sph.unc.edu/?option=com_profiles&amp;amp;Itemid=6138&amp;amp;profileAction=ProfDetail&amp;amp;pid=708777879 Department of Biostatistics, University of North Carolina].&lt;br /&gt;
&lt;br /&gt;
* Youna Hu (graduated 2012), now a Data Sciences Engineer at A9, a subsidiary of Amazon.com&lt;br /&gt;
&lt;br /&gt;
* Mingyao Li (graduated 2005), now Associate Professor at the [http://www.cceb.upenn.edu/faculty/index.php?id=159 Department of Biostatistics and Epidemiology, University of Pennsylvania]&lt;br /&gt;
&lt;br /&gt;
* Liming Liang (graduated 2009), now Assistant Professor at the [http://www.hsph.harvard.edu/faculty/liming-liang/ Departments of Biostatistics and Epidemiology, Harvard University]&lt;br /&gt;
&lt;br /&gt;
* Tasha Fingerlin (graduated 2003), now Associate Professor at the [http://www.ucdenver.edu/academics/colleges/PublicHealth/departments/Epidemiology/About/Faculty/Pages/FingerlinT.aspx Section of Epidemiology and Community Health, University of Colorado Health Sciences Center]&lt;br /&gt;
&lt;br /&gt;
* Andrew Skol (graduated 2006), now Assistant Professor at the [http://med-www02.bsd.uchicago.edu/339/FacultyPro/faculty_profile.aspx?empl_id=10164 Section of Genetic Medicine, University of Chicago]&lt;br /&gt;
&lt;br /&gt;
* [[Xiaowei Zhan]] (graduated 2014), now Assistant Professor at the [http://profiles.utsouthwestern.edu/profile/152189/xiaowei-zhan.html Department of Clinical Science, University of Texas - Southwestern Medical Center].&lt;br /&gt;
&lt;br /&gt;
* Jin Zhen (graduated 2009), now working in the Pharmaceutical Industry.&lt;br /&gt;
&lt;br /&gt;
=== Former Masters Students ===&lt;br /&gt;
&lt;br /&gt;
Su Chu&lt;br /&gt;
&lt;br /&gt;
Melinda Curran&lt;br /&gt;
&lt;br /&gt;
Vesela Gateva&lt;br /&gt;
&lt;br /&gt;
Xijing Han&lt;br /&gt;
&lt;br /&gt;
Dan Hovelson&lt;br /&gt;
&lt;br /&gt;
Elizabeth Jewell&lt;br /&gt;
&lt;br /&gt;
Yanming Li&lt;br /&gt;
&lt;br /&gt;
Heather Munro&lt;br /&gt;
&lt;br /&gt;
Nick Seewald&lt;br /&gt;
&lt;br /&gt;
Theresa Scott (nee Daigneault)&lt;br /&gt;
&lt;br /&gt;
Matthew Snyder&lt;br /&gt;
&lt;br /&gt;
Vivian Wang&lt;br /&gt;
&lt;br /&gt;
Yuan Wei&lt;br /&gt;
&lt;br /&gt;
Abigail Woodroffe&lt;br /&gt;
&lt;br /&gt;
Zaojun Ye&lt;br /&gt;
&lt;br /&gt;
Matthew Zawitowski&lt;br /&gt;
&lt;br /&gt;
Anita Yu Zhao&lt;br /&gt;
&lt;br /&gt;
=== Former Staff ===&lt;br /&gt;
&lt;br /&gt;
* Paul Anderson&lt;br /&gt;
&lt;br /&gt;
* [[Jennifer Bragg-Gresham]]&lt;br /&gt;
&lt;br /&gt;
* Jan Wigginton&lt;br /&gt;
&lt;br /&gt;
=== Visitors ===&lt;br /&gt;
&lt;br /&gt;
Toshiko Tanakato&lt;br /&gt;
&lt;br /&gt;
== Really Useful Stuff ==&lt;br /&gt;
&lt;br /&gt;
* [[Abecasis Group Awards]]&lt;br /&gt;
* [https://calendars.office.microsoft.com/pubcalstorage/m3n2kr0z1470909/Goncalo_Abecasis_Calendar(1).ics Goncalo&#039;s Calendar]&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Main_Page&amp;diff=13655</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Main_Page&amp;diff=13655"/>
		<updated>2015-07-28T00:44:02Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: Updated group photo with 2015 version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div id=&amp;quot;mf-mainpage&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!--        BANNER ACROSS TOP OF PAGE        --&amp;gt; &lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;width:100%; background:#fcfcfc; margin-top:1.2em; border:1px solid #ccc;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:100%; text-align:center; white-space:nowrap; color:#000;&amp;quot; | &amp;lt;div style=&amp;quot;font-size:162%; border:none; margin:0; padding:.1em; color:#000;&amp;quot;&amp;gt;Abecasis Group Wiki&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Abecasis2015Retreat.JPG|700px|center|Group Photo 2015]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Below are old images from 2009 and 2014 Retreats --&amp;gt;&lt;br /&gt;
&amp;lt;!-- &amp;lt;br&amp;gt; [[Image:Abecasis2014Retreat.JPG|700px|center|Group Photo 2014]] --&amp;gt;&lt;br /&gt;
&amp;lt;!-- &amp;lt;br&amp;gt; [[Image:2009.08 Group Retreat Photo.jpg|center|400px|Group Photo]]--&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
== Welcome!  ==&lt;br /&gt;
&lt;br /&gt;
Welcome to our brand new wiki! &lt;br /&gt;
&lt;br /&gt;
If you would like to contribute, [[Special:UserLogin|log-in]] or [[Special:RequestAccount|request an account]]. We recommend using your e-mail address or Michigan uniqname as your user id. &lt;br /&gt;
&lt;br /&gt;
For basic instructions, see [http://en.wikipedia.org/wiki/Wikipedia:Tutorial the Wikipedia Tutorial]. &lt;br /&gt;
&lt;br /&gt;
== Sequence Analysis Tools  ==&lt;br /&gt;
&lt;br /&gt;
We are developing [[Software|software tools]] for the analysis of next generation sequence data. &lt;br /&gt;
&lt;br /&gt;
These tools include: &lt;br /&gt;
&lt;br /&gt;
#Variant Calling with [[GlfSingle]] and [[GlfMultiples]] &lt;br /&gt;
#Variant Calling and De Novo Mutation Detection in Families with [[Polymutt]] &lt;br /&gt;
#Variant Annotations using [[VcfCodingSnps]] &lt;br /&gt;
#Rare Variant Analysis using [[RvTests]] &lt;br /&gt;
#Rare Variant Association Analysis in family samples [[FamRvTest]]&lt;br /&gt;
#Quality control using [[C++ Executable: fastQValidator|FastQValidator]], [[VerifyBamID]], and [[BamValidator]] &lt;br /&gt;
#C++ APIs for sequence analsysis using [[C++ Library: libStatGen]] &lt;br /&gt;
#Meta-analysis of single variant or gene-level associations [[RAREMETAL-SOFTWARE]]&lt;br /&gt;
#Sequencing study design helper [[Rarefy]]&lt;br /&gt;
#Local ancestry inference (ancestry painting) using off-targeted sequence data [[SEQMIX]]&lt;br /&gt;
#Association Container Toolbox [[EPACTS]]&lt;br /&gt;
#Fast Genotype Imputation Tool : [[Minimac3]]&lt;br /&gt;
&lt;br /&gt;
These tools and additional tools can be found on the [[Software]] page. &lt;br /&gt;
&lt;br /&gt;
We are developing Genome/Sequencing Processing Pipelines for anyone to use: [[GotCloud]]&lt;br /&gt;
&lt;br /&gt;
== High Level Tutorials  ==&lt;br /&gt;
&lt;br /&gt;
Some high-level tutorials on the analysis of next generation sequence data: &lt;br /&gt;
&lt;br /&gt;
#[[Evaluating a Read Mapper on Simulated Data]] &lt;br /&gt;
#[[SNP Call Set Properties]] &lt;br /&gt;
#[[Generic Exome Analysis Plan]]&lt;br /&gt;
&lt;br /&gt;
== Projects  ==&lt;br /&gt;
&lt;br /&gt;
[[NHLBI Informatics Resource|NHLBI Genome Sequencing Project]]&lt;br /&gt;
&lt;br /&gt;
[[SardiNIA]] - The SardiNIA longitudinal study of aging. &lt;br /&gt;
&lt;br /&gt;
[[EMADS|Exome Meta-analysis of Drinking and Smoking (EMADS)]]&lt;br /&gt;
&lt;br /&gt;
[http://www.1000genomes.org The 1000 Genomes Project]&lt;br /&gt;
&lt;br /&gt;
== Learn Genetics  ==&lt;br /&gt;
&lt;br /&gt;
Faculty in the group teach in a variety of formal and informal settings. [[Class Notes|Class notes]] and relevant discussion are archived here. &lt;br /&gt;
&lt;br /&gt;
== General Resources  ==&lt;br /&gt;
&lt;br /&gt;
*[[Computer How-Tos]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=File:Abecasis2015Retreat.JPG&amp;diff=13654</id>
		<title>File:Abecasis2015Retreat.JPG</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=File:Abecasis2015Retreat.JPG&amp;diff=13654"/>
		<updated>2015-07-28T00:41:52Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Alan_Kwong&amp;diff=10488</id>
		<title>Alan Kwong</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Alan_Kwong&amp;diff=10488"/>
		<updated>2014-06-03T17:43:36Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:HeadOfAlanKwong.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
Alan is a Ph.D. student working with Dr. [[Goncalo Abecasis]] in researching new methods for next-generation sequencing. He earned a B.S. in Bioengineering from University of California, Berkeley, and a M.S. in Biostatistics from the University of Michigan.&lt;br /&gt;
&lt;br /&gt;
Alan has participated in the [[SardiNIA]] project and the [[GotCloud]] project, and is currently working on methods for variant calling for large datasets and the Age-Related Macular Degeneration Whole-Genome Sequencing project.&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Alan_Kwong&amp;diff=7486</id>
		<title>Alan Kwong</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Alan_Kwong&amp;diff=7486"/>
		<updated>2013-06-14T16:16:30Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:HeadOfAlanKwong.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
Alan is a Ph.D. student working with Dr. [[Goncalo Abecasis]] in researching new methods for next-generation sequencing. He earned a B.S. in Bioengineering from University of California, Berkeley, and a M.S. in Biostatistics from the University of Michigan.&lt;br /&gt;
&lt;br /&gt;
Alan has participated in the [[SardiNIA]] project and the [[GotCloud]] project, and is currently working on methods for de novo genome assembly.&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Alan_Kwong&amp;diff=7485</id>
		<title>Alan Kwong</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Alan_Kwong&amp;diff=7485"/>
		<updated>2013-06-14T16:15:47Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: Created page with &amp;#039;right  Alan is a Ph.D. student working with Dr. Goncalo Abecasis in researching new methods for next-generation sequencing. He earned a B.S. in …&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:HeadOfAlanKwong.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
Alan is a Ph.D. student working with Dr. [[Goncalo Abecasis]] in researching new methods for next-generation sequencing. He earned a B.S. in Bioengineering from University of California, Berkeley, and a M.S. in Biostatistics from the University of Michigan.&lt;br /&gt;
&lt;br /&gt;
Alan has participated in the [[SardiNIA]] project and the [[GotCloud]] project.&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=File:HeadOfAlanKwong.jpg&amp;diff=7484</id>
		<title>File:HeadOfAlanKwong.jpg</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=File:HeadOfAlanKwong.jpg&amp;diff=7484"/>
		<updated>2013-06-14T16:15:25Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Abecasis_Lab&amp;diff=7483</id>
		<title>Abecasis Lab</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Abecasis_Lab&amp;diff=7483"/>
		<updated>2013-06-14T16:05:49Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:2009.08_Group_Retreat_Photo.jpg|400px|center|Group Photo]]&lt;br /&gt;
&lt;br /&gt;
== Mission Statement ==&lt;br /&gt;
&lt;br /&gt;
We are developing and applying computational and statistical tools to further understanding of complex human diseases, such as cardiovascular disease and diabetes.&lt;br /&gt;
&lt;br /&gt;
== Leadership ==&lt;br /&gt;
&lt;br /&gt;
[[Goncalo Abecasis]] is currently the Felix Moore Collegiate Professor of Biostatistics at the University of Michigan School of Public Health.&lt;br /&gt;
&lt;br /&gt;
== Current Members ==&lt;br /&gt;
&lt;br /&gt;
=== Research Fellows ===&lt;br /&gt;
&lt;br /&gt;
* Goo Jun&lt;br /&gt;
* Christian Fuchsberger&lt;br /&gt;
* Alex Tsoi&lt;br /&gt;
* [[Dajiang Liu]]&lt;br /&gt;
* Lars Fritsche&lt;br /&gt;
* [[Scott Vrieze]]&lt;br /&gt;
&lt;br /&gt;
=== International Visitors ===&lt;br /&gt;
&lt;br /&gt;
* Andrea Maschio&lt;br /&gt;
* Giorgio Pistis&lt;br /&gt;
* Eleanora Porcu&lt;br /&gt;
&lt;br /&gt;
=== Graduate Students ===&lt;br /&gt;
&lt;br /&gt;
* Su Chu&lt;br /&gt;
&lt;br /&gt;
* Sayantan Das&lt;br /&gt;
&lt;br /&gt;
* Shuang Feng&lt;br /&gt;
&lt;br /&gt;
* Dan Hovelson&lt;br /&gt;
&lt;br /&gt;
* [[Alan Kwong]]&lt;br /&gt;
&lt;br /&gt;
* Ben Lerch&lt;br /&gt;
&lt;br /&gt;
* Sara Rashkin&lt;br /&gt;
&lt;br /&gt;
* Sebanti Sengupta&lt;br /&gt;
&lt;br /&gt;
* Vivian Wang&lt;br /&gt;
&lt;br /&gt;
* Xiaowei Zhan&lt;br /&gt;
&lt;br /&gt;
* Tingting Zhou&lt;br /&gt;
&lt;br /&gt;
=== Staff ===&lt;br /&gt;
&lt;br /&gt;
* Laura Baker&lt;br /&gt;
&lt;br /&gt;
* Tom Blackwell&lt;br /&gt;
&lt;br /&gt;
* Sean Caron&lt;br /&gt;
&lt;br /&gt;
* Jennifer Bragg-Gresham&lt;br /&gt;
&lt;br /&gt;
* Kevin Li&lt;br /&gt;
&lt;br /&gt;
* Mary Kate Wing&lt;br /&gt;
&lt;br /&gt;
== Alumni ==&lt;br /&gt;
&lt;br /&gt;
=== Former Research Faculty ===&lt;br /&gt;
&lt;br /&gt;
Hyun Min Kang (&#039;&#039;graduated in 2011&#039;&#039;), now Assistant Professor at the [http://www.sph.umich.edu/biostat/ University of Michigan School of Public Health, Department of Biostatistics].&lt;br /&gt;
&lt;br /&gt;
=== Former Research Fellows ===&lt;br /&gt;
&lt;br /&gt;
Weimin Chen (graduated 2007), now Assistant Professor at the [http://people.virginia.edu/~wc9c/ Department of Public Health Sciences &amp;amp; Center for Public Health Genomics, University of Virginia]&lt;br /&gt;
&lt;br /&gt;
Bingshan Li (graudated 2011), now Assistant Professor at the [https://medschool.vanderbilt.edu/cqs/people/Bingshan/Li/cqs-faculty-members Center for Quantitative Sciences, Vanderbilt University]&lt;br /&gt;
&lt;br /&gt;
Serena Sanna (graduated 2007), now an investigator at the [http://www.serenasanna.com/ Istituto di Neurogenetica e Neurofarmacologia in Sardinia, Italy]&lt;br /&gt;
&lt;br /&gt;
Paul Scheet (graduated 2008), now Assistant Professor at [http://faculty.mdanderson.org/Paul_Scheet/Default.asp?SNID=221605974 Department of Epidemiology, University of Texas MD Anderson Cancer Center]&lt;br /&gt;
&lt;br /&gt;
Carlo Sidore (graduated 2012), now an investigator at the [http://www.serenasanna.com/ Istituto di Neurogenetica e Neurofarmacologia in Sardinia, Italy]&lt;br /&gt;
&lt;br /&gt;
William Stewart (graduated 2008), now Assistant Professor at [http://www.mathmed.org/#William_Stewart Battelle Center for Computational Medicine, Departments of Statistics and Pediatrics, National Children&#039;s Hospital and Ohio State University]&lt;br /&gt;
&lt;br /&gt;
=== Former Doctoral Students ===&lt;br /&gt;
&lt;br /&gt;
Wei Chen (graduated 2011), now Assistant Professor  at the [http://www.chp.edu/CHP/Chen%2C+Wei%2C+PhD Department of Pediatrics, University of Pittsburgh Medical Center]&lt;br /&gt;
&lt;br /&gt;
Jun Ding (graduate 2010), now Staff Scientist / Facility Head at the [http://www.grc.nia.nih.gov/branches/lg/lg.htm Laboratory of Genetics, National Institute on Aging (NIH)].&lt;br /&gt;
&lt;br /&gt;
Yun Li (graduated 2009), now Assistant Professor at the [http://www.sph.unc.edu/?option=com_profiles&amp;amp;Itemid=6138&amp;amp;profileAction=ProfDetail&amp;amp;pid=708777879 Department of Biostatistics, University of North Carolina].&lt;br /&gt;
&lt;br /&gt;
Youna Hu (graduated 2012), now a Research Fellow [http://cteg.berkeley.edu/members/hu.html working with Rasmus Nielsen at Berkeley]&lt;br /&gt;
&lt;br /&gt;
Mingyao Li (graduated 2005), now Associate Professor at the [http://www.cceb.upenn.edu/faculty/index.php?id=159 Department of Biostatistics and Epidemiology, University of Pennsylvania]&lt;br /&gt;
&lt;br /&gt;
Liming Liang (graduated 2009), now Assistant Professor at the [http://www.hsph.harvard.edu/faculty/liming-liang/ Departments of Biostatistics and Epidemiology, Harvard University]&lt;br /&gt;
&lt;br /&gt;
Tasha Fingerlin (graduated 2003), now Associate Professor at the [http://www.ucdenver.edu/academics/colleges/PublicHealth/departments/Epidemiology/About/Faculty/Pages/FingerlinT.aspx Section of Epidemiology and Community Health, University of Colorado Health Sciences Center]&lt;br /&gt;
&lt;br /&gt;
Andrew Skol (graduated 2006), now Assistant Professor at the [http://med-www02.bsd.uchicago.edu/339/FacultyPro/faculty_profile.aspx?empl_id=10164 Section of Genetic Medicine, University of Chicago]&lt;br /&gt;
&lt;br /&gt;
Jin Zhen (graduated 2009), now working in the Pharmaceutical Industry.&lt;br /&gt;
&lt;br /&gt;
=== Former Masters Students ===&lt;br /&gt;
&lt;br /&gt;
Melinda Curran&lt;br /&gt;
&lt;br /&gt;
Vesela Gateva&lt;br /&gt;
&lt;br /&gt;
Xijing Han&lt;br /&gt;
&lt;br /&gt;
Elizabeth Jewell&lt;br /&gt;
&lt;br /&gt;
Yanming Li&lt;br /&gt;
&lt;br /&gt;
Heather Munro&lt;br /&gt;
&lt;br /&gt;
Theresa Scott (nee Daigneault)&lt;br /&gt;
&lt;br /&gt;
Matthew Snyder&lt;br /&gt;
&lt;br /&gt;
Yuan Wei&lt;br /&gt;
&lt;br /&gt;
Abigail Woodroffe&lt;br /&gt;
&lt;br /&gt;
Zaojun Ye&lt;br /&gt;
&lt;br /&gt;
Matthew Zawitowski&lt;br /&gt;
&lt;br /&gt;
Anita Yu Zhao&lt;br /&gt;
&lt;br /&gt;
=== Visitors ===&lt;br /&gt;
&lt;br /&gt;
Toshiko Tanakato&lt;br /&gt;
&lt;br /&gt;
== Really Useful Stuff ==&lt;br /&gt;
&lt;br /&gt;
* [[Abecasis Group Awards]]&lt;br /&gt;
* [https://calendars.office.microsoft.com/pubcalstorage/m3n2kr0z1470909/Goncalo_Abecasis_Calendar(1).ics Goncalo&#039;s Calendar]&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Tutorial:_GotCloud&amp;diff=6599</id>
		<title>Tutorial: GotCloud</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Tutorial:_GotCloud&amp;diff=6599"/>
		<updated>2013-02-28T17:30:11Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: /* STEP 3 : Run GotCloud Variance Calling Pipeline */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= GotCloud Tutorial =&lt;br /&gt;
In this tutorial, we illustrate some of the essential steps in the analysis of next generation sequence data. &lt;br /&gt;
&lt;br /&gt;
Analysis starts with [http://en.wikipedia.org/wiki/FASTQ_format FASTQ files], the typical format provided from your sequencing center containing the sequence &amp;amp; base quality information for your data.&lt;br /&gt;
&lt;br /&gt;
The fastq files are processed using the alignment pipeline which finds the most likely genomic location for each read and stores that information in a [[BAM|BAM (Binary Sequence Alignment/Map format) file]].  In addition to the sequence and base quality information contained in FASTQ files, a BAM file also contains the genomic location and some additional information about the mapping.  As part of the alignment pipeline, the base qualities are adjusted to more accurately reflect the likelihood that the base is correct. &lt;br /&gt;
&lt;br /&gt;
The variant calling pipeline processes the BAMs file produced by the alignment pipeline, generating an initial list of polymorphic sites and genotypes stored in a [http://www.1000genomes.org/wiki/Analysis/Variant%20Call%20Format/vcf-variant-call-format-version-41 VCF (Variant Call Format) file] and then uses haplotype information to refine these genotypes in an updated VCF file.&lt;br /&gt;
&lt;br /&gt;
This tutorial then demonstrates how [[EPACTS|EPACTS (Efficient and Parallelizable Association Container Toolbox)]] can be used to perform statistical tests to identify genome-wide association from sequence data.&lt;br /&gt;
&lt;br /&gt;
[[File:GotCloudDiagram.png]]&lt;br /&gt;
&lt;br /&gt;
== STEP 1 : Setup GotCloud ==&lt;br /&gt;
&lt;br /&gt;
=== Step 1a: Setup Environment ===&lt;br /&gt;
To facilitate running this tutorial, set environment variables:&lt;br /&gt;
* GCHOME to the path to the base directory of your gotcloud instalation&lt;br /&gt;
* GCDATA to the path to the base directory of the example data instalation&lt;br /&gt;
In the instructions below, we &lt;br /&gt;
&lt;br /&gt;
First check your shell using:&lt;br /&gt;
  ps -p $$ -ocomm=&lt;br /&gt;
&lt;br /&gt;
For bash, sh:&lt;br /&gt;
 export GCHOME=~/gotcloud&lt;br /&gt;
 export GCDATA=~/gotcloudExample&lt;br /&gt;
 export GCOUT=~/gotcloudTutorial&lt;br /&gt;
&lt;br /&gt;
For csh, tcsh:&lt;br /&gt;
 setenv GCHOME ~/gotcloud&lt;br /&gt;
 setenv GCDATA ~/gotcloudExample&lt;br /&gt;
 setenv GCOUT ~/gotcloudTutorial&lt;br /&gt;
&lt;br /&gt;
=== Step 1b: Install GotCloud ===&lt;br /&gt;
In order to run this tutorial, you need to make sure you have GotCloud is installed on your system.  &lt;br /&gt;
&lt;br /&gt;
If you have root and would like to install gotcloud on your system, follow: [[GotCloud#Install_GotCloud_Software| root access installation instructions]]&lt;br /&gt;
&lt;br /&gt;
Otherwise, you can install it in your own directory:&lt;br /&gt;
# Create &amp;amp; Change directory to where you want to install gotcloud&lt;br /&gt;
# Download the gotcloud tar from the ftp site.&lt;br /&gt;
# Extract the tar&lt;br /&gt;
# Build the source&lt;br /&gt;
&lt;br /&gt;
 mkdir -p $GCHOME; cd $GCHOME&lt;br /&gt;
 wget ftp://share.sph.umich.edu/gotcloud/gotcloud.tar  # Download&lt;br /&gt;
 tar xvf gotcloud.tar --strip 1  # Extract&lt;br /&gt;
 cd $GCHOME/src; make            # Build source&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
=== Step 1c: Install Example Dataset ===&lt;br /&gt;
Our dataset consists of 60 individuals from GBR sequenced by the 1000 Genomes Project. These individuals have been sequenced to an average depth of about 4x.&lt;br /&gt;
&lt;br /&gt;
To conserve time and disk-space, our analysis will focus on a small region on chromosome 20, 42900000 - 43200000. We will first map the reads for two individuals (HG00096, HG00100).  &lt;br /&gt;
&lt;br /&gt;
The 2nd step is to use the mapped reads for 60 individuals to generate a list of polymorphic sites and estimate accurate genotypes at each of these sites.&lt;br /&gt;
&lt;br /&gt;
The example dataset we&#039;ll be using is available at: ftp://share.sph.umich.edu/gotcloud/gotcloudExample.tar&lt;br /&gt;
&lt;br /&gt;
# Create &amp;amp; Change directory to where you want to install the Tutorail data&lt;br /&gt;
# Download the dataset tar from the ftp site&lt;br /&gt;
# Extract the tar&lt;br /&gt;
&lt;br /&gt;
 mkdir -p $GCDATA; cd $GCDATA&lt;br /&gt;
 wget ftp://share.sph.umich.edu/gotcloud/gotcloudExample.tar  # Download&lt;br /&gt;
 tar xvf gotcloudExample.tar --strip 1  # Extract&lt;br /&gt;
&lt;br /&gt;
== STEP 2 : Run GotCloud Alignment Pipeline ==&lt;br /&gt;
The first step in processing next generation sequence data is mapping the reads to the reference genome, generating per sample BAM files. &lt;br /&gt;
&lt;br /&gt;
The alignment pipeline has multiple built-in steps to generate BAMs:&lt;br /&gt;
# Align the fastqs to the reference genome&lt;br /&gt;
#* handles both single &amp;amp; paired end&lt;br /&gt;
# Merge the results from multiple fastqs into 1 file per sample&lt;br /&gt;
# Mark Duplicate Reads are marked&lt;br /&gt;
# Recalibrate Base Qualities&lt;br /&gt;
&lt;br /&gt;
This processing results in 1 BAM file per sample.&lt;br /&gt;
&lt;br /&gt;
The alignment pipeline also includes Quality Control (QC) steps:&lt;br /&gt;
# Visualization of various quality measures (QPLOT)&lt;br /&gt;
# Screen for sample contamination &amp;amp; swap (VerifyBamID)&lt;br /&gt;
&lt;br /&gt;
Run the alignment pipeline (the example aligns 2 samples) :&lt;br /&gt;
 $GCHOME/gotcloud align --conf $GCDATA/[[Alignment Configuration File|GBR60align.conf]] --outdir $GCOUT&lt;br /&gt;
&lt;br /&gt;
Upon successful completion of the alignment pipeline (about 1-2 minutes), you will see the following message: &lt;br /&gt;
 Processing finished in nn secs with no errors reported&lt;br /&gt;
&lt;br /&gt;
The final BAM files produced by the alignment pipeline are:&lt;br /&gt;
 ls $GCOUT/alignment.recal/*.recal.bam $GCOUT/alignment.recal/*.recal.bam.bai&lt;br /&gt;
&lt;br /&gt;
Index files (.bai) for these BAMs are also in that directory.  &lt;br /&gt;
&lt;br /&gt;
The QC files for verifyBamID are:&lt;br /&gt;
 ls $GCOUT/QCFiles/*.genoCheck.self* $GCOUT/QCFiles/*.genoCheck.depth*&lt;br /&gt;
&lt;br /&gt;
[[Understanding VerifyBamID output]]&lt;br /&gt;
&lt;br /&gt;
The QC files for qplot are:&lt;br /&gt;
 ls $GCOUT/QCFiles/*.qplot.R $GCOUT/QCFiles/*.qplot.stats &lt;br /&gt;
&lt;br /&gt;
[[Understanding QPLOT output]]&lt;br /&gt;
&lt;br /&gt;
== STEP 3 : Run GotCloud Variant Calling Pipeline ==&lt;br /&gt;
The next step is to analyze BAM files by calling SNPs and generating a VCF file containing the results. &lt;br /&gt;
&lt;br /&gt;
The variant calling pipeline has multiple built-in steps to generate BAMs:&lt;br /&gt;
# Filter out reads with low mapping quality&lt;br /&gt;
# Per Base Alignment Quality Adjustment (BAQ)&lt;br /&gt;
# Resolve overlapping paired end reads&lt;br /&gt;
# Generate genotype likelihood files&lt;br /&gt;
# Perform variant calling&lt;br /&gt;
# Extract features from variant sites&lt;br /&gt;
# Perform variant filtering&lt;br /&gt;
&lt;br /&gt;
This processing results in a single set of variant sites for all samples.&lt;br /&gt;
&lt;br /&gt;
Run the variant calling pipeline:&lt;br /&gt;
 $GCHOME/gotcloud snpcall --conf [[GBR60vc.conf]] --outdir $GCOUT --numjobs 2 --region 20:42900000-43200000&lt;br /&gt;
&lt;br /&gt;
Upon successful completion of the variant calling pipeline (about 3-4 minutes), you will see the following message: &lt;br /&gt;
  Commands finished in nnn secs with no errors reported&lt;br /&gt;
&lt;br /&gt;
The final VCF produced by the variant calling pipeline containing only the variants that passed all filters is:&lt;br /&gt;
 ls $GCOUT/split/chr20/chr20.filtered.PASS.vcf.gz&lt;br /&gt;
&lt;br /&gt;
The VCF including the filtered sites with the filters marked in the Filter field (or &amp;quot;PASS&amp;quot; if the site was not filtered) is:&lt;br /&gt;
 ls $GCOUT/vcfs/chr20/chr20.filtered.vcf.gz&lt;br /&gt;
&lt;br /&gt;
== STEP 4 : Run GotCloud Genotype Refinement Pipeline ==&lt;br /&gt;
The next step is to perform genotype refinement using linkage disequilibrium information using [http://faculty.washington.edu/browning/beagle/beagle.html Beagle] &amp;amp; [[ThunderVCF]].&lt;br /&gt;
&lt;br /&gt;
Run the LD-aware genotype refinement pipeline:&lt;br /&gt;
 $GCHOME/gotcloud ldrefine --conf [[GBR60vc.conf]] --outdir $GCOUT --numjobs 2&lt;br /&gt;
&lt;br /&gt;
Upon successful completion of this pipeline, you will see the following message: &lt;br /&gt;
 Commands finished in nnn secs with no errors reported&lt;br /&gt;
&lt;br /&gt;
The output from the beagle step of the genotype refinement pipeline is found in:&lt;br /&gt;
 ls $GCOUT/beagle/chr20/chr20.filtered.PASS.beagled.vcf.gz $GCOUT/beagle/chr20/chr20.filtered.PASS.beagled.vcf.gz.tbi&lt;br /&gt;
&lt;br /&gt;
The output from the thunderVcf (final step) of the genotype refinement pipeline is found in:&lt;br /&gt;
 ls $GCOUT/thunder/chr20/GBR/chr20.filtered.PASS.beagled.GBR.thunder.vcf.gz $GCOUT/thunder/chr20/GBR/chr20.filtered.PASS.beagled.GBR.thunder.vcf.gz.tbi&lt;br /&gt;
&lt;br /&gt;
== STEP 5 : Run GotCloud Association Analysis Pipeline ==&lt;br /&gt;
&lt;br /&gt;
 /net/fantasia/home/hmkang/bin/epacts/bin/epacts single --vcf $GCOUT/vcfs/chr20/chr20.filtered.vcf.gz --ped $GCDATA/test.GBR60.ped --out EPACTS_TEST --test q.linear --run 1 --top 1 --chr 20&lt;br /&gt;
&lt;br /&gt;
= Tutorial Inputs = &lt;br /&gt;
&lt;br /&gt;
== Alignment Pipeline ==&lt;br /&gt;
The inputs to the tutorial alignment pipeline are:&lt;br /&gt;
# [[#Alignment Configuration File|Configuration File (--conf)]]&lt;br /&gt;
# [[#Alignment Output Directory|Output Directory (--outdir)]]&lt;br /&gt;
&lt;br /&gt;
=== Alignment Configuration File ===&lt;br /&gt;
The configuration file contains KEY = VALUE settings that override defaults and set specific values for the given run.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
INDEX_FILE = GBR60fastq.index&lt;br /&gt;
############&lt;br /&gt;
# References&lt;br /&gt;
REF_DIR = chr20Ref&lt;br /&gt;
AS = NCBI37&lt;br /&gt;
FA_REF = $(REF_DIR)/human_g1k_v37_chr20.fa&lt;br /&gt;
DBSNP_VCF =  $(REF_DIR)/dbsnp135_chr20.vcf.gz&lt;br /&gt;
HM3_VCF = $(REF_DIR)/hapmap_3.3.b37.sites.chr20.vcf.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This configuration file sets:&lt;br /&gt;
* INDEX_FILE - file containing the fastqs to be processed as well as the read group information for these fastqs.  &lt;br /&gt;
* Reference Information:&lt;br /&gt;
** AS - assembly value to put in the BAM&lt;br /&gt;
** FA_REF - the reference file (.fa extension), the additional files should be at the same location:&lt;br /&gt;
*** human_g1k_v37_chr20-bs.umfa&lt;br /&gt;
*** human_g1k_v37_chr20.dict&lt;br /&gt;
*** human_g1k_v37_chr20.fa&lt;br /&gt;
*** human_g1k_v37_chr20.fa.amb&lt;br /&gt;
*** human_g1k_v37_chr20.fa.ann&lt;br /&gt;
*** human_g1k_v37_chr20.fa.bwt&lt;br /&gt;
*** human_g1k_v37_chr20.fa.fai&lt;br /&gt;
*** human_g1k_v37_chr20.fa.GCcontent&lt;br /&gt;
*** human_g1k_v37_chr20.fa.pac&lt;br /&gt;
*** human_g1k_v37_chr20.fa.rbwt&lt;br /&gt;
*** human_g1k_v37_chr20.fa.rpac&lt;br /&gt;
*** human_g1k_v37_chr20.fa.rsa&lt;br /&gt;
*** human_g1k_v37_chr20.fa.sa&lt;br /&gt;
** DBSNP_VCF - a vcf containing the dbsnp positions&lt;br /&gt;
** HM3_VCF - hapmap vcf&lt;br /&gt;
&lt;br /&gt;
For running your own test, update the INDEX_FILE to point to your index file and the reference values to point to your references.&lt;br /&gt;
&lt;br /&gt;
This example uses reference files that are chr20 only in order to speed processing of the tutorial data.  If you are using the default references, you may just need to update REF_DIR to the directory where they are installed.  Full Reference files can be downloaded from [[GotCloudReference]].&lt;br /&gt;
&lt;br /&gt;
It is recommended that you use absolute paths.  (This example does not use absolute paths in order to be flexible to where the data is installed, but using relative paths require it to be run from the correct directory.)&lt;br /&gt;
&lt;br /&gt;
=== Alignment Output Directory ===&lt;br /&gt;
This setting tells the pipeline what directory to write the output files into.&lt;br /&gt;
&lt;br /&gt;
The output directory will be created if necessary and will contain the following Directories/files:&lt;br /&gt;
* bams - directory containing the final bams/bai files&lt;br /&gt;
** HG00096.OK - indicates that this sample completed alignment processing&lt;br /&gt;
** HG00100.OK - indicates that this sample completed alignment processing&lt;br /&gt;
* failLogs - directory containing logs from steps that failed&lt;br /&gt;
* Makefiles - directory containing the makefiles for each sample&lt;br /&gt;
**&lt;br /&gt;
* QCFiles - directory containing the QC Results&lt;br /&gt;
**&lt;br /&gt;
* tmp - directory containing temporary alignment files&lt;br /&gt;
**&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Modifying the Tutorial Inputs to Run Your Own Data =&lt;br /&gt;
&lt;br /&gt;
== Download the whole genome resource files ==&lt;br /&gt;
If you want to analyze sequence data beyond chr20, you will first need to download the full resource files from [[TBA]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Index file===&lt;br /&gt;
&lt;br /&gt;
There are four fastq files in {ROOT_DIR}/test/align/fastq/Sample_1 and four fastq files in {ROOT_DIR}/test/align/fastq/Sample_2, both in paired-end format.  Normally, we would need to build an index file for these files. Conveniently, an index file (indexFile.txt) already exists for the automatic test samples.  It can be found in {ROOT_DIR}/test/align/, and contains the following information in tab-delimited format:&lt;br /&gt;
&lt;br /&gt;
 MERGE_NAME FASTQ1                           FASTQ2                           RGID   SAMPLE    LIBRARY CENTER PLATFORM&lt;br /&gt;
 Sample1    fastq/Sample_1/File1_R1.fastq.gz fastq/Sample_1/File1_R2.fastq.gz RGID1  SampleID1 Lib1    UM     ILLUMINA&lt;br /&gt;
 Sample1    fastq/Sample_1/File2_R1.fastq.gz fastq/Sample_1/File2_R2.fastq.gz RGID1a SampleID1 Lib1    UM     ILLUMINA&lt;br /&gt;
 Sample2    fastq/Sample_2/File1_R1.fastq.gz fastq/Sample_2/File1_R2.fastq.gz RGID2  SampleID2 Lib2    UM     ILLUMINA&lt;br /&gt;
 Sample2    fastq/Sample_2/File2_R1.fastq.gz fastq/Sample_2/File2_R2.fastq.gz RGID2  SampleID2 Lib2    UM     ILLUMINA&lt;br /&gt;
&lt;br /&gt;
If you are in the {ROOT_DIR}/test/align directory, you can use this file as-is.  If you prefer, you can create a new index file and change the MERGE_NAME, RGID, SAMPLE, LIBRARY, CENTER, or PLATFORM values. It is recommended that you do not modify existing files in {ROOT_DIR}/test/align. &lt;br /&gt;
&lt;br /&gt;
If you want to run this example from a different directory, make sure the FASTQ1 and FASTQ2 paths are correct.  That is, each of the FASTQ1 and FASTQ2 entry in the index file should look like the following:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/test/align/fastq/Sample_1/File1_R1.fastq.gz &lt;br /&gt;
&lt;br /&gt;
Alternately, if you want to run this example from a different directory, but do not want to edit the index file, you can create a relative path to the test fastq files so their path agrees with that listed in the index file:&lt;br /&gt;
&lt;br /&gt;
 ln -s {ROOT_DIR}/test/align/fastq fastq&lt;br /&gt;
&lt;br /&gt;
This will create a symbolic link to the test fastq directory from your current directory.&lt;br /&gt;
&lt;br /&gt;
(More information about: [[Mapping_Pipeline#Sequence_Index_File|the index file]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Configuration file===&lt;br /&gt;
&lt;br /&gt;
Similar to the index file, a configuration file (test.conf) already exists for the automatic test samples. It contains the following information:&lt;br /&gt;
&lt;br /&gt;
 INDEX_FILE = indexFile.txt&lt;br /&gt;
 ############&lt;br /&gt;
 # References&lt;br /&gt;
 REF_DIR = $(PIPELINE_DIR)/test/align/chr20Ref&lt;br /&gt;
 AS = NCBI37&lt;br /&gt;
 FA_REF = $(REF_DIR)/human_g1k_v37_chr20.fa&lt;br /&gt;
 DBSNP_VCF =  $(REF_DIR)/dbsnp.b130.ncbi37.chr20.vcf.gz&lt;br /&gt;
 PLINK = $(REF_DIR)/hapmap_3.3.b37.chr20&lt;br /&gt;
&lt;br /&gt;
If you are in the {ROOT_DIR}/test/align directory, you can use this file as-is. If you are using a different index file, make sure your index file is named correctly in the first line. If you are not running this from {ROOT_DIR}/test/align, make sure your configuration and index files are in the same directory.  &lt;br /&gt;
&lt;br /&gt;
(More information about: [[Mapping_Pipeline#Reference_Files|reference files]], [[Mapping_Pipeline#Optional_Configurable_Settings|optional configurable settings]], or [[Mapping_Pipeline#Command-Line_Options|command-line options]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Running the alignment pipeline===&lt;br /&gt;
&lt;br /&gt;
You are now ready to run the alignment pipeline.&lt;br /&gt;
&lt;br /&gt;
To run the alignment pipeline, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/bin/gen_biopipeline.pl -conf test.conf -out_dir {OUT_DIR}&lt;br /&gt;
&lt;br /&gt;
where {OUT_DIR} is the directory in which you wish to store the resulting BAM files (for example, ~/out).&lt;br /&gt;
&lt;br /&gt;
If everything went well, you will see the following messages:&lt;br /&gt;
&lt;br /&gt;
 Created {OUT_DIR}/Makefiles/biopipe_Sample2.Makefile&lt;br /&gt;
 Created {OUT_DIR}/Makefiles/biopipe_Sample1.Makefile&lt;br /&gt;
 ---------------------------------------------------------------------&lt;br /&gt;
 Submitted 2  commands&lt;br /&gt;
 Waiting for commands to complete... . .  Commands finished in 33 secs with no errors reported&lt;br /&gt;
&lt;br /&gt;
The aligned BAM files are found in {OUT_DIR}/alignment.recal/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Analyzing a Sample==&lt;br /&gt;
&lt;br /&gt;
Using UMAKE, you can analyze BAM files by calling SNPs, and generate a VCF file containing the results.  Once again, we can analyze BAM files used in the automatic test.  For this example, we have 60 BAM files, which can be found in {ROOT_DIR}/test/umake/bams.  These contain sequence information for a targeted region in chromosome 20.&lt;br /&gt;
&lt;br /&gt;
In addition to the BAM files, you will need three files to run UMAKE: an index file, a configuration file, and a bed file (needed to analyze BAM files from targeted/exome sequencing).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Index file===&lt;br /&gt;
&lt;br /&gt;
First, you need a list of all the BAM files to be analyzed. Conveniently, the a test index file (umake_test.index) already exists in {ROOT_DIR}/test/umake/.  It contains the following information:&lt;br /&gt;
&lt;br /&gt;
 NA12272 ALL     bams/NA12272.mapped.ILLUMINA.bwa.CEU.low_coverage.20101123.chrom20.20000001.20300000.bam&lt;br /&gt;
 NA12004 ALL     bams/NA12004.mapped.ILLUMINA.bwa.CEU.low_coverage.20101123.chrom20.20000001.20300000.bam&lt;br /&gt;
 ...&lt;br /&gt;
 NA12874 ALL     bams/NA12874.mapped.LS454.ssaha2.CEU.low_coverage.20101123.chrom20.20000001.20300000.bam&lt;br /&gt;
&lt;br /&gt;
You can use this file directly if you change your current directory to {ROOT_DIR}/test/umake/.&lt;br /&gt;
&lt;br /&gt;
Alternately, if you want to copy and use this index file to a different directory, you can create a symbolic link to the bams folder as follows:&lt;br /&gt;
&lt;br /&gt;
 ln -s {ROOT_DIR}/test/umake/bams bams&lt;br /&gt;
&lt;br /&gt;
(More information about: [[Variant_Calling_Pipeline_(UMAKE)#Index_File|the index file]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===BED file===&lt;br /&gt;
&lt;br /&gt;
This file contains a single line:&lt;br /&gt;
&lt;br /&gt;
 chr20   20000050        20300000&lt;br /&gt;
&lt;br /&gt;
You can copy this to the current directory and use it as-is.&lt;br /&gt;
&lt;br /&gt;
(More information about: [[Variant_Calling_Pipeline_(UMAKE)#Targeted.2FExome_Sequencing_Settings|targeted/exome sequencing settings]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Configuration file===&lt;br /&gt;
&lt;br /&gt;
A configuration file (umake_test.conf) already exists in {ROOT_DIR}/test/umake/.  It contains the following information:&lt;br /&gt;
&lt;br /&gt;
 CHRS = 20&lt;br /&gt;
 TEST_ROOT = $(UMAKE_ROOT)/test/umake&lt;br /&gt;
 BAM_INDEX = $(TEST_ROOT)/umake_test.index&lt;br /&gt;
 OUT_PREFIX = umake_test&lt;br /&gt;
 REF_ROOT = $(TEST_ROOT)/ref&lt;br /&gt;
 #&lt;br /&gt;
 REF = $(REF_ROOT)/karma.ref/human.g1k.v37.chr20.fa&lt;br /&gt;
 INDEL_PREFIX = $(REF_ROOT)/indels/1kg.pilot_release.merged.indels.sites.hg19&lt;br /&gt;
 DBSNP_PREFIX =  $(REF_ROOT)/dbSNP/dbsnp_135_b37.rod&lt;br /&gt;
 HM3_PREFIX =  $(REF_ROOT)/HapMap3/hapmap3_r3_b37_fwd.consensus.qc.poly&lt;br /&gt;
 #&lt;br /&gt;
 RUN_INDEX = TRUE        # create BAM index file&lt;br /&gt;
 RUN_PILEUP = TRUE       # create GLF file from BAM&lt;br /&gt;
 RUN_GLFMULTIPLES = TRUE # create unfiltered SNP calls&lt;br /&gt;
 RUN_VCFPILEUP = TRUE    # create PVCF files using vcfPileup and run infoCollector&lt;br /&gt;
 RUN_FILTER = TRUE       # filter SNPs using vcfCooker&lt;br /&gt;
 RUN_SPLIT = TRUE        # split SNPs into chunks for genotype refinement&lt;br /&gt;
 RUN_BEAGLE = FALSE  # BEAGLE - MUST SET AFTER FINISHING PREVIOUS STEPS&lt;br /&gt;
 RUN_SUBSET = FALSE  # SUBSET FOR THUNDER - MAY BE SET WITH BEAGLE STEP TOGETHER&lt;br /&gt;
 RUN_THUNDER = FALSE # THUNDER - MUST SET AFTER FINISHING PREVIOUS STEPS&lt;br /&gt;
 ###############################################################################&lt;br /&gt;
 WRITE_TARGET_LOCI = TRUE  # FOR TARGETED SEQUENCING ONLY -- Write loci file when performing pileup&lt;br /&gt;
 UNIFORM_TARGET_BED = $(TEST_ROOT)/umake_test.bed # Targeted sequencing : When all individuals has the same target. Otherwise, comment it out&lt;br /&gt;
 OFFSET_OFF_TARGET = 50 # Extend target by given # of bases&lt;br /&gt;
 MULTIPLE_TARGET_MAP =  # Target per individual : Each line contains [SM_ID] [TARGET_BED]&lt;br /&gt;
 TARGET_DIR = target    # Directory to store target information&lt;br /&gt;
 SAMTOOLS_VIEW_TARGET_ONLY = TRUE # When performing samtools view, exclude off-target regions (may make command line too long)&lt;br /&gt;
&lt;br /&gt;
If you are running this from a different directory, you will want to change some of the lines as follows:&lt;br /&gt;
&lt;br /&gt;
 BAM_INDEX = {CURRENT_DIR}/umake_test.index&lt;br /&gt;
 UNIFORM_TARGET_BED = {CURRENT_DIR}/umake_test.bed&lt;br /&gt;
&lt;br /&gt;
where {CURRENT_DIR} is the absolute path to the directory that contains the index and bed files.  &lt;br /&gt;
&lt;br /&gt;
An additional option can be added in the configuration file:&lt;br /&gt;
&lt;br /&gt;
 OUT_DIR = {OUT_DIR}&lt;br /&gt;
&lt;br /&gt;
where {OUT_DIR} is the name of directory in which you want the output to be stored.  If you do not specify this in the configuration file, you will need to add an extra parameter when you run UMAKE in the next step.&lt;br /&gt;
&lt;br /&gt;
(More information about: [[Variant_Calling_Pipeline_(UMAKE)#Configuration_File|the configuration file]], [[Variant_Calling_Pipeline_(UMAKE)#Reference_Files|reference files]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Running UMAKE===&lt;br /&gt;
&lt;br /&gt;
If you added an OUT_DIR line to the configuration file, you can run UMAKE with the following command:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/bin/umake.pl --conf umake_test.conf --snpcall --numjobs 2&lt;br /&gt;
&lt;br /&gt;
If you have not added an OUT_DIR line to the configuration file, you can specify the output directory directly with the following command:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/bin/umake.pl --conf umake_test.conf --outdir {OUT_DIR} --snpcall --numjobs 2&lt;br /&gt;
&lt;br /&gt;
where {OUT_DIR} is the directory in which you want the output to be stored.&lt;br /&gt;
&lt;br /&gt;
Either command will perform SNP calling on the test samples. If you find the resulting VCF files located in {OUT_DIR}/vcfs/chr20, then you have successfully called the SNPs from the test BAM files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
&lt;br /&gt;
[[Mapping_Pipeline|Mapping (Alignment) Pipeline]] &lt;br /&gt;
&lt;br /&gt;
[[Variant_Calling_Pipeline_(UMAKE)|Variant Calling Pipeline (UMAKE)]]&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Tutorial:_GotCloud&amp;diff=6475</id>
		<title>Tutorial: GotCloud</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Tutorial:_GotCloud&amp;diff=6475"/>
		<updated>2013-02-20T02:02:23Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Installation==&lt;br /&gt;
&lt;br /&gt;
First, make sure GotCloud is installed on your system.  Installation instructions [[GotCloud#Setup|here]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Running the Automatic Test==&lt;br /&gt;
&lt;br /&gt;
This will verify whether GotCloud was installed correctly.&lt;br /&gt;
&lt;br /&gt;
*To run the test case for the alignment pipeline automatically, type in the following command:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/bin/gen_biopipeline.pl -test OUTPUT_DIR&lt;br /&gt;
&lt;br /&gt;
where OUTPUT_DIR is the directory where you want to store the test results.  (We will call the directory in which GotCloud is installed &amp;quot;{ROOT_DIR}&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
If you see &amp;quot;Test Passed&amp;quot;, then you are ready to align samples.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*To run the test case for the variant-calling pipeline (UMAKE), change your current directory to GotCloud&#039;s root directory, and type in the following command:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/bin/umake.pl -test OUTPUT_DIR&lt;br /&gt;
&lt;br /&gt;
where OUTPUT_DIR is the directory where you want to store the test results.&lt;br /&gt;
&lt;br /&gt;
If you see &amp;quot;Test Passed&amp;quot;, then you are ready to call variants.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Aligning a Sample==&lt;br /&gt;
&lt;br /&gt;
As an example, we can align the sample fastq files used in the automatic test.  They belong to two different samples, which we will call &amp;quot;Sample1&amp;quot; and &amp;quot;Sample2&amp;quot;.  They are found in {ROOT_DIR}/test/align/fastq.&lt;br /&gt;
&lt;br /&gt;
To make this easier, change to the {ROOT_DIR}/test/align directory. It contains an index file and a configuration file that can be used directly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Index file===&lt;br /&gt;
&lt;br /&gt;
There are four fastq files in {ROOT_DIR}/test/align/fastq/Sample_1 and four fastq files in {ROOT_DIR}/test/align/fastq/Sample_2, both in paired-end format.  Normally, we would need to build an index file for these files. Conveniently, an index file (indexFile.txt) already exists for the automatic test samples.  It can be found in {ROOT_DIR}/test/align/, and contains the following information in tab-delimited format:&lt;br /&gt;
&lt;br /&gt;
 MERGE_NAME FASTQ1                           FASTQ2                           RGID   SAMPLE    LIBRARY CENTER PLATFORM&lt;br /&gt;
 Sample1    fastq/Sample_1/File1_R1.fastq.gz fastq/Sample_1/File1_R2.fastq.gz RGID1  SampleID1 Lib1    UM     ILLUMINA&lt;br /&gt;
 Sample1    fastq/Sample_1/File2_R1.fastq.gz fastq/Sample_1/File2_R2.fastq.gz RGID1a SampleID1 Lib1    UM     ILLUMINA&lt;br /&gt;
 Sample2    fastq/Sample_2/File1_R1.fastq.gz fastq/Sample_2/File1_R2.fastq.gz RGID2  SampleID2 Lib2    UM     ILLUMINA&lt;br /&gt;
 Sample2    fastq/Sample_2/File2_R1.fastq.gz fastq/Sample_2/File2_R2.fastq.gz RGID2  SampleID2 Lib2    UM     ILLUMINA&lt;br /&gt;
&lt;br /&gt;
If you are in the {ROOT_DIR}/test/align directory, you can use this file as-is.  If you prefer, you can create a new index file and change the MERGE_NAME, RGID, SAMPLE, LIBRARY, CENTER, or PLATFORM values. It is recommended that you do not modify existing files in {ROOT_DIR}/test/align. &lt;br /&gt;
&lt;br /&gt;
If you want to run this example from a different directory, make sure the FASTQ1 and FASTQ2 paths are correct.  That is, each of the FASTQ1 and FASTQ2 entry in the index file should look like the following:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/test/align/fastq/Sample_1/File1_R1.fastq.gz &lt;br /&gt;
&lt;br /&gt;
Alternately, if you want to run this example from a different directory, but do not want to edit the index file, you can create a relative path to the test fastq files so their path agrees with that listed in the index file:&lt;br /&gt;
&lt;br /&gt;
 ln -s {ROOT_DIR}/test/align/fastq fastq&lt;br /&gt;
&lt;br /&gt;
This will create a symbolic link to the test fastq directory from your current directory.&lt;br /&gt;
&lt;br /&gt;
(More information about: [[Mapping_Pipeline#Sequence_Index_File|the index file]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Configuration file===&lt;br /&gt;
&lt;br /&gt;
Similar to the index file, a configuration file (test.conf) already exists for the automatic test samples. It contains the following information:&lt;br /&gt;
&lt;br /&gt;
 INDEX_FILE = indexFile.txt&lt;br /&gt;
 ############&lt;br /&gt;
 # References&lt;br /&gt;
 REF_DIR = $(PIPELINE_DIR)/test/align/chr20Ref&lt;br /&gt;
 AS = NCBI37&lt;br /&gt;
 FA_REF = $(REF_DIR)/human_g1k_v37_chr20.fa&lt;br /&gt;
 DBSNP_VCF =  $(REF_DIR)/dbsnp.b130.ncbi37.chr20.vcf.gz&lt;br /&gt;
 PLINK = $(REF_DIR)/hapmap_3.3.b37.chr20&lt;br /&gt;
&lt;br /&gt;
If you are in the {ROOT_DIR}/test/align directory, you can use this file as-is. If you are using a different index file, make sure your index file is named correctly in the first line. If you are not running this from {ROOT_DIR}/test/align, make sure your configuration and index files are in the same directory.  &lt;br /&gt;
&lt;br /&gt;
(More information about: [[Mapping_Pipeline#Reference_Files|reference files]], [[Mapping_Pipeline#Optional_Configurable_Settings|optional configurable settings]], or [[Mapping_Pipeline#Command-Line_Options|command-line options]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Running the alignment pipeline===&lt;br /&gt;
&lt;br /&gt;
You are now ready to run the alignment pipeline.&lt;br /&gt;
&lt;br /&gt;
To run the alignment pipeline, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/bin/gen_biopipeline.pl -conf test.conf -out_dir {OUT_DIR}&lt;br /&gt;
&lt;br /&gt;
where {OUT_DIR} is the directory in which you wish to store the resulting BAM files (for example, ~/out).&lt;br /&gt;
&lt;br /&gt;
If everything went well, you will see the following messages:&lt;br /&gt;
&lt;br /&gt;
 Created {OUT_DIR}/Makefiles/biopipe_Sample2.Makefile&lt;br /&gt;
 Created {OUT_DIR}/Makefiles/biopipe_Sample1.Makefile&lt;br /&gt;
 ---------------------------------------------------------------------&lt;br /&gt;
 Submitted 2  commands&lt;br /&gt;
 Waiting for commands to complete... . .  Commands finished in 33 secs with no errors reported&lt;br /&gt;
&lt;br /&gt;
The aligned BAM files are found in {OUT_DIR}/alignment.recal/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Analyzing a Sample==&lt;br /&gt;
&lt;br /&gt;
Using UMAKE, you can analyze BAM files by calling SNPs, and generate a VCF file containing the results.  Once again, we can analyze BAM files used in the automatic test.  For this example, we have 60 BAM files, which can be found in {ROOT_DIR}/test/umake/bams.  These contain sequence information for a targeted region in chromosome 20.&lt;br /&gt;
&lt;br /&gt;
In addition to the BAM files, you will need three files to run UMAKE: an index file, a configuration file, and a bed file (needed to analyze BAM files from targeted/exome sequencing).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Index file===&lt;br /&gt;
&lt;br /&gt;
First, you need a list of all the BAM files to be analyzed. Conveniently, the a test index file (umake_test.index) already exists in {ROOT_DIR}/test/umake/.  It contains the following information:&lt;br /&gt;
&lt;br /&gt;
 NA12272 ALL     bams/NA12272.mapped.ILLUMINA.bwa.CEU.low_coverage.20101123.chrom20.20000001.20300000.bam&lt;br /&gt;
 NA12004 ALL     bams/NA12004.mapped.ILLUMINA.bwa.CEU.low_coverage.20101123.chrom20.20000001.20300000.bam&lt;br /&gt;
 ...&lt;br /&gt;
 NA12874 ALL     bams/NA12874.mapped.LS454.ssaha2.CEU.low_coverage.20101123.chrom20.20000001.20300000.bam&lt;br /&gt;
&lt;br /&gt;
You can use this file directly if you change your current directory to {ROOT_DIR}/test/umake/.&lt;br /&gt;
&lt;br /&gt;
Alternately, if you want to copy and use this index file to a different directory, you can create a symbolic link to the bams folder as follows:&lt;br /&gt;
&lt;br /&gt;
 ln -s {ROOT_DIR}/test/umake/bams bams&lt;br /&gt;
&lt;br /&gt;
(More information about: [[Variant_Calling_Pipeline_(UMAKE)#Index_File|the index file]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===BED file===&lt;br /&gt;
&lt;br /&gt;
This file contains a single line:&lt;br /&gt;
&lt;br /&gt;
 chr20   20000050        20300000&lt;br /&gt;
&lt;br /&gt;
You can copy this to the current directory and use it as-is.&lt;br /&gt;
&lt;br /&gt;
(More information about: [[Variant_Calling_Pipeline_(UMAKE)#Targeted.2FExome_Sequencing_Settings|targeted/exome sequencing settings]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Configuration file===&lt;br /&gt;
&lt;br /&gt;
A configuration file (umake_test.conf) already exists in {ROOT_DIR}/test/umake/.  It contains the following information:&lt;br /&gt;
&lt;br /&gt;
 CHRS = 20&lt;br /&gt;
 TEST_ROOT = $(UMAKE_ROOT)/test/umake&lt;br /&gt;
 BAM_INDEX = $(TEST_ROOT)/umake_test.index&lt;br /&gt;
 OUT_PREFIX = umake_test&lt;br /&gt;
 REF_ROOT = $(TEST_ROOT)/ref&lt;br /&gt;
 #&lt;br /&gt;
 REF = $(REF_ROOT)/karma.ref/human.g1k.v37.chr20.fa&lt;br /&gt;
 INDEL_PREFIX = $(REF_ROOT)/indels/1kg.pilot_release.merged.indels.sites.hg19&lt;br /&gt;
 DBSNP_PREFIX =  $(REF_ROOT)/dbSNP/dbsnp_135_b37.rod&lt;br /&gt;
 HM3_PREFIX =  $(REF_ROOT)/HapMap3/hapmap3_r3_b37_fwd.consensus.qc.poly&lt;br /&gt;
 #&lt;br /&gt;
 RUN_INDEX = TRUE        # create BAM index file&lt;br /&gt;
 RUN_PILEUP = TRUE       # create GLF file from BAM&lt;br /&gt;
 RUN_GLFMULTIPLES = TRUE # create unfiltered SNP calls&lt;br /&gt;
 RUN_VCFPILEUP = TRUE    # create PVCF files using vcfPileup and run infoCollector&lt;br /&gt;
 RUN_FILTER = TRUE       # filter SNPs using vcfCooker&lt;br /&gt;
 RUN_SPLIT = TRUE        # split SNPs into chunks for genotype refinement&lt;br /&gt;
 RUN_BEAGLE = FALSE  # BEAGLE - MUST SET AFTER FINISHING PREVIOUS STEPS&lt;br /&gt;
 RUN_SUBSET = FALSE  # SUBSET FOR THUNDER - MAY BE SET WITH BEAGLE STEP TOGETHER&lt;br /&gt;
 RUN_THUNDER = FALSE # THUNDER - MUST SET AFTER FINISHING PREVIOUS STEPS&lt;br /&gt;
 ###############################################################################&lt;br /&gt;
 WRITE_TARGET_LOCI = TRUE  # FOR TARGETED SEQUENCING ONLY -- Write loci file when performing pileup&lt;br /&gt;
 UNIFORM_TARGET_BED = $(TEST_ROOT)/umake_test.bed # Targeted sequencing : When all individuals has the same target. Otherwise, comment it out&lt;br /&gt;
 OFFSET_OFF_TARGET = 50 # Extend target by given # of bases&lt;br /&gt;
 MULTIPLE_TARGET_MAP =  # Target per individual : Each line contains [SM_ID] [TARGET_BED]&lt;br /&gt;
 TARGET_DIR = target    # Directory to store target information&lt;br /&gt;
 SAMTOOLS_VIEW_TARGET_ONLY = TRUE # When performing samtools view, exclude off-target regions (may make command line too long)&lt;br /&gt;
&lt;br /&gt;
If you are running this from a different directory, you will want to change some of the lines as follows:&lt;br /&gt;
&lt;br /&gt;
 BAM_INDEX = {CURRENT_DIR}/umake_test.index&lt;br /&gt;
 UNIFORM_TARGET_BED = {CURRENT_DIR}/umake_test.bed&lt;br /&gt;
&lt;br /&gt;
where {CURRENT_DIR} is the absolute path to the directory that contains the index and bed files.  &lt;br /&gt;
&lt;br /&gt;
An additional option can be added in the configuration file:&lt;br /&gt;
&lt;br /&gt;
 OUT_DIR = {OUT_DIR}&lt;br /&gt;
&lt;br /&gt;
where {OUT_DIR} is the name of directory in which you want the output to be stored.  If you do not specify this in the configuration file, you will need to add an extra parameter when you run UMAKE in the next step.&lt;br /&gt;
&lt;br /&gt;
(More information about: [[Variant_Calling_Pipeline_(UMAKE)#Configuration_File|the configuration file]], [[Variant_Calling_Pipeline_(UMAKE)#Reference_Files|reference files]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Running UMAKE===&lt;br /&gt;
&lt;br /&gt;
If you added an OUT_DIR line to the configuration file, you can run UMAKE with the following command:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/bin/umake.pl --conf umake_test.conf --snpcall --numjobs 2&lt;br /&gt;
&lt;br /&gt;
If you have not added an OUT_DIR line to the configuration file, you can specify the output directory directly with the following command:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/bin/umake.pl --conf umake_test.conf --outdir {OUT_DIR} --snpcall --numjobs 2&lt;br /&gt;
&lt;br /&gt;
where {OUT_DIR} is the directory in which you want the output to be stored.&lt;br /&gt;
&lt;br /&gt;
Either command will perform SNP calling on the test samples. If you find the resulting VCF files located in {OUT_DIR}/vcfs/chr20, then you have successfully called the SNPs from the test BAM files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
&lt;br /&gt;
[[Mapping_Pipeline|Mapping (Alignment) Pipeline]] &lt;br /&gt;
&lt;br /&gt;
[[Variant_Calling_Pipeline_(UMAKE)|Variant Calling Pipeline (UMAKE)]]&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Tutorial:_GotCloud&amp;diff=6474</id>
		<title>Tutorial: GotCloud</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Tutorial:_GotCloud&amp;diff=6474"/>
		<updated>2013-02-20T01:55:30Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Installation==&lt;br /&gt;
&lt;br /&gt;
First, make sure GotCloud is installed on your system.  Installation instructions [[GotCloud#Setup|here]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Running the Automatic Test==&lt;br /&gt;
&lt;br /&gt;
This will verify whether GotCloud was installed correctly.&lt;br /&gt;
&lt;br /&gt;
*To run the test case for the alignment pipeline automatically, type in the following command:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/bin/gen_biopipeline.pl -test OUTPUT_DIR&lt;br /&gt;
&lt;br /&gt;
where OUTPUT_DIR is the directory where you want to store the test results.  (We will call the directory in which GotCloud is installed &amp;quot;{ROOT_DIR}&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
If you see &amp;quot;Test Passed&amp;quot;, then you are ready to align samples.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*To run the test case for the variant-calling pipeline (UMAKE), change your current directory to GotCloud&#039;s root directory, and type in the following command:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}bin/umake.pl -test OUTPUT_DIR&lt;br /&gt;
&lt;br /&gt;
where OUTPUT_DIR is the directory where you want to store the test results.&lt;br /&gt;
&lt;br /&gt;
If you see &amp;quot;Test Passed&amp;quot;, then you are ready to call variants.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Aligning a Sample==&lt;br /&gt;
&lt;br /&gt;
As an example, we can align the sample fastq files used in the automatic test.  They belong to two different samples, which we will call &amp;quot;Sample1&amp;quot; and &amp;quot;Sample2&amp;quot;.  They are found in {ROOT_DIR}/test/align/fastq.&lt;br /&gt;
&lt;br /&gt;
To make this easier, change to the {ROOT_DIR}/test/align directory. It contains an index file and a configuration file that can be used directly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Index file===&lt;br /&gt;
&lt;br /&gt;
There are four fastq files in {ROOT_DIR}/test/align/fastq/Sample_1 and four fastq files in {ROOT_DIR}/test/align/fastq/Sample_2, both in paired-end format.  Normally, we would need to build an index file for these files. Conveniently, an index file (indexFile.txt) already exists for the automatic test samples.  It can be found in {ROOT_DIR}/test/align/, and contains the following information in tab-delimited format:&lt;br /&gt;
&lt;br /&gt;
 MERGE_NAME FASTQ1                           FASTQ2                           RGID   SAMPLE    LIBRARY CENTER PLATFORM&lt;br /&gt;
 Sample1    fastq/Sample_1/File1_R1.fastq.gz fastq/Sample_1/File1_R2.fastq.gz RGID1  SampleID1 Lib1    UM     ILLUMINA&lt;br /&gt;
 Sample1    fastq/Sample_1/File2_R1.fastq.gz fastq/Sample_1/File2_R2.fastq.gz RGID1a SampleID1 Lib1    UM     ILLUMINA&lt;br /&gt;
 Sample2    fastq/Sample_2/File1_R1.fastq.gz fastq/Sample_2/File1_R2.fastq.gz RGID2  SampleID2 Lib2    UM     ILLUMINA&lt;br /&gt;
 Sample2    fastq/Sample_2/File2_R1.fastq.gz fastq/Sample_2/File2_R2.fastq.gz RGID2  SampleID2 Lib2    UM     ILLUMINA&lt;br /&gt;
&lt;br /&gt;
If you are in the {ROOT_DIR}/test/align directory, you can use this file as-is.  If you prefer, you can create a new index file and change the MERGE_NAME, RGID, SAMPLE, LIBRARY, CENTER, or PLATFORM values. It is recommended that you do not modify existing files in {ROOT_DIR}/test/align. &lt;br /&gt;
&lt;br /&gt;
If you want to run this example from a different directory, make sure the FASTQ1 and FASTQ2 paths are correct.  That is, each of the FASTQ1 and FASTQ2 entry in the index file should look like the following:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/test/align/fastq/Sample_1/File1_R1.fastq.gz &lt;br /&gt;
&lt;br /&gt;
Alternately, if you want to run this example from a different directory, but do not want to edit the index file, you can create a relative path to the test fastq files so their path agrees with that listed in the index file:&lt;br /&gt;
&lt;br /&gt;
 ln -s {ROOT_DIR}/test/align/fastq fastq&lt;br /&gt;
&lt;br /&gt;
This will create a symbolic link to the test fastq directory from your current directory.&lt;br /&gt;
&lt;br /&gt;
(More information about: [[Mapping_Pipeline#Sequence_Index_File|the index file]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Configuration file===&lt;br /&gt;
&lt;br /&gt;
Similar to the index file, a configuration file (test.conf) already exists for the automatic test samples. It contains the following information:&lt;br /&gt;
&lt;br /&gt;
 INDEX_FILE = indexFile.txt&lt;br /&gt;
 ############&lt;br /&gt;
 # References&lt;br /&gt;
 REF_DIR = $(PIPELINE_DIR)/test/align/chr20Ref&lt;br /&gt;
 AS = NCBI37&lt;br /&gt;
 FA_REF = $(REF_DIR)/human_g1k_v37_chr20.fa&lt;br /&gt;
 DBSNP_VCF =  $(REF_DIR)/dbsnp.b130.ncbi37.chr20.vcf.gz&lt;br /&gt;
 PLINK = $(REF_DIR)/hapmap_3.3.b37.chr20&lt;br /&gt;
&lt;br /&gt;
If you are in the {ROOT_DIR}/test/align directory, you can use this file as-is. If you are using a different index file, make sure your index file is named correctly in the first line. If you are not running this from {ROOT_DIR}/test/align, make sure your configuration and index files are in the same directory.  &lt;br /&gt;
&lt;br /&gt;
(More information about: [[Mapping_Pipeline#Reference_Files|reference files]], [[Mapping_Pipeline#Optional_Configurable_Settings|optional configurable settings]], or [[Mapping_Pipeline#Command-Line_Options|command-line options]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Running the alignment pipeline===&lt;br /&gt;
&lt;br /&gt;
You are now ready to run the alignment pipeline.&lt;br /&gt;
&lt;br /&gt;
To run the alignment pipeline, enter the following command:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/bin/gen_biopipeline.pl -conf test.conf -out_dir {OUT_DIR}&lt;br /&gt;
&lt;br /&gt;
where {OUT_DIR} is the directory in which you wish to store the resulting BAM files (for example, ~/out).&lt;br /&gt;
&lt;br /&gt;
If everything went well, you will see the following messages:&lt;br /&gt;
&lt;br /&gt;
 Created {OUT_DIR}/Makefiles/biopipe_Sample2.Makefile&lt;br /&gt;
 Created {OUT_DIR}/Makefiles/biopipe_Sample1.Makefile&lt;br /&gt;
 ---------------------------------------------------------------------&lt;br /&gt;
 Submitted 2  commands&lt;br /&gt;
 Waiting for commands to complete... . .  Commands finished in 33 secs with no errors reported&lt;br /&gt;
&lt;br /&gt;
The aligned BAM files are found in {OUT_DIR}/alignment.recal/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Analyzing a Sample==&lt;br /&gt;
&lt;br /&gt;
Using UMAKE, you can analyze BAM files by calling SNPs, and generate a VCF file containing the results.  Once again, we can analyze BAM files used in the automatic test.  For this example, we have 60 BAM files, which can be found in {ROOT_DIR}/test/umake/bams.  These contain sequence information for a targeted region in chromosome 20.&lt;br /&gt;
&lt;br /&gt;
In addition to the BAM files, you will need three files to run UMAKE: an index file, a configuration file, and a bed file (needed to analyze BAM files from targeted/exome sequencing).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Index file===&lt;br /&gt;
&lt;br /&gt;
First, you need a list of all the BAM files to be analyzed. Conveniently, the a test index file (umake_test.index) already exists in {ROOT_DIR}/test/umake/.  It contains the following information:&lt;br /&gt;
&lt;br /&gt;
 NA12272 ALL     bams/NA12272.mapped.ILLUMINA.bwa.CEU.low_coverage.20101123.chrom20.20000001.20300000.bam&lt;br /&gt;
 NA12004 ALL     bams/NA12004.mapped.ILLUMINA.bwa.CEU.low_coverage.20101123.chrom20.20000001.20300000.bam&lt;br /&gt;
 ...&lt;br /&gt;
 NA12874 ALL     bams/NA12874.mapped.LS454.ssaha2.CEU.low_coverage.20101123.chrom20.20000001.20300000.bam&lt;br /&gt;
&lt;br /&gt;
You can use this file directly if you change your current directory to {ROOT_DIR}/test/umake/.&lt;br /&gt;
&lt;br /&gt;
Alternately, if you want to copy and use this index file to a different directory, you can create a symbolic link to the bams folder as follows:&lt;br /&gt;
&lt;br /&gt;
 ln -s {ROOT_DIR}/test/umake/bams bams&lt;br /&gt;
&lt;br /&gt;
(More information about: [[Variant_Calling_Pipeline_(UMAKE)#Index_File|the index file]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===BED file===&lt;br /&gt;
&lt;br /&gt;
This file contains a single line:&lt;br /&gt;
&lt;br /&gt;
 chr20   20000050        20300000&lt;br /&gt;
&lt;br /&gt;
You can copy this to the current directory and use it as-is.&lt;br /&gt;
&lt;br /&gt;
(More information about: [[Variant_Calling_Pipeline_(UMAKE)#Targeted.2FExome_Sequencing_Settings|targeted/exome sequencing settings]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Configuration file===&lt;br /&gt;
&lt;br /&gt;
A configuration file (umake_test.conf) already exists in {ROOT_DIR}/test/umake/.  It contains the following information:&lt;br /&gt;
&lt;br /&gt;
 CHRS = 20&lt;br /&gt;
 TEST_ROOT = $(UMAKE_ROOT)/test/umake&lt;br /&gt;
 BAM_INDEX = $(TEST_ROOT)/umake_test.index&lt;br /&gt;
 OUT_PREFIX = umake_test&lt;br /&gt;
 REF_ROOT = $(TEST_ROOT)/ref&lt;br /&gt;
 #&lt;br /&gt;
 REF = $(REF_ROOT)/karma.ref/human.g1k.v37.chr20.fa&lt;br /&gt;
 INDEL_PREFIX = $(REF_ROOT)/indels/1kg.pilot_release.merged.indels.sites.hg19&lt;br /&gt;
 DBSNP_PREFIX =  $(REF_ROOT)/dbSNP/dbsnp_135_b37.rod&lt;br /&gt;
 HM3_PREFIX =  $(REF_ROOT)/HapMap3/hapmap3_r3_b37_fwd.consensus.qc.poly&lt;br /&gt;
 #&lt;br /&gt;
 RUN_INDEX = TRUE        # create BAM index file&lt;br /&gt;
 RUN_PILEUP = TRUE       # create GLF file from BAM&lt;br /&gt;
 RUN_GLFMULTIPLES = TRUE # create unfiltered SNP calls&lt;br /&gt;
 RUN_VCFPILEUP = TRUE    # create PVCF files using vcfPileup and run infoCollector&lt;br /&gt;
 RUN_FILTER = TRUE       # filter SNPs using vcfCooker&lt;br /&gt;
 RUN_SPLIT = TRUE        # split SNPs into chunks for genotype refinement&lt;br /&gt;
 RUN_BEAGLE = FALSE  # BEAGLE - MUST SET AFTER FINISHING PREVIOUS STEPS&lt;br /&gt;
 RUN_SUBSET = FALSE  # SUBSET FOR THUNDER - MAY BE SET WITH BEAGLE STEP TOGETHER&lt;br /&gt;
 RUN_THUNDER = FALSE # THUNDER - MUST SET AFTER FINISHING PREVIOUS STEPS&lt;br /&gt;
 ###############################################################################&lt;br /&gt;
 WRITE_TARGET_LOCI = TRUE  # FOR TARGETED SEQUENCING ONLY -- Write loci file when performing pileup&lt;br /&gt;
 UNIFORM_TARGET_BED = $(TEST_ROOT)/umake_test.bed # Targeted sequencing : When all individuals has the same target. Otherwise, comment it out&lt;br /&gt;
 OFFSET_OFF_TARGET = 50 # Extend target by given # of bases&lt;br /&gt;
 MULTIPLE_TARGET_MAP =  # Target per individual : Each line contains [SM_ID] [TARGET_BED]&lt;br /&gt;
 TARGET_DIR = target    # Directory to store target information&lt;br /&gt;
 SAMTOOLS_VIEW_TARGET_ONLY = TRUE # When performing samtools view, exclude off-target regions (may make command line too long)&lt;br /&gt;
&lt;br /&gt;
If you are running this from a different directory, you will want to change some of the lines as follows:&lt;br /&gt;
&lt;br /&gt;
 BAM_INDEX = {CURRENT_DIR}/umake_test.index&lt;br /&gt;
 UNIFORM_TARGET_BED = {CURRENT_DIR}/umake_test.bed&lt;br /&gt;
&lt;br /&gt;
where {CURRENT_DIR} is the absolute path to the directory that contains the index and bed files.  &lt;br /&gt;
&lt;br /&gt;
An additional option can be added in the configuration file:&lt;br /&gt;
&lt;br /&gt;
 OUT_DIR = {OUT_DIR}&lt;br /&gt;
&lt;br /&gt;
where {OUT_DIR} is the name of directory in which you want the output to be stored.  If you do not specify this in the configuration file, you will need to add an extra parameter when you run UMAKE in the next step.&lt;br /&gt;
&lt;br /&gt;
(More information about: [[Variant_Calling_Pipeline_(UMAKE)#Configuration_File|the configuration file]], [[Variant_Calling_Pipeline_(UMAKE)#Reference_Files|reference files]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Running UMAKE===&lt;br /&gt;
&lt;br /&gt;
If you added an OUT_DIR line to the configuration file, you can run UMAKE with the following command:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/bin/umake.pl --conf umake_test.conf --snpcall --numjobs 2&lt;br /&gt;
&lt;br /&gt;
If you have not added an OUT_DIR line to the configuration file, you can specify the output directory directly with the following command:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/bin/umake.pl --conf umake_test.conf --outdir {OUT_DIR} --snpcall --numjobs 2&lt;br /&gt;
&lt;br /&gt;
where {OUT_DIR} is the directory in which you want the output to be stored.&lt;br /&gt;
&lt;br /&gt;
Either command will perform SNP calling on the test samples. If you find the resulting VCF files located in {OUT_DIR}/vcfs/chr20, then you have successfully called the SNPs from the test BAM files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
&lt;br /&gt;
[[Mapping_Pipeline|Mapping (Alignment) Pipeline]] &lt;br /&gt;
&lt;br /&gt;
[[Variant_Calling_Pipeline_(UMAKE)|Variant Calling Pipeline (UMAKE)]]&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Tutorial:_GotCloud&amp;diff=6235</id>
		<title>Tutorial: GotCloud</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Tutorial:_GotCloud&amp;diff=6235"/>
		<updated>2013-01-21T16:08:39Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Installation==&lt;br /&gt;
&lt;br /&gt;
First, make sure GotCloud is installed on your system.  Installation instructions [[GotCloud#Setup|here]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Running the Automatic Test==&lt;br /&gt;
&lt;br /&gt;
This will verify whether GotCloud was installed correctly.&lt;br /&gt;
&lt;br /&gt;
*To run the test case for the alignment pipeline automatically, change your current directory to GotCloud&#039;s root directory, and type in the following command:&lt;br /&gt;
&lt;br /&gt;
 bin/gen_biopipeline.pl --test OUTPUT_DIR&lt;br /&gt;
&lt;br /&gt;
where OUTPUT_DIR is the directory where you want to store the test results.&lt;br /&gt;
&lt;br /&gt;
If you see &amp;quot;Test Passed&amp;quot;, then you are ready to align samples.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*To run the test case for the variant-calling pipeline (UMAKE), change your current directory to GotCloud&#039;s root directory, and type in the following command:&lt;br /&gt;
&lt;br /&gt;
 bin/umake.pl --test OUTPUT_DIR&lt;br /&gt;
&lt;br /&gt;
where OUTPUT_DIR is the directory where you want to store the test results.&lt;br /&gt;
&lt;br /&gt;
If you see &amp;quot;Test Passed&amp;quot;, then you are ready to call variants.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Aligning a Sample==&lt;br /&gt;
&lt;br /&gt;
As an example, we can align the sample fastq files used in the automatic test.  They belong to two different samples, which we will call &amp;quot;Sample1&amp;quot; and &amp;quot;Sample2&amp;quot;.  They are found in {ROOT_DIR}/test/align/fastq. (We will call the directory in which GotCloud is installed &amp;quot;{ROOT_DIR}&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
To make this easier, change to the {ROOT_DIR}/test/align directory. It contains an index file and a configuration file that can be used directly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Index file===&lt;br /&gt;
&lt;br /&gt;
There are four fastq files in {ROOT_DIR}/test/align/fastq/Sample_1 and four fastq files in {ROOT_DIR}/test/align/fastq/Sample_2, both in paired-end format.  Normally, we would need to build an index file for these files. Conveniently, an index file (indexFile.txt) already exists for the automatic test samples.  It can be found in {ROOT_DIR}/test/align/, and contains the following information in tab-delimited format:&lt;br /&gt;
&lt;br /&gt;
 MERGE_NAME FASTQ1                           FASTQ2                           RGID   SAMPLE    LIBRARY CENTER PLATFORM&lt;br /&gt;
 Sample1    fastq/Sample_1/File1_R1.fastq.gz fastq/Sample_1/File1_R2.fastq.gz RGID1  SampleID1 Lib1    UM     ILLUMINA&lt;br /&gt;
 Sample1    fastq/Sample_1/File2_R1.fastq.gz fastq/Sample_1/File2_R2.fastq.gz RGID1a SampleID1 Lib1    UM     ILLUMINA&lt;br /&gt;
 Sample2    fastq/Sample_2/File1_R1.fastq.gz fastq/Sample_2/File1_R2.fastq.gz RGID2  SampleID2 Lib2    UM     ILLUMINA&lt;br /&gt;
 Sample2    fastq/Sample_2/File2_R1.fastq.gz fastq/Sample_2/File2_R2.fastq.gz RGID2  SampleID2 Lib2    UM     ILLUMINA&lt;br /&gt;
&lt;br /&gt;
If you are in the {ROOT_DIR}/test/align directory, you can use this file as-is.  If you prefer, you can create a new index file and change the MERGE_NAME, RGID, SAMPLE, LIBRARY, CENTER, or PLATFORM values. It is recommended that you do not modify existing files in {ROOT_DIR}/test/align. &lt;br /&gt;
&lt;br /&gt;
If you want to run this example from a different directory, make sure the FASTQ1 and FASTQ2 paths are correct.  That is, each of the FASTQ1 and FASTQ2 entry in the index file should look like the following:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/test/align/fastq/Sample_1/File1_R1.fastq.gz &lt;br /&gt;
&lt;br /&gt;
Alternately, if you want to run this example from a different directory, but do not want to edit the index file, you can copy all the fastq files to a new directory with the relative path listed in the index file:&lt;br /&gt;
&lt;br /&gt;
 ln -s {ROOT_DIR}/test/align/fastq fastq&lt;br /&gt;
&lt;br /&gt;
This will create a symbolic link to the test fastq directory from your current directory.&lt;br /&gt;
&lt;br /&gt;
(More information about: [[Mapping_Pipeline#Sequence_Index_File|the index file]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Configuration file===&lt;br /&gt;
&lt;br /&gt;
Similar to the index file, a configuration file (test.conf) already exists for the automatic test samples. It contains the following information:&lt;br /&gt;
&lt;br /&gt;
 INDEX_FILE = indexFile.txt&lt;br /&gt;
 ############&lt;br /&gt;
 # References&lt;br /&gt;
 REF_DIR = $(PIPELINE_DIR)/test/align/chr20Ref&lt;br /&gt;
 AS = NCBI37&lt;br /&gt;
 FA_REF = $(REF_DIR)/human_g1k_v37_chr20.fa&lt;br /&gt;
 DBSNP_VCF =  $(REF_DIR)/dbsnp.b130.ncbi37.chr20.vcf.gz&lt;br /&gt;
 PLINK = $(REF_DIR)/hapmap_3.3.b37.chr20&lt;br /&gt;
&lt;br /&gt;
If you are in the {ROOT_DIR}/test/align directory, you can use this file as-is. If you are using a different index file, make sure your index file is named correctly in the first line. If you are not running this from {ROOT_DIR}/test/align, make sure your configuration and index files are in the same directory.  &lt;br /&gt;
&lt;br /&gt;
(More information about: [[Mapping_Pipeline#Reference_Files|reference files]], [[Mapping_Pipeline#Optional_Configurable_Settings|optional configurable settings]], or [[Mapping_Pipeline#Command-Line_Options|command-line options]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Running the alignment pipeline===&lt;br /&gt;
&lt;br /&gt;
You are now ready to run the alignment pipeline.  This requires two steps: first, generating the Makefiles; and second, running those Makefiles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Generating the Makefiles====&lt;br /&gt;
&lt;br /&gt;
Enter the following command:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/bin/gen_biopipeline.pl --conf test.conf --out_dir {OUT_DIR}&lt;br /&gt;
&lt;br /&gt;
where {OUT_DIR} is the directory in which you wish to store the resulting BAM files (for example, ~/out).&lt;br /&gt;
&lt;br /&gt;
If everything went well, you will see the following messages:&lt;br /&gt;
&lt;br /&gt;
 Finished creating makefile {OUT_DIR}/Makefiles/biopipe_Sample2.Makefile&lt;br /&gt;
 Finished creating makefile {OUT_DIR}/Makefiles/biopipe_Sample1.Makefile&lt;br /&gt;
 --------------------------------------------------------------------&lt;br /&gt;
 Run the following commands:&lt;br /&gt;
 &lt;br /&gt;
 make -f {OUT_DIR}/Makefiles/biopipe_Sample2.Makefile &amp;gt; {OUT_DIR}/Makefiles/biopipe_Sample2.Makefile.log&lt;br /&gt;
 make -f {OUT_DIR}/Makefiles/biopipe_Sample1.Makefile &amp;gt; {OUT_DIR}/Makefiles/biopipe_Sample1.Makefile.log&lt;br /&gt;
&lt;br /&gt;
where {OUT_DIR} will be replaced with the directory you entered above.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Running the Makefiles====&lt;br /&gt;
&lt;br /&gt;
To run a Makefile, simply enter one-by-one the commands generated in the previous step. If you wish to run the alignment in the background, add &amp;quot;&amp;amp;&amp;quot; after the make command, as follows:&lt;br /&gt;
&lt;br /&gt;
 make -f {OUT_DIR}/Makefiles/biopipe_Sample2.Makefile &amp;gt; {OUT_DIR}/Makefiles/biopipe_Sample2.Makefile.log &amp;amp;&lt;br /&gt;
&lt;br /&gt;
The log files for the runs will be found in the Makefiles directory, while the BAM files will be found in the {OUT_DIR}/alignment.recal directory.  If you see two BAM files, one for each sample, then you have successfully aligned the fastq files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Analyzing a Sample==&lt;br /&gt;
&lt;br /&gt;
Using UMAKE, you can analyze BAM files by calling SNPs, and generate a VCF file containing the results.  Once again, we can analyze BAM files used in the automatic test.  For this example, we have 60 BAM files, which can be found in {ROOT_DIR}/test/umake/bams.  These contain sequence information for a targeted region in chromosome 20.&lt;br /&gt;
&lt;br /&gt;
In addition to the BAM files, you will need three files to run UMAKE: an index file, a configuration file, and a bed file (needed to analyze BAM files from targeted/exome sequencing).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Index file===&lt;br /&gt;
&lt;br /&gt;
First, you need a list of all the BAM files to be analyzed. Conveniently, the a test index file (umake_test.index) already exists in {ROOT_DIR}/test/umake/.  It contains the following information:&lt;br /&gt;
&lt;br /&gt;
 NA12272 ALL     bams/NA12272.mapped.ILLUMINA.bwa.CEU.low_coverage.20101123.chrom20.20000001.20300000.bam&lt;br /&gt;
 NA12004 ALL     bams/NA12004.mapped.ILLUMINA.bwa.CEU.low_coverage.20101123.chrom20.20000001.20300000.bam&lt;br /&gt;
 ...&lt;br /&gt;
 NA12874 ALL     bams/NA12874.mapped.LS454.ssaha2.CEU.low_coverage.20101123.chrom20.20000001.20300000.bam&lt;br /&gt;
&lt;br /&gt;
You can use this file directly if you change your current directory to {ROOT_DIR}/test/umake/.&lt;br /&gt;
&lt;br /&gt;
Alternately, if you want to copy and use this index file to a different directory, you can create a symbolic link to the bams folder as follows:&lt;br /&gt;
&lt;br /&gt;
 ln -s {ROOT_DIR}/test/umake/bams bams&lt;br /&gt;
&lt;br /&gt;
(More information about: [[Variant_Calling_Pipeline_(UMAKE)#Index_File|the index file]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===BED file===&lt;br /&gt;
&lt;br /&gt;
This file contains a single line:&lt;br /&gt;
&lt;br /&gt;
 chr20   20000050        20300000&lt;br /&gt;
&lt;br /&gt;
You can copy this to the current directory and use it as-is.&lt;br /&gt;
&lt;br /&gt;
(More information about: [[Variant_Calling_Pipeline_(UMAKE)#Targeted.2FExome_Sequencing_Settings|targeted/exome sequencing settings]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Configuration file===&lt;br /&gt;
&lt;br /&gt;
A configuration file (umake_test.conf) already exists in {ROOT_DIR}/test/umake/.  It contains the following information:&lt;br /&gt;
&lt;br /&gt;
 CHRS = 20&lt;br /&gt;
 TEST_ROOT = $(UMAKE_ROOT)/test/umake&lt;br /&gt;
 BAM_INDEX = $(TEST_ROOT)/umake_test.index&lt;br /&gt;
 OUT_PREFIX = umake_test&lt;br /&gt;
 REF_ROOT = $(TEST_ROOT)/ref&lt;br /&gt;
 #&lt;br /&gt;
 REF = $(REF_ROOT)/karma.ref/human.g1k.v37.chr20.fa&lt;br /&gt;
 INDEL_PREFIX = $(REF_ROOT)/indels/1kg.pilot_release.merged.indels.sites.hg19&lt;br /&gt;
 DBSNP_PREFIX =  $(REF_ROOT)/dbSNP/dbsnp_135_b37.rod&lt;br /&gt;
 HM3_PREFIX =  $(REF_ROOT)/HapMap3/hapmap3_r3_b37_fwd.consensus.qc.poly&lt;br /&gt;
 #&lt;br /&gt;
 RUN_INDEX = TRUE        # create BAM index file&lt;br /&gt;
 RUN_PILEUP = TRUE       # create GLF file from BAM&lt;br /&gt;
 RUN_GLFMULTIPLES = TRUE # create unfiltered SNP calls&lt;br /&gt;
 RUN_VCFPILEUP = TRUE    # create PVCF files using vcfPileup and run infoCollector&lt;br /&gt;
 RUN_FILTER = TRUE       # filter SNPs using vcfCooker&lt;br /&gt;
 RUN_SPLIT = TRUE        # split SNPs into chunks for genotype refinement&lt;br /&gt;
 RUN_BEAGLE = FALSE  # BEAGLE - MUST SET AFTER FINISHING PREVIOUS STEPS&lt;br /&gt;
 RUN_SUBSET = FALSE  # SUBSET FOR THUNDER - MAY BE SET WITH BEAGLE STEP TOGETHER&lt;br /&gt;
 RUN_THUNDER = FALSE # THUNDER - MUST SET AFTER FINISHING PREVIOUS STEPS&lt;br /&gt;
 ###############################################################################&lt;br /&gt;
 WRITE_TARGET_LOCI = TRUE  # FOR TARGETED SEQUENCING ONLY -- Write loci file when performing pileup&lt;br /&gt;
 UNIFORM_TARGET_BED = $(TEST_ROOT)/umake_test.bed # Targeted sequencing : When all individuals has the same target. Otherwise, comment it out&lt;br /&gt;
 OFFSET_OFF_TARGET = 50 # Extend target by given # of bases&lt;br /&gt;
 MULTIPLE_TARGET_MAP =  # Target per individual : Each line contains [SM_ID] [TARGET_BED]&lt;br /&gt;
 TARGET_DIR = target    # Directory to store target information&lt;br /&gt;
 SAMTOOLS_VIEW_TARGET_ONLY = TRUE # When performing samtools view, exclude off-target regions (may make command line too long)&lt;br /&gt;
&lt;br /&gt;
If you are running this from a different directory, you will want to change some of the lines as follows:&lt;br /&gt;
&lt;br /&gt;
 BAM_INDEX = {CURRENT_DIR}/umake_test.index&lt;br /&gt;
 UNIFORM_TARGET_BED = {CURRENT_DIR}/umake_test.bed&lt;br /&gt;
&lt;br /&gt;
where {CURRENT_DIR} is the absolute path to the directory that contains the index and bed files.  &lt;br /&gt;
&lt;br /&gt;
An additional option can be added in the configuration file:&lt;br /&gt;
&lt;br /&gt;
 OUT_DIR = {OUT_DIR}&lt;br /&gt;
&lt;br /&gt;
where {OUT_DIR} is the name of directory in which you want the output to be stored.  If you do not specify this in the configuration file, you will need to add an extra parameter when you run UMAKE in the next step.&lt;br /&gt;
&lt;br /&gt;
(More information about: [[Variant_Calling_Pipeline_(UMAKE)#Configuration_File|the configuration file]], [[Variant_Calling_Pipeline_(UMAKE)#Reference_Files|reference files]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Running UMAKE===&lt;br /&gt;
&lt;br /&gt;
If you added an OUT_DIR line to the configuration file, you can run UMAKE with the following command:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/bin/umake.pl --conf umake_test.conf --snpcall --numjobs 2&lt;br /&gt;
&lt;br /&gt;
If you have not added an OUT_DIR line to the configuration file, you can specify the output directory directly with the following command:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/bin/umake.pl --conf umake_test.conf --outdir {OUT_DIR} --snpcall --numjobs 2&lt;br /&gt;
&lt;br /&gt;
where {OUT_DIR} is the directory in which you want the output to be stored.&lt;br /&gt;
&lt;br /&gt;
Either command will perform SNP calling on the test samples. If you find the resulting VCF files located in {OUT_DIR}/vcfs/chr20, then you have successfully called the SNPs from the test BAM files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
&lt;br /&gt;
[[Mapping_Pipeline|Mapping (Alignment) Pipeline]] &lt;br /&gt;
&lt;br /&gt;
[[Variant_Calling_Pipeline_(UMAKE)|Variant Calling Pipeline (UMAKE)]]&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Tutorial:_GotCloud&amp;diff=6234</id>
		<title>Tutorial: GotCloud</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Tutorial:_GotCloud&amp;diff=6234"/>
		<updated>2013-01-21T16:04:31Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Installation==&lt;br /&gt;
&lt;br /&gt;
First, make sure GotCloud is installed on your system.  Installation instructions [[GotCloud#Setup|here]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Running the Automatic Test==&lt;br /&gt;
&lt;br /&gt;
This verifies that GotCloud&#039;s alignment pipeline was installed correctly.&lt;br /&gt;
&lt;br /&gt;
To run the test case for the alignment pipeline automatically, change your current directory to GotCloud&#039;s root directory, and type in the following command:&lt;br /&gt;
&lt;br /&gt;
 bin/gen_biopipeline.pl --test OUTPUT_DIR&lt;br /&gt;
&lt;br /&gt;
where OUTPUT_DIR is the directory where you want to store the test results.&lt;br /&gt;
&lt;br /&gt;
If you see &amp;quot;Test Passed&amp;quot;, then you are ready to run a sample.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Aligning a Sample==&lt;br /&gt;
&lt;br /&gt;
As an example, we can align the sample fastq files used in the automatic test.  They belong to two different samples, which we will call &amp;quot;Sample1&amp;quot; and &amp;quot;Sample2&amp;quot;.  They are found in {ROOT_DIR}/test/align/fastq. (We will call the directory in which GotCloud is installed &amp;quot;{ROOT_DIR}&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
To make this easier, change to the {ROOT_DIR}/test/align directory. It contains an index file and a configuration file that can be used directly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Index file===&lt;br /&gt;
&lt;br /&gt;
There are four fastq files in {ROOT_DIR}/test/align/fastq/Sample_1 and four fastq files in {ROOT_DIR}/test/align/fastq/Sample_2, both in paired-end format.  Normally, we would need to build an index file for these files. Conveniently, an index file (indexFile.txt) already exists for the automatic test samples.  It can be found in {ROOT_DIR}/test/align/, and contains the following information in tab-delimited format:&lt;br /&gt;
&lt;br /&gt;
 MERGE_NAME FASTQ1                           FASTQ2                           RGID   SAMPLE    LIBRARY CENTER PLATFORM&lt;br /&gt;
 Sample1    fastq/Sample_1/File1_R1.fastq.gz fastq/Sample_1/File1_R2.fastq.gz RGID1  SampleID1 Lib1    UM     ILLUMINA&lt;br /&gt;
 Sample1    fastq/Sample_1/File2_R1.fastq.gz fastq/Sample_1/File2_R2.fastq.gz RGID1a SampleID1 Lib1    UM     ILLUMINA&lt;br /&gt;
 Sample2    fastq/Sample_2/File1_R1.fastq.gz fastq/Sample_2/File1_R2.fastq.gz RGID2  SampleID2 Lib2    UM     ILLUMINA&lt;br /&gt;
 Sample2    fastq/Sample_2/File2_R1.fastq.gz fastq/Sample_2/File2_R2.fastq.gz RGID2  SampleID2 Lib2    UM     ILLUMINA&lt;br /&gt;
&lt;br /&gt;
If you are in the {ROOT_DIR}/test/align directory, you can use this file as-is.  If you prefer, you can create a new index file and change the MERGE_NAME, RGID, SAMPLE, LIBRARY, CENTER, or PLATFORM values. It is recommended that you do not modify existing files in {ROOT_DIR}/test/align. &lt;br /&gt;
&lt;br /&gt;
If you want to run this example from a different directory, make sure the FASTQ1 and FASTQ2 paths are correct.  That is, each of the FASTQ1 and FASTQ2 entry in the index file should look like the following:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/test/align/fastq/Sample_1/File1_R1.fastq.gz &lt;br /&gt;
&lt;br /&gt;
Alternately, if you want to run this example from a different directory, but do not want to edit the index file, you can copy all the fastq files to a new directory with the relative path listed in the index file:&lt;br /&gt;
&lt;br /&gt;
 ln -s {ROOT_DIR}/test/align/fastq fastq&lt;br /&gt;
&lt;br /&gt;
This will create a symbolic link to the test fastq directory from your current directory.&lt;br /&gt;
&lt;br /&gt;
(More information about: [[Mapping_Pipeline#Sequence_Index_File|the index file]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Configuration file===&lt;br /&gt;
&lt;br /&gt;
Similar to the index file, a configuration file (test.conf) already exists for the automatic test samples. It contains the following information:&lt;br /&gt;
&lt;br /&gt;
 INDEX_FILE = indexFile.txt&lt;br /&gt;
 ############&lt;br /&gt;
 # References&lt;br /&gt;
 REF_DIR = $(PIPELINE_DIR)/test/align/chr20Ref&lt;br /&gt;
 AS = NCBI37&lt;br /&gt;
 FA_REF = $(REF_DIR)/human_g1k_v37_chr20.fa&lt;br /&gt;
 DBSNP_VCF =  $(REF_DIR)/dbsnp.b130.ncbi37.chr20.vcf.gz&lt;br /&gt;
 PLINK = $(REF_DIR)/hapmap_3.3.b37.chr20&lt;br /&gt;
&lt;br /&gt;
If you are in the {ROOT_DIR}/test/align directory, you can use this file as-is. If you are using a different index file, make sure your index file is named correctly in the first line. If you are not running this from {ROOT_DIR}/test/align, make sure your configuration and index files are in the same directory.  &lt;br /&gt;
&lt;br /&gt;
(More information about: [[Mapping_Pipeline#Reference_Files|reference files]], [[Mapping_Pipeline#Optional_Configurable_Settings|optional configurable settings]], or [[Mapping_Pipeline#Command-Line_Options|command-line options]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Running the alignment pipeline===&lt;br /&gt;
&lt;br /&gt;
You are now ready to run the alignment pipeline.  This requires two steps: first, generating the Makefiles; and second, running those Makefiles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Generating the Makefiles====&lt;br /&gt;
&lt;br /&gt;
Enter the following command:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/bin/gen_biopipeline.pl --conf test.conf --out_dir {OUT_DIR}&lt;br /&gt;
&lt;br /&gt;
where {OUT_DIR} is the directory in which you wish to store the resulting BAM files (for example, ~/out).&lt;br /&gt;
&lt;br /&gt;
If everything went well, you will see the following messages:&lt;br /&gt;
&lt;br /&gt;
 Finished creating makefile {OUT_DIR}/Makefiles/biopipe_Sample2.Makefile&lt;br /&gt;
 Finished creating makefile {OUT_DIR}/Makefiles/biopipe_Sample1.Makefile&lt;br /&gt;
 --------------------------------------------------------------------&lt;br /&gt;
 Run the following commands:&lt;br /&gt;
 &lt;br /&gt;
 make -f {OUT_DIR}/Makefiles/biopipe_Sample2.Makefile &amp;gt; {OUT_DIR}/Makefiles/biopipe_Sample2.Makefile.log&lt;br /&gt;
 make -f {OUT_DIR}/Makefiles/biopipe_Sample1.Makefile &amp;gt; {OUT_DIR}/Makefiles/biopipe_Sample1.Makefile.log&lt;br /&gt;
&lt;br /&gt;
where {OUT_DIR} will be replaced with the directory you entered above.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Running the Makefiles====&lt;br /&gt;
&lt;br /&gt;
To run a Makefile, simply enter one-by-one the commands generated in the previous step. If you wish to run the alignment in the background, add &amp;quot;&amp;amp;&amp;quot; after the make command, as follows:&lt;br /&gt;
&lt;br /&gt;
 make -f {OUT_DIR}/Makefiles/biopipe_Sample2.Makefile &amp;gt; {OUT_DIR}/Makefiles/biopipe_Sample2.Makefile.log &amp;amp;&lt;br /&gt;
&lt;br /&gt;
The log files for the runs will be found in the Makefiles directory, while the BAM files will be found in the {OUT_DIR}/alignment.recal directory.  If you see two BAM files, one for each sample, then you have successfully aligned the fastq files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Analyzing a Sample==&lt;br /&gt;
&lt;br /&gt;
Using UMAKE, you can analyze BAM files by calling SNPs, and generate a VCF file containing the results.  Once again, we can analyze BAM files used in the automatic test.  For this example, we have 60 BAM files, which can be found in {ROOT_DIR}/test/umake/bams.  These contain sequence information for a targeted region in chromosome 20.&lt;br /&gt;
&lt;br /&gt;
In addition to the BAM files, you will need three files to run UMAKE: an index file, a configuration file, and a bed file (needed to analyze BAM files from targeted/exome sequencing).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Index file===&lt;br /&gt;
&lt;br /&gt;
First, you need a list of all the BAM files to be analyzed. Conveniently, the a test index file (umake_test.index) already exists in {ROOT_DIR}/test/umake/.  It contains the following information:&lt;br /&gt;
&lt;br /&gt;
 NA12272 ALL     bams/NA12272.mapped.ILLUMINA.bwa.CEU.low_coverage.20101123.chrom20.20000001.20300000.bam&lt;br /&gt;
 NA12004 ALL     bams/NA12004.mapped.ILLUMINA.bwa.CEU.low_coverage.20101123.chrom20.20000001.20300000.bam&lt;br /&gt;
 ...&lt;br /&gt;
 NA12874 ALL     bams/NA12874.mapped.LS454.ssaha2.CEU.low_coverage.20101123.chrom20.20000001.20300000.bam&lt;br /&gt;
&lt;br /&gt;
You can use this file directly if you change your current directory to {ROOT_DIR}/test/umake/.&lt;br /&gt;
&lt;br /&gt;
Alternately, if you want to copy and use this index file to a different directory, you can create a symbolic link to the bams folder as follows:&lt;br /&gt;
&lt;br /&gt;
 ln -s {ROOT_DIR}/test/umake/bams bams&lt;br /&gt;
&lt;br /&gt;
(More information about: [[Variant_Calling_Pipeline_(UMAKE)#Index_File|the index file]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===BED file===&lt;br /&gt;
&lt;br /&gt;
This file contains a single line:&lt;br /&gt;
&lt;br /&gt;
 chr20   20000050        20300000&lt;br /&gt;
&lt;br /&gt;
You can copy this to the current directory and use it as-is.&lt;br /&gt;
&lt;br /&gt;
(More information about: [[Variant_Calling_Pipeline_(UMAKE)#Targeted.2FExome_Sequencing_Settings|targeted/exome sequencing settings]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Configuration file===&lt;br /&gt;
&lt;br /&gt;
A configuration file (umake_test.conf) already exists in {ROOT_DIR}/test/umake/.  It contains the following information:&lt;br /&gt;
&lt;br /&gt;
 CHRS = 20&lt;br /&gt;
 TEST_ROOT = $(UMAKE_ROOT)/test/umake&lt;br /&gt;
 BAM_INDEX = $(TEST_ROOT)/umake_test.index&lt;br /&gt;
 OUT_PREFIX = umake_test&lt;br /&gt;
 REF_ROOT = $(TEST_ROOT)/ref&lt;br /&gt;
 #&lt;br /&gt;
 REF = $(REF_ROOT)/karma.ref/human.g1k.v37.chr20.fa&lt;br /&gt;
 INDEL_PREFIX = $(REF_ROOT)/indels/1kg.pilot_release.merged.indels.sites.hg19&lt;br /&gt;
 DBSNP_PREFIX =  $(REF_ROOT)/dbSNP/dbsnp_135_b37.rod&lt;br /&gt;
 HM3_PREFIX =  $(REF_ROOT)/HapMap3/hapmap3_r3_b37_fwd.consensus.qc.poly&lt;br /&gt;
 #&lt;br /&gt;
 RUN_INDEX = TRUE        # create BAM index file&lt;br /&gt;
 RUN_PILEUP = TRUE       # create GLF file from BAM&lt;br /&gt;
 RUN_GLFMULTIPLES = TRUE # create unfiltered SNP calls&lt;br /&gt;
 RUN_VCFPILEUP = TRUE    # create PVCF files using vcfPileup and run infoCollector&lt;br /&gt;
 RUN_FILTER = TRUE       # filter SNPs using vcfCooker&lt;br /&gt;
 RUN_SPLIT = TRUE        # split SNPs into chunks for genotype refinement&lt;br /&gt;
 RUN_BEAGLE = FALSE  # BEAGLE - MUST SET AFTER FINISHING PREVIOUS STEPS&lt;br /&gt;
 RUN_SUBSET = FALSE  # SUBSET FOR THUNDER - MAY BE SET WITH BEAGLE STEP TOGETHER&lt;br /&gt;
 RUN_THUNDER = FALSE # THUNDER - MUST SET AFTER FINISHING PREVIOUS STEPS&lt;br /&gt;
 ###############################################################################&lt;br /&gt;
 WRITE_TARGET_LOCI = TRUE  # FOR TARGETED SEQUENCING ONLY -- Write loci file when performing pileup&lt;br /&gt;
 UNIFORM_TARGET_BED = $(TEST_ROOT)/umake_test.bed # Targeted sequencing : When all individuals has the same target. Otherwise, comment it out&lt;br /&gt;
 OFFSET_OFF_TARGET = 50 # Extend target by given # of bases&lt;br /&gt;
 MULTIPLE_TARGET_MAP =  # Target per individual : Each line contains [SM_ID] [TARGET_BED]&lt;br /&gt;
 TARGET_DIR = target    # Directory to store target information&lt;br /&gt;
 SAMTOOLS_VIEW_TARGET_ONLY = TRUE # When performing samtools view, exclude off-target regions (may make command line too long)&lt;br /&gt;
&lt;br /&gt;
If you are running this from a different directory, you will want to change some of the lines as follows:&lt;br /&gt;
&lt;br /&gt;
 BAM_INDEX = {CURRENT_DIR}/umake_test.index&lt;br /&gt;
 UNIFORM_TARGET_BED = {CURRENT_DIR}/umake_test.bed&lt;br /&gt;
&lt;br /&gt;
where {CURRENT_DIR} is the absolute path to the directory that contains the index and bed files.  &lt;br /&gt;
&lt;br /&gt;
An additional option can be added in the configuration file:&lt;br /&gt;
&lt;br /&gt;
 OUT_DIR = {OUT_DIR}&lt;br /&gt;
&lt;br /&gt;
where {OUT_DIR} is the name of directory in which you want the output to be stored.  If you do not specify this in the configuration file, you will need to add an extra parameter when you run UMAKE in the next step.&lt;br /&gt;
&lt;br /&gt;
(More information about: [[Variant_Calling_Pipeline_(UMAKE)#Configuration_File|the configuration file]], [[Variant_Calling_Pipeline_(UMAKE)#Reference_Files|reference files]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Running UMAKE===&lt;br /&gt;
&lt;br /&gt;
If you added an OUT_DIR line to the configuration file, you can run UMAKE with the following command:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/bin/umake.pl --conf umake_test.conf --snpcall --numjobs 2&lt;br /&gt;
&lt;br /&gt;
If you have not added an OUT_DIR line to the configuration file, you can specify the output directory directly with the following command:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/bin/umake.pl --conf umake_test.conf --outdir {OUT_DIR} --snpcall --numjobs 2&lt;br /&gt;
&lt;br /&gt;
where {OUT_DIR} is the directory in which you want the output to be stored.&lt;br /&gt;
&lt;br /&gt;
Either command will perform SNP calling on the test samples. If you find the resulting VCF files located in {OUT_DIR}/vcfs/chr20, then you have successfully called the SNPs from the test BAM files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
&lt;br /&gt;
[[Mapping_Pipeline|Mapping (Alignment) Pipeline]] &lt;br /&gt;
&lt;br /&gt;
[[Variant_Calling_Pipeline_(UMAKE)|Variant Calling Pipeline (UMAKE)]]&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Tutorial:_GotCloud&amp;diff=6203</id>
		<title>Tutorial: GotCloud</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Tutorial:_GotCloud&amp;diff=6203"/>
		<updated>2013-01-11T23:39:40Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Installation==&lt;br /&gt;
&lt;br /&gt;
First, make sure GotCloud is installed on your system.  Installation instructions [[GotCloud#Setup|here]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Running the Automatic Test==&lt;br /&gt;
&lt;br /&gt;
This verifies that GotCloud was installed correctly.&lt;br /&gt;
&lt;br /&gt;
To run the test case automatically, change your current directory to GotCloud&#039;s root directory, and type in the following command:&lt;br /&gt;
&lt;br /&gt;
 bin/gen_biopipeline.pl --test OUTPUT_DIR&lt;br /&gt;
&lt;br /&gt;
where OUTPUT_DIR is the directory where you want to store the results.  &lt;br /&gt;
&lt;br /&gt;
If you see &amp;quot;Test Passed&amp;quot;, then you are ready to run a sample.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Aligning a Sample==&lt;br /&gt;
&lt;br /&gt;
As an example, we can align the sample fastq files used in the automatic test.  They belong to two different samples, which we will call &amp;quot;Sample1&amp;quot; and &amp;quot;Sample2&amp;quot;.  They are found in {ROOT_DIR}/test/align/fastq. (We will call the directory in which GotCloud is installed &amp;quot;{ROOT_DIR}&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
To make this easier, change to the {ROOT_DIR}/test/align directory. It contains an index file and a configuration file that can be used directly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Index file===&lt;br /&gt;
&lt;br /&gt;
There are four fastq files in {ROOT_DIR}/test/align/fastq/Sample_1 and four fastq files in {ROOT_DIR}/test/align/fastq/Sample_2, both in paired-end format.  Normally, we would need to build an index file for these files. Conveniently, an index file (indexFile.txt) already exists for the automatic test samples.  It can be found in {ROOT_DIR}/test/align/, and contains the following information in tab-delimited format:&lt;br /&gt;
&lt;br /&gt;
 MERGE_NAME FASTQ1                           FASTQ2                           RGID   SAMPLE    LIBRARY CENTER PLATFORM&lt;br /&gt;
 Sample1    fastq/Sample_1/File1_R1.fastq.gz fastq/Sample_1/File1_R2.fastq.gz RGID1  SampleID1 Lib1    UM     ILLUMINA&lt;br /&gt;
 Sample1    fastq/Sample_1/File2_R1.fastq.gz fastq/Sample_1/File2_R2.fastq.gz RGID1a SampleID1 Lib1    UM     ILLUMINA&lt;br /&gt;
 Sample2    fastq/Sample_2/File1_R1.fastq.gz fastq/Sample_2/File1_R2.fastq.gz RGID2  SampleID2 Lib2    UM     ILLUMINA&lt;br /&gt;
 Sample2    fastq/Sample_2/File2_R1.fastq.gz fastq/Sample_2/File2_R2.fastq.gz RGID2  SampleID2 Lib2    UM     ILLUMINA&lt;br /&gt;
&lt;br /&gt;
If you are in the {ROOT_DIR}/test/align directory, you can use this file as-is.  If you prefer, you can create a new index file and change the MERGE_NAME, RGID, SAMPLE, LIBRARY, CENTER, or PLATFORM values. It is recommended that you do not modify existing files in {ROOT_DIR}/test/align. &lt;br /&gt;
&lt;br /&gt;
If you want to run this example from a different directory, make sure the FASTQ1 and FASTQ2 paths are correct.  That is, each of the FASTQ1 and FASTQ2 entry in the index file should look like the following:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/test/align/fastq/Sample_1/File1_R1.fastq.gz &lt;br /&gt;
&lt;br /&gt;
Alternately, if you want to run this example from a different directory, but do not want to edit the index file, you can copy all the fastq files to a new directory with the relative path listed in the index file:&lt;br /&gt;
&lt;br /&gt;
 ln -s {ROOT_DIR}/test/align/fastq fastq&lt;br /&gt;
&lt;br /&gt;
This will create a symbolic link to the test fastq directory from your current directory.&lt;br /&gt;
&lt;br /&gt;
(More information about: [[Mapping_Pipeline#Sequence_Index_File|the index file]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Configuration file===&lt;br /&gt;
&lt;br /&gt;
Similar to the index file, a configuration file (test.conf) already exists for the automatic test samples. It contains the following information:&lt;br /&gt;
&lt;br /&gt;
 INDEX_FILE = indexFile.txt&lt;br /&gt;
 ############&lt;br /&gt;
 # References&lt;br /&gt;
 REF_DIR = $(PIPELINE_DIR)/test/align/chr20Ref&lt;br /&gt;
 AS = NCBI37&lt;br /&gt;
 FA_REF = $(REF_DIR)/human_g1k_v37_chr20.fa&lt;br /&gt;
 DBSNP_VCF =  $(REF_DIR)/dbsnp.b130.ncbi37.chr20.vcf.gz&lt;br /&gt;
 PLINK = $(REF_DIR)/hapmap_3.3.b37.chr20&lt;br /&gt;
&lt;br /&gt;
If you are in the {ROOT_DIR}/test/align directory, you can use this file as-is. If you are using a different index file, make sure your index file is named correctly in the first line. If you are not running this from {ROOT_DIR}/test/align, make sure your configuration and index files are in the same directory.  &lt;br /&gt;
&lt;br /&gt;
(More information about: [[Mapping_Pipeline#Reference_Files|reference files]], [[Mapping_Pipeline#Optional_Configurable_Settings|optional configurable settings]], or [[Mapping_Pipeline#Command-Line_Options|command-line options]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Running the alignment pipeline===&lt;br /&gt;
&lt;br /&gt;
You are now ready to run the alignment pipeline.  This requires two steps: first, generating the Makefiles; and second, running those Makefiles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Generating the Makefiles====&lt;br /&gt;
&lt;br /&gt;
Enter the following command:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/bin/gen_biopipeline.pl --conf test.conf --out_dir {OUT_DIR}&lt;br /&gt;
&lt;br /&gt;
where {OUT_DIR} is the directory in which you wish to store the resulting BAM files (for example, ~/out).&lt;br /&gt;
&lt;br /&gt;
If everything went well, you will see the following messages:&lt;br /&gt;
&lt;br /&gt;
 Finished creating makefile {OUT_DIR}/Makefiles/biopipe_Sample2.Makefile&lt;br /&gt;
 Finished creating makefile {OUT_DIR}/Makefiles/biopipe_Sample1.Makefile&lt;br /&gt;
 --------------------------------------------------------------------&lt;br /&gt;
 Run the following commands:&lt;br /&gt;
 &lt;br /&gt;
 make -f {OUT_DIR}/Makefiles/biopipe_Sample2.Makefile &amp;gt; {OUT_DIR}/Makefiles/biopipe_Sample2.Makefile.log&lt;br /&gt;
 make -f {OUT_DIR}/Makefiles/biopipe_Sample1.Makefile &amp;gt; {OUT_DIR}/Makefiles/biopipe_Sample1.Makefile.log&lt;br /&gt;
&lt;br /&gt;
where {OUT_DIR} will be replaced with the directory you entered above.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Running the Makefiles====&lt;br /&gt;
&lt;br /&gt;
To run a Makefile, simply enter one-by-one the commands generated in the previous step. If you wish to run the alignment in the background, add &amp;quot;&amp;amp;&amp;quot; after the make command, as follows:&lt;br /&gt;
&lt;br /&gt;
 make -f {OUT_DIR}/Makefiles/biopipe_Sample2.Makefile &amp;gt; {OUT_DIR}/Makefiles/biopipe_Sample2.Makefile.log &amp;amp;&lt;br /&gt;
&lt;br /&gt;
The log files for the runs will be found in the Makefiles directory, while the BAM files will be found in the {OUT_DIR}/alignment.recal directory.  If you see two BAM files, one for each sample, then you have successfully aligned the fastq files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Analyzing a Sample==&lt;br /&gt;
&lt;br /&gt;
Using UMAKE, you can analyze BAM files by calling SNPs, and generate a VCF file containing the results.  Once again, we can analyze BAM files used in the automatic test.  For this example, we have 60 BAM files, which can be found in {ROOT_DIR}/test/umake/bams.  These contain sequence information for a targeted region in chromosome 20.&lt;br /&gt;
&lt;br /&gt;
In addition to the BAM files, you will need three files to run UMAKE: an index file, a configuration file, and a bed file (needed to analyze BAM files from targeted/exome sequencing).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Index file===&lt;br /&gt;
&lt;br /&gt;
First, you need a list of all the BAM files to be analyzed. Conveniently, the a test index file (umake_test.index) already exists in {ROOT_DIR}/test/umake/.  It contains the following information:&lt;br /&gt;
&lt;br /&gt;
 NA12272 ALL     bams/NA12272.mapped.ILLUMINA.bwa.CEU.low_coverage.20101123.chrom20.20000001.20300000.bam&lt;br /&gt;
 NA12004 ALL     bams/NA12004.mapped.ILLUMINA.bwa.CEU.low_coverage.20101123.chrom20.20000001.20300000.bam&lt;br /&gt;
 ...&lt;br /&gt;
 NA12874 ALL     bams/NA12874.mapped.LS454.ssaha2.CEU.low_coverage.20101123.chrom20.20000001.20300000.bam&lt;br /&gt;
&lt;br /&gt;
You can use this file directly if you change your current directory to {ROOT_DIR}/test/umake/.&lt;br /&gt;
&lt;br /&gt;
Alternately, if you want to copy and use this index file to a different directory, you can create a symbolic link to the bams folder as follows:&lt;br /&gt;
&lt;br /&gt;
 ln -s {ROOT_DIR}/test/umake/bams bams&lt;br /&gt;
&lt;br /&gt;
(More information about: [[Variant_Calling_Pipeline_(UMAKE)#Index_File|the index file]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===BED file===&lt;br /&gt;
&lt;br /&gt;
This file contains a single line:&lt;br /&gt;
&lt;br /&gt;
 chr20   20000050        20300000&lt;br /&gt;
&lt;br /&gt;
You can copy this to the current directory and use it as-is.&lt;br /&gt;
&lt;br /&gt;
(More information about: [[Variant_Calling_Pipeline_(UMAKE)#Targeted.2FExome_Sequencing_Settings|targeted/exome sequencing settings]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Configuration file===&lt;br /&gt;
&lt;br /&gt;
A configuration file (umake_test.conf) already exists in {ROOT_DIR}/test/umake/.  It contains the following information:&lt;br /&gt;
&lt;br /&gt;
 CHRS = 20&lt;br /&gt;
 TEST_ROOT = $(UMAKE_ROOT)/test/umake&lt;br /&gt;
 BAM_INDEX = $(TEST_ROOT)/umake_test.index&lt;br /&gt;
 OUT_PREFIX = umake_test&lt;br /&gt;
 REF_ROOT = $(TEST_ROOT)/ref&lt;br /&gt;
 #&lt;br /&gt;
 REF = $(REF_ROOT)/karma.ref/human.g1k.v37.chr20.fa&lt;br /&gt;
 INDEL_PREFIX = $(REF_ROOT)/indels/1kg.pilot_release.merged.indels.sites.hg19&lt;br /&gt;
 DBSNP_PREFIX =  $(REF_ROOT)/dbSNP/dbsnp_135_b37.rod&lt;br /&gt;
 HM3_PREFIX =  $(REF_ROOT)/HapMap3/hapmap3_r3_b37_fwd.consensus.qc.poly&lt;br /&gt;
 #&lt;br /&gt;
 RUN_INDEX = TRUE        # create BAM index file&lt;br /&gt;
 RUN_PILEUP = TRUE       # create GLF file from BAM&lt;br /&gt;
 RUN_GLFMULTIPLES = TRUE # create unfiltered SNP calls&lt;br /&gt;
 RUN_VCFPILEUP = TRUE    # create PVCF files using vcfPileup and run infoCollector&lt;br /&gt;
 RUN_FILTER = TRUE       # filter SNPs using vcfCooker&lt;br /&gt;
 RUN_SPLIT = TRUE        # split SNPs into chunks for genotype refinement&lt;br /&gt;
 RUN_BEAGLE = FALSE  # BEAGLE - MUST SET AFTER FINISHING PREVIOUS STEPS&lt;br /&gt;
 RUN_SUBSET = FALSE  # SUBSET FOR THUNDER - MAY BE SET WITH BEAGLE STEP TOGETHER&lt;br /&gt;
 RUN_THUNDER = FALSE # THUNDER - MUST SET AFTER FINISHING PREVIOUS STEPS&lt;br /&gt;
 ###############################################################################&lt;br /&gt;
 WRITE_TARGET_LOCI = TRUE  # FOR TARGETED SEQUENCING ONLY -- Write loci file when performing pileup&lt;br /&gt;
 UNIFORM_TARGET_BED = $(TEST_ROOT)/umake_test.bed # Targeted sequencing : When all individuals has the same target. Otherwise, comment it out&lt;br /&gt;
 OFFSET_OFF_TARGET = 50 # Extend target by given # of bases&lt;br /&gt;
 MULTIPLE_TARGET_MAP =  # Target per individual : Each line contains [SM_ID] [TARGET_BED]&lt;br /&gt;
 TARGET_DIR = target    # Directory to store target information&lt;br /&gt;
 SAMTOOLS_VIEW_TARGET_ONLY = TRUE # When performing samtools view, exclude off-target regions (may make command line too long)&lt;br /&gt;
&lt;br /&gt;
If you are running this from a different directory, you will want to change some of the lines as follows:&lt;br /&gt;
&lt;br /&gt;
 BAM_INDEX = {CURRENT_DIR}/umake_test.index&lt;br /&gt;
 UNIFORM_TARGET_BED = {CURRENT_DIR}/umake_test.bed&lt;br /&gt;
&lt;br /&gt;
where {CURRENT_DIR} is the absolute path to the directory that contains the index and bed files.  &lt;br /&gt;
&lt;br /&gt;
An additional option can be added in the configuration file:&lt;br /&gt;
&lt;br /&gt;
 OUT_DIR = {OUT_DIR}&lt;br /&gt;
&lt;br /&gt;
where {OUT_DIR} is the name of directory in which you want the output to be stored.  If you do not specify this in the configuration file, you will need to add an extra parameter when you run UMAKE in the next step.&lt;br /&gt;
&lt;br /&gt;
(More information about: [[Variant_Calling_Pipeline_(UMAKE)#Configuration_File|the configuration file]], [[Variant_Calling_Pipeline_(UMAKE)#Reference_Files|reference files]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Running UMAKE===&lt;br /&gt;
&lt;br /&gt;
If you added an OUT_DIR line to the configuration file, you can run UMAKE with the following command:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/bin/umake.pl --conf umake_test.conf --snpcall --numjobs 2&lt;br /&gt;
&lt;br /&gt;
If you have not added an OUT_DIR line to the configuration file, you can specify the output directory directly with the following command:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/bin/umake.pl --conf umake_test.conf --outdir {OUT_DIR} --snpcall --numjobs 2&lt;br /&gt;
&lt;br /&gt;
where {OUT_DIR} is the directory in which you want the output to be stored.&lt;br /&gt;
&lt;br /&gt;
Either command will perform SNP calling on the test samples. If you find the resulting VCF files located in {OUT_DIR}/vcfs/chr20, then you have successfully called the SNPs from the test BAM files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
&lt;br /&gt;
[[Mapping_Pipeline|Mapping (Alignment) Pipeline]] &lt;br /&gt;
&lt;br /&gt;
[[Variant_Calling_Pipeline_(UMAKE)|Variant Calling Pipeline (UMAKE)]]&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Tutorial:_GotCloud&amp;diff=6188</id>
		<title>Tutorial: GotCloud</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Tutorial:_GotCloud&amp;diff=6188"/>
		<updated>2013-01-10T05:46:18Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Installation==&lt;br /&gt;
&lt;br /&gt;
First, make sure GotCloud is installed on your system.  Installation instructions [[GotCloud#Setup|here]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Running the Automatic Test==&lt;br /&gt;
&lt;br /&gt;
This verifies that GotCloud was installed correctly.&lt;br /&gt;
&lt;br /&gt;
To run the test case automatically, change your current directory to GotCloud&#039;s root directory, and type in the following command:&lt;br /&gt;
&lt;br /&gt;
 bin/gen_biopipeline.pl --test OUTPUT_DIR&lt;br /&gt;
&lt;br /&gt;
where OUTPUT_DIR is the directory where you want to store the results.  &lt;br /&gt;
&lt;br /&gt;
If you see &amp;quot;Test Passed&amp;quot;, then you are ready to run a sample.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Aligning a Sample==&lt;br /&gt;
&lt;br /&gt;
As an example, we can align the sample fastq files used in the automatic test.  They belong to two different samples, which we will call &amp;quot;Sample1&amp;quot; and &amp;quot;Sample2&amp;quot;.  They are found in {ROOT_DIR}/test/align/fastq. (We will call the directory in which GotCloud is installed &amp;quot;{ROOT_DIR}&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
To make this easier, change to the {ROOT_DIR}/test/align directory. It contains an index file and a configuration file that can be used directly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Index file===&lt;br /&gt;
&lt;br /&gt;
There are four fastq files in {ROOT_DIR}/test/align/fastq/Sample_1 and four fastq files in {ROOT_DIR}/test/align/fastq/Sample_2, both in paired-end format.  Normally, we would need to build an index file for these files. Conveniently, an index file (indexFile.txt) already exists for the automatic test samples.  It can be found in {ROOT_DIR}/test/align/, and contains the following information in tab-delimited format:&lt;br /&gt;
&lt;br /&gt;
 MERGE_NAME FASTQ1                           FASTQ2                           RGID   SAMPLE    LIBRARY CENTER PLATFORM&lt;br /&gt;
 Sample1    fastq/Sample_1/File1_R1.fastq.gz fastq/Sample_1/File1_R2.fastq.gz RGID1  SampleID1 Lib1    UM     ILLUMINA&lt;br /&gt;
 Sample1    fastq/Sample_1/File2_R1.fastq.gz fastq/Sample_1/File2_R2.fastq.gz RGID1a SampleID1 Lib1    UM     ILLUMINA&lt;br /&gt;
 Sample2    fastq/Sample_2/File1_R1.fastq.gz fastq/Sample_2/File1_R2.fastq.gz RGID2  SampleID2 Lib2    UM     ILLUMINA&lt;br /&gt;
 Sample2    fastq/Sample_2/File2_R1.fastq.gz fastq/Sample_2/File2_R2.fastq.gz RGID2  SampleID2 Lib2    UM     ILLUMINA&lt;br /&gt;
&lt;br /&gt;
If you are in the {ROOT_DIR}/test/align directory, you can use this file as-is.  If you prefer, you can create a new index file and change the MERGE_NAME, RGID, SAMPLE, LIBRARY, CENTER, or PLATFORM values. It is recommended that you do not modify existing files in {ROOT_DIR}/test/align. &lt;br /&gt;
&lt;br /&gt;
If you want to run this example from a different directory, make sure the FASTQ1 and FASTQ2 paths are correct.  That is, each of the FASTQ1 and FASTQ2 entry in the index file should look like the following:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/test/align/fastq/Sample_1/File1_R1.fastq.gz &lt;br /&gt;
&lt;br /&gt;
Alternately, if you want to run this example from a different directory, but do not want to edit the index file, you can copy all the fastq files to a new directory with the relative path listed in the index file:&lt;br /&gt;
&lt;br /&gt;
 ln -s {ROOT_DIR}/test/align/fastq fastq&lt;br /&gt;
&lt;br /&gt;
This will create a symbolic link to the test fastq directory from your current directory.&lt;br /&gt;
&lt;br /&gt;
(More information about: [[Mapping_Pipeline#Sequence_Index_File|the index file]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Configuration file===&lt;br /&gt;
&lt;br /&gt;
Similar to the index file, a configuration file (test.conf) already exists for the automatic test samples. It contains the following information:&lt;br /&gt;
&lt;br /&gt;
 INDEX_FILE = indexFile.txt&lt;br /&gt;
 ############&lt;br /&gt;
 # References&lt;br /&gt;
 REF_DIR = $(PIPELINE_DIR)/test/align/chr20Ref&lt;br /&gt;
 AS = NCBI37&lt;br /&gt;
 FA_REF = $(REF_DIR)/human_g1k_v37_chr20.fa&lt;br /&gt;
 DBSNP_VCF =  $(REF_DIR)/dbsnp.b130.ncbi37.chr20.vcf.gz&lt;br /&gt;
 PLINK = $(REF_DIR)/hapmap_3.3.b37.chr20&lt;br /&gt;
&lt;br /&gt;
If you are in the {ROOT_DIR}/test/align directory, you can use this file as-is. If you are using a different index file, make sure your index file is named correctly in the first line. If you are not running this from {ROOT_DIR}/test/align, make sure your configuration and index files are in the same directory.  &lt;br /&gt;
&lt;br /&gt;
(More information about: [[Mapping_Pipeline#Reference_Files|reference files]], [[Mapping_Pipeline#Optional_Configurable_Settings|optional configurable settings]], or [[Mapping_Pipeline#Command-Line_Options|command-line options]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Running the alignment pipeline===&lt;br /&gt;
&lt;br /&gt;
You are now ready to run the alignment pipeline.  This requires two steps: first, generating the Makefiles; and second, running those Makefiles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Generating the Makefiles====&lt;br /&gt;
&lt;br /&gt;
Enter the following command:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/bin/gen_biopipeline.pl --conf test.conf --out_dir {OUT_DIR}&lt;br /&gt;
&lt;br /&gt;
where {OUT_DIR} is the directory in which you wish to store the resulting BAM files (for example, ~/out).&lt;br /&gt;
&lt;br /&gt;
If everything went well, you will see the following messages:&lt;br /&gt;
&lt;br /&gt;
 Finished creating makefile {OUT_DIR}/Makefiles/biopipe_Sample2.Makefile&lt;br /&gt;
 Finished creating makefile {OUT_DIR}/Makefiles/biopipe_Sample1.Makefile&lt;br /&gt;
 --------------------------------------------------------------------&lt;br /&gt;
 Run the following commands:&lt;br /&gt;
 &lt;br /&gt;
 make -f {OUT_DIR}/Makefiles/biopipe_Sample2.Makefile &amp;gt; {OUT_DIR}/Makefiles/biopipe_Sample2.Makefile.log&lt;br /&gt;
 make -f {OUT_DIR}/Makefiles/biopipe_Sample1.Makefile &amp;gt; {OUT_DIR}/Makefiles/biopipe_Sample1.Makefile.log&lt;br /&gt;
&lt;br /&gt;
where {OUT_DIR} will be replaced with the directory you entered above.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Running the Makefiles====&lt;br /&gt;
&lt;br /&gt;
To run a Makefile, simply enter one-by-one the commands generated in the previous step. If you wish to run the alignment in the background, add &amp;quot;&amp;amp;&amp;quot; after the make command, as follows:&lt;br /&gt;
&lt;br /&gt;
 make -f {OUT_DIR}/Makefiles/biopipe_Sample2.Makefile &amp;gt; {OUT_DIR}/Makefiles/biopipe_Sample2.Makefile.log &amp;amp;&lt;br /&gt;
&lt;br /&gt;
The log files for the runs will be found in the Makefiles directory, while the BAM files will be found in the {OUT_DIR}/alignment.recal directory.  If you see two BAM files, one for each sample, then you have successfully aligned the fastq files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Analyzing a Sample==&lt;br /&gt;
&lt;br /&gt;
Using UMAKE, you can analyze BAM files by calling SNPs, and generate a VCF file containing the results.  Once again, we can analyze BAM files used in the automatic test.  For this example, we have 60 BAM files, found in {ROOT_DIR}/test/umake/bams.  In addition to the BAM files, you will need three files to run UMAKE: an index file, a configuration file, and a bed file (needed to analyze bam files from targeted/exome sequencing).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Index file===&lt;br /&gt;
&lt;br /&gt;
First, you need a list of all the BAM files to be analyzed. Conveniently, the a test index file (umake_test.index) already exists in {ROOT_DIR}/test/umake/.  It contains the following information:&lt;br /&gt;
&lt;br /&gt;
 NA12272 ALL     bams/NA12272.mapped.ILLUMINA.bwa.CEU.low_coverage.20101123.chrom20.20000001.20300000.bam&lt;br /&gt;
 NA12004 ALL     bams/NA12004.mapped.ILLUMINA.bwa.CEU.low_coverage.20101123.chrom20.20000001.20300000.bam&lt;br /&gt;
 ...&lt;br /&gt;
 NA12874 ALL     bams/NA12874.mapped.LS454.ssaha2.CEU.low_coverage.20101123.chrom20.20000001.20300000.bam&lt;br /&gt;
&lt;br /&gt;
You can use this file directly if you change your current directory to {ROOT_DIR}/test/umake/.&lt;br /&gt;
&lt;br /&gt;
Alternately, if you want to copy and use this index file to a different directory, you can create a symbolic link to the bams folder as follows:&lt;br /&gt;
&lt;br /&gt;
 ln -s {ROOT_DIR}/test/umake/bams bams&lt;br /&gt;
&lt;br /&gt;
(More information about: [[Variant_Calling_Pipeline_(UMAKE)#Index_File|the index file]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===BED file===&lt;br /&gt;
&lt;br /&gt;
This file contains a single line:&lt;br /&gt;
&lt;br /&gt;
 chr20   20000050        20300000&lt;br /&gt;
&lt;br /&gt;
You can copy this to the current directory and use it as-is.&lt;br /&gt;
&lt;br /&gt;
(More information about: [[Variant_Calling_Pipeline_(UMAKE)#Targeted.2FExome_Sequencing_Settings|targeted/exome sequencing settings]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Configuration file===&lt;br /&gt;
&lt;br /&gt;
A configuration file (umake_test.conf) already exists in {ROOT_DIR}/test/umake/.  It contains the following information:&lt;br /&gt;
&lt;br /&gt;
 CHRS = 20&lt;br /&gt;
 TEST_ROOT = $(UMAKE_ROOT)/test/umake&lt;br /&gt;
 BAM_INDEX = $(TEST_ROOT)/umake_test.index&lt;br /&gt;
 OUT_PREFIX = umake_test&lt;br /&gt;
 REF_ROOT = $(TEST_ROOT)/ref&lt;br /&gt;
 #&lt;br /&gt;
 REF = $(REF_ROOT)/karma.ref/human.g1k.v37.chr20.fa&lt;br /&gt;
 INDEL_PREFIX = $(REF_ROOT)/indels/1kg.pilot_release.merged.indels.sites.hg19&lt;br /&gt;
 DBSNP_PREFIX =  $(REF_ROOT)/dbSNP/dbsnp_135_b37.rod&lt;br /&gt;
 HM3_PREFIX =  $(REF_ROOT)/HapMap3/hapmap3_r3_b37_fwd.consensus.qc.poly&lt;br /&gt;
 #&lt;br /&gt;
 RUN_INDEX = TRUE        # create BAM index file&lt;br /&gt;
 RUN_PILEUP = TRUE       # create GLF file from BAM&lt;br /&gt;
 RUN_GLFMULTIPLES = TRUE # create unfiltered SNP calls&lt;br /&gt;
 RUN_VCFPILEUP = TRUE    # create PVCF files using vcfPileup and run infoCollector&lt;br /&gt;
 RUN_FILTER = TRUE       # filter SNPs using vcfCooker&lt;br /&gt;
 RUN_SPLIT = TRUE        # split SNPs into chunks for genotype refinement&lt;br /&gt;
 RUN_BEAGLE = FALSE  # BEAGLE - MUST SET AFTER FINISHING PREVIOUS STEPS&lt;br /&gt;
 RUN_SUBSET = FALSE  # SUBSET FOR THUNDER - MAY BE SET WITH BEAGLE STEP TOGETHER&lt;br /&gt;
 RUN_THUNDER = FALSE # THUNDER - MUST SET AFTER FINISHING PREVIOUS STEPS&lt;br /&gt;
 ###############################################################################&lt;br /&gt;
 WRITE_TARGET_LOCI = TRUE  # FOR TARGETED SEQUENCING ONLY -- Write loci file when performing pileup&lt;br /&gt;
 UNIFORM_TARGET_BED = $(TEST_ROOT)/umake_test.bed # Targeted sequencing : When all individuals has the same target. Otherwise, comment it out&lt;br /&gt;
 OFFSET_OFF_TARGET = 50 # Extend target by given # of bases&lt;br /&gt;
 MULTIPLE_TARGET_MAP =  # Target per individual : Each line contains [SM_ID] [TARGET_BED]&lt;br /&gt;
 TARGET_DIR = target    # Directory to store target information&lt;br /&gt;
 SAMTOOLS_VIEW_TARGET_ONLY = TRUE # When performing samtools view, exclude off-target regions (may make command line too long)&lt;br /&gt;
&lt;br /&gt;
If you are running this from a different directory, you will want to change some of the lines as follows:&lt;br /&gt;
&lt;br /&gt;
 BAM_INDEX = {CURRENT_DIR}/umake_test.index&lt;br /&gt;
 UNIFORM_TARGET_BED = {CURRENT_DIR}/umake_test.bed&lt;br /&gt;
&lt;br /&gt;
where {CURRENT_DIR} is the absolute path to the directory that contains the index and bed files.  &lt;br /&gt;
&lt;br /&gt;
An additional option can be added in the configuration file:&lt;br /&gt;
&lt;br /&gt;
 OUT_DIR = {OUT_DIR}&lt;br /&gt;
&lt;br /&gt;
where {OUT_DIR} is the name of directory in which you want the output to be stored.  If you do not specify this in the configuration file, you will need to add an extra parameter when you run UMAKE in the next step.&lt;br /&gt;
&lt;br /&gt;
(More information about: [[Variant_Calling_Pipeline_(UMAKE)#Configuration_File|the configuration file]], [[Variant_Calling_Pipeline_(UMAKE)#Reference_Files|reference files]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Running UMAKE===&lt;br /&gt;
&lt;br /&gt;
If you added an OUT_DIR line to the configuration file, you can run UMAKE with the following command:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/bin/umake.pl --conf umake_test.conf --snpcall --numjobs 2&lt;br /&gt;
&lt;br /&gt;
If you have not added an OUT_DIR line to the configuration file, you can specify the output directory directly with the following command:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/bin/umake.pl --conf umake_test.conf --outdir {OUT_DIR} --snpcall --numjobs 2&lt;br /&gt;
&lt;br /&gt;
where {OUT_DIR} is the directory in which you want the output to be stored.&lt;br /&gt;
&lt;br /&gt;
Either command will perform SNP calling on the test samples. If you find the resulting VCF files located in {OUT_DIR}/vcfs/chr20, then you have successfully called the SNPs from the test BAM files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
&lt;br /&gt;
[[Mapping_Pipeline|Mapping (Alignment) Pipeline]] &lt;br /&gt;
&lt;br /&gt;
[[Variant_Calling_Pipeline_(UMAKE)|Variant Calling Pipeline (UMAKE)]]&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Tutorial:_GotCloud&amp;diff=6187</id>
		<title>Tutorial: GotCloud</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Tutorial:_GotCloud&amp;diff=6187"/>
		<updated>2013-01-10T05:44:49Z</updated>

		<summary type="html">&lt;p&gt;Amkwong: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Installation==&lt;br /&gt;
&lt;br /&gt;
First, make sure GotCloud is installed on your system.  Installation instructions [[GotCloud#Setup|here]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Running the Automatic Test==&lt;br /&gt;
&lt;br /&gt;
This verifies that GotCloud was installed correctly.&lt;br /&gt;
&lt;br /&gt;
To run the test case automatically, change your current directory to GotCloud&#039;s root directory, and type in the following command:&lt;br /&gt;
&lt;br /&gt;
 bin/gen_biopipeline.pl --test OUTPUT_DIR&lt;br /&gt;
&lt;br /&gt;
where OUTPUT_DIR is the directory where you want to store the results.  &lt;br /&gt;
&lt;br /&gt;
If you see &amp;quot;Test Passed&amp;quot;, then you are ready to run a sample.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Aligning a Sample==&lt;br /&gt;
&lt;br /&gt;
As an example, we can align the sample fastq files used in the automatic test.  They belong to two different samples, which we will call &amp;quot;Sample1&amp;quot; and &amp;quot;Sample2&amp;quot;.  They are found in {ROOT_DIR}/test/align/fastq. (We will call the directory in which GotCloud is installed &amp;quot;{ROOT_DIR}&amp;quot;.) &lt;br /&gt;
&lt;br /&gt;
To make this easier, change to the {ROOT_DIR}/test/align directory. It contains an index file and a configuration file that can be used directly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Index file===&lt;br /&gt;
&lt;br /&gt;
There are four fastq files in {ROOT_DIR}/test/align/fastq/Sample_1 and four fastq files in {ROOT_DIR}/test/align/fastq/Sample_2, both in paired-end format.  Normally, we would need to build an index file for these files. Conveniently, an index file (indexFile.txt) already exists for the automatic test samples.  It can be found in {ROOT_DIR}/test/align/, and contains the following information in tab-delimited format:&lt;br /&gt;
&lt;br /&gt;
 MERGE_NAME FASTQ1                           FASTQ2                           RGID   SAMPLE    LIBRARY CENTER PLATFORM&lt;br /&gt;
 Sample1    fastq/Sample_1/File1_R1.fastq.gz fastq/Sample_1/File1_R2.fastq.gz RGID1  SampleID1 Lib1    UM     ILLUMINA&lt;br /&gt;
 Sample1    fastq/Sample_1/File2_R1.fastq.gz fastq/Sample_1/File2_R2.fastq.gz RGID1a SampleID1 Lib1    UM     ILLUMINA&lt;br /&gt;
 Sample2    fastq/Sample_2/File1_R1.fastq.gz fastq/Sample_2/File1_R2.fastq.gz RGID2  SampleID2 Lib2    UM     ILLUMINA&lt;br /&gt;
 Sample2    fastq/Sample_2/File2_R1.fastq.gz fastq/Sample_2/File2_R2.fastq.gz RGID2  SampleID2 Lib2    UM     ILLUMINA&lt;br /&gt;
&lt;br /&gt;
If you are in the {ROOT_DIR}/test/align directory, you can use this file as-is.  If you prefer, you can create a new index file and change the MERGE_NAME, RGID, SAMPLE, LIBRARY, CENTER, or PLATFORM values. It is recommended that you do not modify existing files in {ROOT_DIR}/test/align. &lt;br /&gt;
&lt;br /&gt;
If you want to run this example from a different directory, make sure the FASTQ1 and FASTQ2 paths are correct.  That is, each of the FASTQ1 and FASTQ2 entry in the index file should look like the following:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/test/align/fastq/Sample_1/File1_R1.fastq.gz &lt;br /&gt;
&lt;br /&gt;
Alternately, if you want to run this example from a different directory, but do not want to edit the index file, you can copy all the fastq files to a new directory with the relative path listed in the index file:&lt;br /&gt;
&lt;br /&gt;
 ln -s {ROOT_DIR}/test/align/fastq fastq&lt;br /&gt;
&lt;br /&gt;
This will create a symbolic link to the test fastq directory from your current directory.&lt;br /&gt;
&lt;br /&gt;
(More information about: [[Mapping_Pipeline#Sequence_Index_File|the index file]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Configuration file===&lt;br /&gt;
&lt;br /&gt;
Similar to the index file, a configuration file (test.conf) already exists for the automatic test samples. It contains the following information:&lt;br /&gt;
&lt;br /&gt;
 INDEX_FILE = indexFile.txt&lt;br /&gt;
 ############&lt;br /&gt;
 # References&lt;br /&gt;
 REF_DIR = $(PIPELINE_DIR)/test/align/chr20Ref&lt;br /&gt;
 AS = NCBI37&lt;br /&gt;
 FA_REF = $(REF_DIR)/human_g1k_v37_chr20.fa&lt;br /&gt;
 DBSNP_VCF =  $(REF_DIR)/dbsnp.b130.ncbi37.chr20.vcf.gz&lt;br /&gt;
 PLINK = $(REF_DIR)/hapmap_3.3.b37.chr20&lt;br /&gt;
&lt;br /&gt;
If you are in the {ROOT_DIR}/test/align directory, you can use this file as-is. If you are using a different index file, make sure your index file is named correctly in the first line. If you are not running this from {ROOT_DIR}/test/align, make sure your configuration and index files are in the same directory.  &lt;br /&gt;
&lt;br /&gt;
(More information about: [[Mapping_Pipeline#Reference_Files|reference files]], [[Mapping_Pipeline#Optional_Configurable_Settings|optional configurable settings]], or [[Mapping_Pipeline#Command-Line_Options|command-line options]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Running the alignment pipeline===&lt;br /&gt;
&lt;br /&gt;
You are now ready to run the alignment pipeline.  This requires two steps: first, generating the Makefiles; and second, running those Makefiles.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Generating the Makefiles====&lt;br /&gt;
&lt;br /&gt;
Enter the following command:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/bin/gen_biopipeline.pl --conf test.conf --out_dir {OUT_DIR}&lt;br /&gt;
&lt;br /&gt;
where {OUT_DIR} is the directory in which you wish to store the resulting BAM files (for example, ~/out).&lt;br /&gt;
&lt;br /&gt;
If everything went well, you will see the following messages:&lt;br /&gt;
&lt;br /&gt;
 Finished creating makefile {OUT_DIR}/Makefiles/biopipe_Sample2.Makefile&lt;br /&gt;
 Finished creating makefile {OUT_DIR}/Makefiles/biopipe_Sample1.Makefile&lt;br /&gt;
 --------------------------------------------------------------------&lt;br /&gt;
 Run the following commands:&lt;br /&gt;
 &lt;br /&gt;
 make -f {OUT_DIR}/Makefiles/biopipe_Sample2.Makefile &amp;gt; {OUT_DIR}/Makefiles/biopipe_Sample2.Makefile.log&lt;br /&gt;
 make -f {OUT_DIR}/Makefiles/biopipe_Sample1.Makefile &amp;gt; {OUT_DIR}/Makefiles/biopipe_Sample1.Makefile.log&lt;br /&gt;
&lt;br /&gt;
where {OUT_DIR} will be replaced with the directory you entered above.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Running the Makefiles====&lt;br /&gt;
&lt;br /&gt;
To run a Makefile, simply enter one-by-one the commands generated in the previous step. If you wish to run the alignment in the background, add &amp;quot;&amp;amp;&amp;quot; after the make command, as follows:&lt;br /&gt;
&lt;br /&gt;
 make -f {OUT_DIR}/Makefiles/biopipe_Sample2.Makefile &amp;gt; {OUT_DIR}/Makefiles/biopipe_Sample2.Makefile.log &amp;amp;&lt;br /&gt;
&lt;br /&gt;
The log files for the runs will be found in the Makefiles directory, while the BAM files will be found in the {OUT_DIR}/alignment.recal directory.  If you see two BAM files, one for each sample, then you have successfully aligned the fastq files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Analyzing a Sample==&lt;br /&gt;
&lt;br /&gt;
Using UMAKE, you can analyze BAM files by calling SNPs, and generate a VCF file containing the results.  Once again, we can analyze BAM files used in the automatic test.  For this example, we have 60 BAM files, found in {ROOT_DIR}/test/umake/bams.  In addition to the BAM files, you will need three files to run UMAKE: an index file, a configuration file, and a bed file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Index file===&lt;br /&gt;
&lt;br /&gt;
First, you need a list of all the BAM files to be analyzed. Conveniently, the a test index file (umake_test.index) already exists in {ROOT_DIR}/test/umake/.  It contains the following information:&lt;br /&gt;
&lt;br /&gt;
 NA12272 ALL     bams/NA12272.mapped.ILLUMINA.bwa.CEU.low_coverage.20101123.chrom20.20000001.20300000.bam&lt;br /&gt;
 NA12004 ALL     bams/NA12004.mapped.ILLUMINA.bwa.CEU.low_coverage.20101123.chrom20.20000001.20300000.bam&lt;br /&gt;
 ...&lt;br /&gt;
 NA12874 ALL     bams/NA12874.mapped.LS454.ssaha2.CEU.low_coverage.20101123.chrom20.20000001.20300000.bam&lt;br /&gt;
&lt;br /&gt;
You can use this file directly if you change your current directory to {ROOT_DIR}/test/umake/.&lt;br /&gt;
&lt;br /&gt;
Alternately, if you want to copy and use this index file to a different directory, you can create a symbolic link to the bams folder as follows:&lt;br /&gt;
&lt;br /&gt;
 ln -s {ROOT_DIR}/test/umake/bams bams&lt;br /&gt;
&lt;br /&gt;
(More information about: [[Variant_Calling_Pipeline_(UMAKE)#Index_File|the index file]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===BED file===&lt;br /&gt;
&lt;br /&gt;
This file contains a single line:&lt;br /&gt;
&lt;br /&gt;
 chr20   20000050        20300000&lt;br /&gt;
&lt;br /&gt;
You can copy this to the current directory and use it as-is.&lt;br /&gt;
&lt;br /&gt;
(More information about: [[Variant_Calling_Pipeline_(UMAKE)#Targeted.2FExome_Sequencing_Settings|targeted/exome sequencing settings]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Configuration file===&lt;br /&gt;
&lt;br /&gt;
A configuration file (umake_test.conf) already exists in {ROOT_DIR}/test/umake/.  It contains the following information:&lt;br /&gt;
&lt;br /&gt;
 CHRS = 20&lt;br /&gt;
 TEST_ROOT = $(UMAKE_ROOT)/test/umake&lt;br /&gt;
 BAM_INDEX = $(TEST_ROOT)/umake_test.index&lt;br /&gt;
 OUT_PREFIX = umake_test&lt;br /&gt;
 REF_ROOT = $(TEST_ROOT)/ref&lt;br /&gt;
 #&lt;br /&gt;
 REF = $(REF_ROOT)/karma.ref/human.g1k.v37.chr20.fa&lt;br /&gt;
 INDEL_PREFIX = $(REF_ROOT)/indels/1kg.pilot_release.merged.indels.sites.hg19&lt;br /&gt;
 DBSNP_PREFIX =  $(REF_ROOT)/dbSNP/dbsnp_135_b37.rod&lt;br /&gt;
 HM3_PREFIX =  $(REF_ROOT)/HapMap3/hapmap3_r3_b37_fwd.consensus.qc.poly&lt;br /&gt;
 #&lt;br /&gt;
 RUN_INDEX = TRUE        # create BAM index file&lt;br /&gt;
 RUN_PILEUP = TRUE       # create GLF file from BAM&lt;br /&gt;
 RUN_GLFMULTIPLES = TRUE # create unfiltered SNP calls&lt;br /&gt;
 RUN_VCFPILEUP = TRUE    # create PVCF files using vcfPileup and run infoCollector&lt;br /&gt;
 RUN_FILTER = TRUE       # filter SNPs using vcfCooker&lt;br /&gt;
 RUN_SPLIT = TRUE        # split SNPs into chunks for genotype refinement&lt;br /&gt;
 RUN_BEAGLE = FALSE  # BEAGLE - MUST SET AFTER FINISHING PREVIOUS STEPS&lt;br /&gt;
 RUN_SUBSET = FALSE  # SUBSET FOR THUNDER - MAY BE SET WITH BEAGLE STEP TOGETHER&lt;br /&gt;
 RUN_THUNDER = FALSE # THUNDER - MUST SET AFTER FINISHING PREVIOUS STEPS&lt;br /&gt;
 ###############################################################################&lt;br /&gt;
 WRITE_TARGET_LOCI = TRUE  # FOR TARGETED SEQUENCING ONLY -- Write loci file when performing pileup&lt;br /&gt;
 UNIFORM_TARGET_BED = $(TEST_ROOT)/umake_test.bed # Targeted sequencing : When all individuals has the same target. Otherwise, comment it out&lt;br /&gt;
 OFFSET_OFF_TARGET = 50 # Extend target by given # of bases&lt;br /&gt;
 MULTIPLE_TARGET_MAP =  # Target per individual : Each line contains [SM_ID] [TARGET_BED]&lt;br /&gt;
 TARGET_DIR = target    # Directory to store target information&lt;br /&gt;
 SAMTOOLS_VIEW_TARGET_ONLY = TRUE # When performing samtools view, exclude off-target regions (may make command line too long)&lt;br /&gt;
&lt;br /&gt;
If you are running this from a different directory, you will want to change some of the lines as follows:&lt;br /&gt;
&lt;br /&gt;
 BAM_INDEX = {CURRENT_DIR}/umake_test.index&lt;br /&gt;
 UNIFORM_TARGET_BED = {CURRENT_DIR}/umake_test.bed&lt;br /&gt;
&lt;br /&gt;
where {CURRENT_DIR} is the absolute path to the directory that contains the index and bed files.  &lt;br /&gt;
&lt;br /&gt;
An additional option can be added in the configuration file:&lt;br /&gt;
&lt;br /&gt;
 OUT_DIR = {OUT_DIR}&lt;br /&gt;
&lt;br /&gt;
where {OUT_DIR} is the name of directory in which you want the output to be stored.  If you do not specify this in the configuration file, you will need to add an extra parameter when you run UMAKE in the next step.&lt;br /&gt;
&lt;br /&gt;
(More information about: [[Variant_Calling_Pipeline_(UMAKE)#Configuration_File|the configuration file]], [[Variant_Calling_Pipeline_(UMAKE)#Reference_Files|reference files]].)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Running UMAKE===&lt;br /&gt;
&lt;br /&gt;
If you added an OUT_DIR line to the configuration file, you can run UMAKE with the following command:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/bin/umake.pl --conf umake_test.conf --snpcall --numjobs 2&lt;br /&gt;
&lt;br /&gt;
If you have not added an OUT_DIR line to the configuration file, you can specify the output directory directly with the following command:&lt;br /&gt;
&lt;br /&gt;
 {ROOT_DIR}/bin/umake.pl --conf umake_test.conf --outdir {OUT_DIR} --snpcall --numjobs 2&lt;br /&gt;
&lt;br /&gt;
where {OUT_DIR} is the directory in which you want the output to be stored.&lt;br /&gt;
&lt;br /&gt;
Either command will perform SNP calling on the test samples. If you find the resulting VCF files located in {OUT_DIR}/vcfs/chr20, then you have successfully called the SNPs from the test BAM files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Further Information==&lt;br /&gt;
&lt;br /&gt;
[[Mapping_Pipeline|Mapping (Alignment) Pipeline]] &lt;br /&gt;
&lt;br /&gt;
[[Variant_Calling_Pipeline_(UMAKE)|Variant Calling Pipeline (UMAKE)]]&lt;/div&gt;</summary>
		<author><name>Amkwong</name></author>
	</entry>
</feed>