<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Examples</title><link>https://sourceforge.net/p/forwardsimulation/wiki/Examples/</link><description>Recent changes to Examples</description><atom:link href="https://sourceforge.net/p/forwardsimulation/wiki/Examples/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 07 Jan 2014 18:50:10 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/forwardsimulation/wiki/Examples/feed" rel="self" type="application/rss+xml"/><item><title>Examples modified by Victor Spirin</title><link>https://sourceforge.net/p/forwardsimulation/wiki/Examples/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Victor Spirin</dc:creator><pubDate>Tue, 07 Jan 2014 18:50:10 -0000</pubDate><guid>https://sourceforge.net4cf5acbeb10e55254c0486383b8a6bce26ff6629</guid></item><item><title>Discussion for Examples page</title><link>https://sourceforge.net/p/forwardsimulation/wiki/Examples/</link><description>&lt;div class="markdown_content"&gt;&lt;h3&gt;Selection and Dominance&lt;/h3&gt;
&lt;p&gt;The user can specify selection coefficient &lt;em&gt;s&lt;/em&gt; and dominance &lt;em&gt;h&lt;/em&gt;&lt;br /&gt;
parameters.  The fitness of heterozygotes is $1+hs$ ($h=0$ for recessive, 0.5&lt;br /&gt;
for codominant and 1 for dominant). Values below 0 and above 1 are for&lt;br /&gt;
underdominance and overdominance.  Default value of $h$ is set to 0.5.&lt;br /&gt;
The fitness of homozygotes is $1+s$.&lt;/p&gt;
&lt;p&gt;To set dominance parameter to 0.75, for example, add&lt;br /&gt;
\verb|--dominance 0.75|&lt;br /&gt;
\begin{verbatim}&lt;br /&gt;
FS -N P 1 10000 -N P 2 10000 -B 1.0 -TS 0.002 -TW 0.002 -TE 0.01 &lt;br /&gt;
-t 4e-4 -r 4e-4 -L 100000 -s 159 --selectionCoeff 1000&lt;br /&gt;
--selectionStartSite 49700 --selectionEndSite 50300 &lt;br /&gt;
-n 1000 1000 --outputTime 0.001 0.0025 0.005 0.0075 -o ssw21 &lt;br /&gt;
-Tg P 2 0.00 0.01 P 1 0.00 0.01 --dominance 0.75&lt;br /&gt;
\end{verbatim}&lt;/p&gt;
&lt;p&gt;Specifying \verb|--selectionStartSite| and \verb|--selectionEndSite|&lt;br /&gt;
is essential.  If the selection acts on the entire genome, these two&lt;br /&gt;
parameters should be set to 0 and \verb|genomeLength| $L$.  By default, if&lt;br /&gt;
these two parameters are not specified, the selection will act on only&lt;br /&gt;
one site.  This site will be chosen after \verb|BURNIN| and will be&lt;br /&gt;
the closest to $L/2$ polymorphic site.  This is the sample command&lt;br /&gt;
line to see sweep on one site:&lt;br /&gt;
\begin{verbatim}&lt;br /&gt;
FS -N P 1 10000 -N P 2 10000 -B 1.0 -TS 0.002 -TW 0.002 -TE 0.01 &lt;br /&gt;
-t 4e-4 -r 4e-4 -L 100000 -s 159 --selectionCoeff 1000&lt;br /&gt;
-n 1000 1000 --outputTime 0.001 0.0025 0.005 0.0075 -o ssw21 &lt;br /&gt;
-Tg P 2 0.00 0.01 P 1 0.00 0.01 --dominance 0.75&lt;br /&gt;
\end{verbatim}&lt;/p&gt;
&lt;p&gt;\subsection{Population Expansion}&lt;br /&gt;
\begin{verbatim}&lt;br /&gt;
FS -N P 1 10000 -N P 2 10000 -B 1.0 -TS 0.002 -TW 0.002 -TE 0.01 &lt;br /&gt;
-t 4e-4 -r 4e-4 -L 100000 -s 159 --selectionCoeff 1000&lt;br /&gt;
--selectionStartSite 49700 --selectionEndSite 50300 --fitnessBoolOR&lt;br /&gt;
-n 1000 1000 --outputTime 0.001 0.0025 0.005 0.0075 -o ssw21 &lt;br /&gt;
-Tg P 2 0.00 0.01 P 1 0.00 0.01&lt;br /&gt;
\end{verbatim}&lt;/p&gt;
&lt;p&gt;The expansion part is \verb|-Tg P 1 0.00 0.01 P 2 0.00 0.01|. Six arguments after \verb|-Tg| are mandatory. P1 starts expanding at 0.00 after BURNIN and expands at a rate 1.01 every generation (0.01 corresponds to this 1\% growth). Same with P2.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Victor Spirin</dc:creator><pubDate>Tue, 07 Jan 2014 18:37:06 -0000</pubDate><guid>https://sourceforge.net45ee7479a031985cb6f151ffc71eb391a88a85b4</guid></item><item><title>Examples modified by Victor Spirin</title><link>https://sourceforge.net/p/forwardsimulation/wiki/Examples/</link><description>&lt;div class="markdown_content"&gt;&lt;h3&gt;Selection and dominance&lt;/h3&gt;
&lt;h3&gt;Population expansion&lt;/h3&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Victor Spirin</dc:creator><pubDate>Sun, 05 Jan 2014 23:03:05 -0000</pubDate><guid>https://sourceforge.net4c7b02ec3f1990486dc4e41a9bfe52ff65aa52a4</guid></item></channel></rss>