<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to General Usage example</title><link>https://sourceforge.net/p/lepmap2/wiki/General%2520Usage%2520example/</link><description>Recent changes to General Usage example</description><atom:link href="https://sourceforge.net/p/lepmap2/wiki/General%20Usage%20example/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 03 Jun 2015 10:46:30 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/lepmap2/wiki/General%20Usage%20example/feed" rel="self" type="application/rss+xml"/><item><title>General Usage example modified by Federico Calboli</title><link>https://sourceforge.net/p/lepmap2/wiki/General%2520Usage%2520example/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -29,7 +29,7 @@
 ```java -cp /bin/ JoinSingles map_js2.txt lodLimit=10 data=data_f.linkage &amp;gt;map_js3.txt```
 ... (as long as you want or until the result does not change)

-Then use ```map..._jsX.txt``` for Ordering step.
+Then use ```map..._jsX.txt``` for Ordering step. Alternatively you can change the value for lodLimit in step (2b):  ```java -cp /bin/ SeparateChromosomes data=data_f.linkage lodLimit=30 sizeLimit=10 &amp;gt;map.txt``` (now the LOD limit is 30 not 20).

 3b) if this kind of situation appears:
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Federico Calboli</dc:creator><pubDate>Wed, 03 Jun 2015 10:46:30 -0000</pubDate><guid>https://sourceforge.net3b8eaaea6495cf8d7fcc80cf128e1a1ed755db64</guid></item><item><title>General Usage example modified by Federico Calboli</title><link>https://sourceforge.net/p/lepmap2/wiki/General%2520Usage%2520example/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -15,7 +15,7 @@

 2e) for sex averaged recombination 

-```java -cp /bin/ OrderMarkers data=data_f.linkage map=map_js.txt alpha=0.1 polishWindow=100 filterWindow=10 evaluateOrder=chr1.MF.txt improveOrder=0 &amp;gt;chr1.SA.txt```
+```java -cp /bin/ OrderMarkers data=data_f.linkage alpha=0.1 evaluateOrder=chr1.MF.txt sexAveraged=1 improveOrder=0 &amp;gt;chr1.SA.txt```

 (the same for all the chromosomes, changing the ```chromosome=X``` option).

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Federico Calboli</dc:creator><pubDate>Wed, 03 Jun 2015 10:44:34 -0000</pubDate><guid>https://sourceforge.net02e1cd22af8d5383be1727a4c9c586bef531a89d</guid></item><item><title>General Usage example modified by Federico Calboli</title><link>https://sourceforge.net/p/lepmap2/wiki/General%2520Usage%2520example/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -9,7 +9,13 @@

 then we create the order for each chromosome by:

-2d) ```java -cp /bin/ OrderMarkers data=data_f.linkage map=map_js.txt alpha=0.1 polishWindow=100 filterWindow=10 chromosome=1 &amp;gt;chr1.txt```
+2d) for male and female recombination:
+
+```java -cp /bin/ OrderMarkers data=data_f.linkage map=map_js.txt alpha=0.1 polishWindow=100 filterWindow=10 chromosome=1 &amp;gt;chr1.MF.txt```
+
+2e) for sex averaged recombination 
+
+```java -cp /bin/ OrderMarkers data=data_f.linkage map=map_js.txt alpha=0.1 polishWindow=100 filterWindow=10 evaluateOrder=chr1.MF.txt improveOrder=0 &amp;gt;chr1.SA.txt```

 (the same for all the chromosomes, changing the ```chromosome=X``` option).

@@ -26,9 +32,7 @@
 Then use ```map..._jsX.txt``` for Ordering step.

-3b) sex-averaged positions can be obtained by passing ```sexAveraged=1``` in step (2d) OrderMarkers.
-
-3c) if this kind of situation appears:
+3b) if this kind of situation appears:

 \#java OrderMarkers data=data_f.linkage map=map_js.txt alpha=0.1 polishWindow=100 filterWindow=10 chromosome=20
 \#*** LG = 20 likelihood = -882.5463 with alpha penalty = -921.9463
@@ -47,4 +51,3 @@

 it is because recombination rate becomes 0.5 (or very close) so the map distance becomes inf. Typically there are only a few markers in the short gap that could be removed. One can run the OrderMarkers a few times and not all solutions will have these gaps. One can compare the difference in likelihood of removing markers vs. putting then in the middle of the map (with likely high error estimates).

-
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Federico Calboli</dc:creator><pubDate>Wed, 27 May 2015 12:36:17 -0000</pubDate><guid>https://sourceforge.net9c6dfc2319b530701a4802ec5c264596ad197180</guid></item><item><title>General Usage example modified by Federico Calboli</title><link>https://sourceforge.net/p/lepmap2/wiki/General%2520Usage%2520example/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,17 +1,17 @@
 1)  Use the *latest* LM2 form Sourceforge.  
 2)  Assuming we have the Linkage file already done the pipeline the creates the maps for the chromosomes is:

-2a)  java -cp /bin/ Filtering data=data.linkage &amp;gt;data_f.linkage #default dataTolerance is 0.01
+2a)  ```java -cp /bin/ Filtering data=data.linkage &amp;gt;data_f.linkage #default dataTolerance is 0.01```

-2b)  java -cp /bin/ SeparateChromosomes data=data_f.linkage lodLimit=20 sizeLimit=10 &amp;gt;map.txt
+2b)  ```java -cp /bin/ SeparateChromosomes data=data_f.linkage lodLimit=20 sizeLimit=10 &amp;gt;map.txt```

-2c)  java -cp /bin/ JoinSingles map.txt lodLimit=10 data=data_f.linkage &amp;gt;map_js.txt
+2c)  ```java -cp /bin/ JoinSingles map.txt lodLimit=10 data=data_f.linkage &amp;gt;map_js.txt```

 then we create the order for each chromosome by:

-2d) java -cp /bin/ OrderMarkers data=data_f.linkage map=map_js.txt alpha=0.1 polishWindow=100 filterWindow=10 chromosome=1 &amp;gt;chr1.txt
+2d) ```java -cp /bin/ OrderMarkers data=data_f.linkage map=map_js.txt alpha=0.1 polishWindow=100 filterWindow=10 chromosome=1 &amp;gt;chr1.txt```

-(the same for all the chromosomes, changing the chromosome=X option).
+(the same for all the chromosomes, changing the ```chromosome=X``` option).

 So far, so good.  Now important debugging stuff.

@@ -19,14 +19,14 @@

 3a) If a LG does not show any recombination in the male or the female one can run JoinSingle again: 

-java -cp /bin/ JoinSingles map_js.txt lodLimit=10 data=data_f.linkage &amp;gt;map_js2.txt
-java -cp /bin/ JoinSingles map_js2.txt lodLimit=10 data=data_f.linkage &amp;gt;map_js3.txt
+```java -cp /bin/ JoinSingles map_js.txt lodLimit=10 data=data_f.linkage &amp;gt;map_js2.txt```
+```java -cp /bin/ JoinSingles map_js2.txt lodLimit=10 data=data_f.linkage &amp;gt;map_js3.txt```
 ... (as long as you want or until the result does not change)

-Then use map..._jsX.txt for Ordering step.
+Then use ```map..._jsX.txt``` for Ordering step.

-3b) sex-averaged positions can be obtained by passing sexAveraged=1 in step (2d) OrderMarkers.
+3b) sex-averaged positions can be obtained by passing ```sexAveraged=1``` in step (2d) OrderMarkers.

 3c) if this kind of situation appears:

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Federico Calboli</dc:creator><pubDate>Wed, 20 May 2015 08:30:55 -0000</pubDate><guid>https://sourceforge.net30a5fb5853964064e6df3becdf2451c57798c81a</guid></item><item><title>General Usage example modified by Federico Calboli</title><link>https://sourceforge.net/p/lepmap2/wiki/General%2520Usage%2520example/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;1)  Use the &lt;em&gt;latest&lt;/em&gt; LM2 form Sourceforge.&lt;br /&gt;
2)  Assuming we have the Linkage file already done the pipeline the creates the maps for the chromosomes is:&lt;/p&gt;
&lt;p&gt;2a)  java -cp /bin/ Filtering data=data.linkage &amp;gt;data_f.linkage #default dataTolerance is 0.01&lt;/p&gt;
&lt;p&gt;2b)  java -cp /bin/ SeparateChromosomes data=data_f.linkage lodLimit=20 sizeLimit=10 &amp;gt;map.txt&lt;/p&gt;
&lt;p&gt;2c)  java -cp /bin/ JoinSingles map.txt lodLimit=10 data=data_f.linkage &amp;gt;map_js.txt&lt;/p&gt;
&lt;p&gt;then we create the order for each chromosome by:&lt;/p&gt;
&lt;p&gt;2d) java -cp /bin/ OrderMarkers data=data_f.linkage map=map_js.txt alpha=0.1 polishWindow=100 filterWindow=10 chromosome=1 &amp;gt;chr1.txt&lt;/p&gt;
&lt;p&gt;(the same for all the chromosomes, changing the chromosome=X option).&lt;/p&gt;
&lt;p&gt;So far, so good.  Now important debugging stuff.&lt;/p&gt;
&lt;p&gt;3) Debugging.&lt;/p&gt;
&lt;p&gt;3a) If a LG does not show any recombination in the male or the female one can run JoinSingle again: &lt;/p&gt;
&lt;p&gt;java -cp /bin/ JoinSingles map_js.txt lodLimit=10 data=data_f.linkage &amp;gt;map_js2.txt&lt;br /&gt;
java -cp /bin/ JoinSingles map_js2.txt lodLimit=10 data=data_f.linkage &amp;gt;map_js3.txt&lt;br /&gt;
... (as long as you want or until the result does not change)&lt;/p&gt;
&lt;p&gt;Then use map..._jsX.txt for Ordering step.&lt;/p&gt;
&lt;p&gt;3b) sex-averaged positions can be obtained by passing sexAveraged=1 in step (2d) OrderMarkers.&lt;/p&gt;
&lt;p&gt;3c) if this kind of situation appears:&lt;/p&gt;
&lt;p&gt;#java OrderMarkers data=data_f.linkage map=map_js.txt alpha=0.1 polishWindow=100 filterWindow=10 chromosome=20&lt;br /&gt;
#*** LG = 20 likelihood = -882.5463 with alpha penalty = -921.9463&lt;br /&gt;
#marker_number male_position   female_position ( error_estimate )&lt;span&gt;[ duplicate*]&lt;/span&gt;&lt;br /&gt;
33865   0.00    0.00    ( 0 )&lt;br /&gt;
11057   0.00    1.10    ( 0.0065 )&lt;br /&gt;
25019   0.00    2.20    ( 0.0065 )&lt;br /&gt;
...&lt;br /&gt;
...&lt;br /&gt;
...&lt;/p&gt;
&lt;p&gt;*** LG = 20.1&lt;br /&gt;
16935   0.00    0.00    ( 0.0715 )&lt;br /&gt;
17625   1.48    0.00    ( 0.0002 )&lt;br /&gt;
10433   3.51    0.00    ( 0 )&lt;/p&gt;
&lt;p&gt;it is because recombination rate becomes 0.5 (or very close) so the map distance becomes inf. Typically there are only a few markers in the short gap that could be removed. One can run the OrderMarkers a few times and not all solutions will have these gaps. One can compare the difference in likelihood of removing markers vs. putting then in the middle of the map (with likely high error estimates).&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Federico Calboli</dc:creator><pubDate>Wed, 20 May 2015 08:13:56 -0000</pubDate><guid>https://sourceforge.nete9827c06e5e8f2511f528e92388a5f454f14f86a</guid></item></channel></rss>