<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://genome.sph.umich.edu/w/index.php?action=history&amp;feed=atom&amp;title=RareSimu</id>
	<title>RareSimu - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://genome.sph.umich.edu/w/index.php?action=history&amp;feed=atom&amp;title=RareSimu"/>
	<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=RareSimu&amp;action=history"/>
	<updated>2026-09-26T13:27:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=RareSimu&amp;diff=14615&amp;oldid=prev</id>
		<title>Ppwhite: /* Download */</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=RareSimu&amp;diff=14615&amp;oldid=prev"/>
		<updated>2017-02-02T15:11:59Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Download&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:11, 2 February 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l59&quot;&gt;Line 59:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 59:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Download ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Download ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The current version is available for download from http://&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;www&lt;/del&gt;.sph.umich.edu/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;csg&lt;/del&gt;/weich/GMS.tar.gz&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The current version is available for download from http://&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;csg&lt;/ins&gt;.sph.umich.edu//weich/GMS.tar.gz&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== TODO ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== TODO ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ppwhite</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=RareSimu&amp;diff=11386&amp;oldid=prev</id>
		<title>Weich: Created page with &quot;Genetic Model-based Simulator [GMS] is an efficient c++ program for simulating case control data sets based on genetic models. The input is a pool of haplotypes and a text fil...&quot;</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=RareSimu&amp;diff=11386&amp;oldid=prev"/>
		<updated>2014-08-28T03:28:50Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Genetic Model-based Simulator [GMS] is an efficient c++ program for simulating case control data sets based on genetic models. The input is a pool of haplotypes and a text fil...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Genetic Model-based Simulator [GMS] is an efficient c++ program for simulating case control data sets based on genetic models. The input is a pool of haplotypes and a text file for model specification. &lt;br /&gt;
The output is a set of simulated datasets in the format of Merlin ped file.  &lt;br /&gt;
&lt;br /&gt;
== Basic Usage Example ==&lt;br /&gt;
&lt;br /&gt;
In a typical command line, a few options need to be specified together with the input files. &lt;br /&gt;
Here is an example of how GMS works:&lt;br /&gt;
&lt;br /&gt;
./GMS --hapfile test.hap --snplist test.lst --model model.heter.txt --f0 0.01 --&lt;br /&gt;
nrep 100 --ncase 250 --nctrl 250 --causal --prefix tmp&lt;br /&gt;
&lt;br /&gt;
== Command Line Options ==&lt;br /&gt;
&lt;br /&gt;
=== Basic Output Options ===&lt;br /&gt;
&lt;br /&gt;
  --hapfile       a pool of simulated or real haplotypes, one chromosome per row&lt;br /&gt;
  --snplist       snp names in the order ofhaplotypes in hapfile, one snp per row&lt;br /&gt;
  --model         a model file specifying genetic models, see below for details&lt;br /&gt;
  --nrep          the number of replications&lt;br /&gt;
  --seed          seed for random number generator&lt;br /&gt;
  --ncase         the number of cases in each replicate&lt;br /&gt;
  --nctrl         the number of controls in each replicate&lt;br /&gt;
  --f0            overall baseline prevalence&lt;br /&gt;
  --prefix        prefix of output files (e.g. prefix.rep1.ped, prefix.rep2.ped)&lt;br /&gt;
  --causal        only generate causal SNPs in the output pedigree file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Model File Annotation ===&lt;br /&gt;
The model file includes one header line and multiple rows after. Each row responding to a set of &lt;br /&gt;
SNPs with desired frequency range and relate risk (RR) or odds ratio (OR)&lt;br /&gt;
&lt;br /&gt;
1. Heterogeneity Model&lt;br /&gt;
&lt;br /&gt;
a)	COUNT	FREQ_MIN	FREQ_MAX	RR1	RR2&lt;br /&gt;
&lt;br /&gt;
b)	FRACTION	FREQ_MIN	FREQ_MAX	RR1	RR2&lt;br /&gt;
&lt;br /&gt;
2. Logistic Model&lt;br /&gt;
&lt;br /&gt;
a)	COUNT	FREQ_MIN	FREQ_MAX	OR1	OR2&lt;br /&gt;
&lt;br /&gt;
b)	FRACTION	FREQ_MIN	FREQ_MAX	OR1	OR2&lt;br /&gt;
&lt;br /&gt;
== How It Works ==&lt;br /&gt;
There are two underlying models. Disease status follows a Bernoulli distribution with P &lt;br /&gt;
&lt;br /&gt;
1. Heterogeneity Model&lt;br /&gt;
&amp;lt;math&amp;gt; P(D | (AA,AA,...,AA)) = f_0 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; P = \sum_{i=1}^N P(D|x_i) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Logistic Model&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;logit(y) = \beta_0 + \sum_{i=1}^{N}\beta_i\times x_i&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; P = \frac{e^{\beta_0 + \sum_{i=1}^{N}\beta_i\times x_i}}{1+e^{\beta_0 + \sum_{i=1}^{N}\beta_i\times x_i}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
&lt;br /&gt;
The current version is available for download from http://www.sph.umich.edu/csg/weich/GMS.tar.gz&lt;br /&gt;
&lt;br /&gt;
== TODO ==&lt;br /&gt;
1. Support Quantitative trait.&lt;br /&gt;
&lt;br /&gt;
2. Support family structures.&lt;br /&gt;
&lt;br /&gt;
3. Support more &amp;quot;reasonable&amp;quot; models.&lt;/div&gt;</summary>
		<author><name>Weich</name></author>
	</entry>
</feed>