<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Modules</title><link>https://sourceforge.net/p/lepmap2/wiki/Modules/</link><description>Recent changes to Modules</description><atom:link href="https://sourceforge.net/p/lepmap2/wiki/Modules/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 26 Apr 2016 15:22:19 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/lepmap2/wiki/Modules/feed" rel="self" type="application/rss+xml"/><item><title>Modules modified by Pasi Rastas</title><link>https://sourceforge.net/p/lepmap2/wiki/Modules/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v49
+++ v50
@@ -65,9 +65,17 @@
 &lt;code&gt;java -cp bin/ OrderMarkers map=map1.txt data=data1.linkage data2.linkage data3.linkage &amp;gt;order1-3.txt&lt;/code&gt;

 achiasmatic meiosis (no recombination in male):
+&lt;code&gt;java -cp bin/ OrderMarkers map=map.txt data=data.linkage initRecombination=0 0.05 &lt;/code&gt;
+
+or if there are problems with 0 recombination:
+
 &lt;code&gt;java -cp bin/ OrderMarkers map=map.txt data=data.linkage initRecombination=0.000000001 0.05 learnRecombinationParameters=0 1&lt;/code&gt;

 achiasmatic meiosis (no recombination in female):
+&lt;code&gt;java -cp bin/ OrderMarkers map=map.txt data=data.linkage initRecombination=0.05 0&lt;/code&gt;
+
+or
+
 &lt;code&gt;java -cp bin/ OrderMarkers map=map.txt data=data.linkage initRecombination=0.05 0.000000001 learnRecombinationParameters=1 0 &lt;/code&gt;

 **Note the achiasmatic meiosis fix in some cases (avoiding 0 recombination rate). It is also possible to use AchiamaticMeiosis module.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pasi Rastas</dc:creator><pubDate>Tue, 26 Apr 2016 15:22:19 -0000</pubDate><guid>https://sourceforge.net80738ffda94c2bc32dd940dfbb4aec6cb9dc8401</guid></item><item><title>Modules modified by Pasi Rastas</title><link>https://sourceforge.net/p/lepmap2/wiki/Modules/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v48
+++ v49
@@ -65,10 +65,13 @@
 &lt;code&gt;java -cp bin/ OrderMarkers map=map1.txt data=data1.linkage data2.linkage data3.linkage &amp;gt;order1-3.txt&lt;/code&gt;

 achiasmatic meiosis (no recombination in male):
-&lt;code&gt;java -cp bin/ OrderMarkers map=map.txt data=data.linkage initRecombination=0 0.05 &lt;/code&gt;
+&lt;code&gt;java -cp bin/ OrderMarkers map=map.txt data=data.linkage initRecombination=0.000000001 0.05 learnRecombinationParameters=0 1&lt;/code&gt;

 achiasmatic meiosis (no recombination in female):
-&lt;code&gt;java -cp bin/ OrderMarkers map=map.txt data=data.linkage initRecombination=0.05 0 &lt;/code&gt;
+&lt;code&gt;java -cp bin/ OrderMarkers map=map.txt data=data.linkage initRecombination=0.05 0.000000001 learnRecombinationParameters=1 0 &lt;/code&gt;
+
+**Note the achiasmatic meiosis fix in some cases (avoiding 0 recombination rate). It is also possible to use AchiamaticMeiosis module.
+**

 sex averaged maps
 &lt;code&gt;java -cp bin/ OrderMarkers map=map.txt data=data.linkage sexAveraged=1&lt;/code&gt;
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pasi Rastas</dc:creator><pubDate>Tue, 26 Apr 2016 15:10:40 -0000</pubDate><guid>https://sourceforge.net4c88d0ff48b9de9420d8f2344f5da9578ae96aec</guid></item><item><title>Modules modified by Pasi Rastas</title><link>https://sourceforge.net/p/lepmap2/wiki/Modules/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v47
+++ v48
@@ -94,7 +94,7 @@
 BE SURE that your individuals match the pedigree. For example, use plink --genome (with genotype data without pedigree information and before ParentCall), to verify that your individuals are full-sibs.

 If you notice gaps (or too long maps) in the output maps of OrderMarkers, try this:
-If the gap is within a long stretch of single informative markers, setting initRecombination to something smaller (than default 0.05) like 0.001 typically fixes this. 
+If the gap is within a long stretch of single informative markers, setting initRecombination to something smaller (than default 0.05) like 0.001 typically fixes this (Note that the new version of LM2 (25th of April, 2016) will initialize recombination rates to 0 for non-informative sex, and probably solves this problem). 

 If the map is split into several parts (LG = X.1, LG = X.2), Setting maxDistance, e.g. to 0.4 sets the maximum recombination rate and does not allow that long gaps that cause LGs to split. Then it might also be easier to identify markers that cause problems.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pasi Rastas</dc:creator><pubDate>Mon, 25 Apr 2016 09:34:09 -0000</pubDate><guid>https://sourceforge.netc0865504b74168b51a65d0a92e632faeee152916</guid></item><item><title>Modules modified by Pasi Rastas</title><link>https://sourceforge.net/p/lepmap2/wiki/Modules/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v46
+++ v47
@@ -85,13 +85,18 @@

 The errors in marker orders can be detected by making a pair-wise LOD plot of the resulting markers. (The pair-wise data can be generated by LM2, it can be visualized in, e.g. R or gnuplot)

-Because of genotyping errors, the map distances can become too long if the number of markers per chromosome is much higher than the number of individuals. Often setting parameter minError (to a value between 0.01-0.4) shortens the map considerably. Evaluating map orders with minErrors can be sufficient (I have not evaluated how minError affects marker ordering). 
+Because of genotyping errors, the map distances can become too long if the number of markers per chromosome is much higher than the number of individuals. Often setting parameter minError (to a value between 0.01-0.4) shortens the map considerably. Evaluating map orders with minErrors can be sufficient (I have not evaluated how minError affects marker ordering). Even large minError will work if there are multiple copies of identical markers (that reduce effective error parameter). It is also a good idea to try evaluating the maps without removing duplicates but setting minError. This will take into account how many times each identical marker occurs in the data (as if the duplicates are removed, then the marker occurs only once).

 Large families can be split into smaller ones to obtain speedup from parallel computation (numThreads), even with single family data. This is because LM2 does not split families, it only distributes the computation on each family to different threads. Thus, maximum speedup can be obtained if all families are about equal size. Moreover, LM2 distributes the families in the order they are given in the input file. Sometimes by changing the order of families one can obtain better speedup using numThreads.

 It can be wise to remove markers with high error estimate or markers at the map ends that cause long gaps. 

 BE SURE that your individuals match the pedigree. For example, use plink --genome (with genotype data without pedigree information and before ParentCall), to verify that your individuals are full-sibs. 
+
+If you notice gaps (or too long maps) in the output maps of OrderMarkers, try this:
+If the gap is within a long stretch of single informative markers, setting initRecombination to something smaller (than default 0.05) like 0.001 typically fixes this. 
+
+If the map is split into several parts (LG = X.1, LG = X.2), Setting maxDistance, e.g. to 0.4 sets the maximum recombination rate and does not allow that long gaps that cause LGs to split. Then it might also be easier to identify markers that cause problems.

 ParentCall
 ----
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pasi Rastas</dc:creator><pubDate>Fri, 22 Apr 2016 10:02:03 -0000</pubDate><guid>https://sourceforge.netc1a5dca763a006e8939bfd5e5de4158ba7851031</guid></item><item><title>Modules modified by Pasi Rastas</title><link>https://sourceforge.net/p/lepmap2/wiki/Modules/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v45
+++ v46
@@ -21,7 +21,7 @@

 Filtering
 ----
-The Filtering module handles filtering of the data, i.e. filtering markers based on, e.g. high segregation distortion (dataTolerance) and excess number of missing genotypes (missingLimit). This module outputs the filtered data in linkage format to be used with other LM2 modules and for further analysis (e.g. QTL). By default, genotypes are outputted in bi-allelic format with alleles 1 and 2. By providing option keepAlleles=1 the original alleles are kept (If there are a lot of markers with 3-4 alleles, keeping the alleles is probably wise).
+The Filtering module handles filtering of the data, i.e. filtering markers based on, e.g. high segregation distortion (dataTolerance) and excess number of missing genotypes (missingLimit). This module outputs the filtered data in linkage format to be used with other LM2 modules and for further analysis (e.g. QTL). By default, genotypes are outputted in bi-allelic format with alleles 1 and 2. By providing option keepAlleles=1 the original alleles are kept (If there are a lot of markers with 3-4 alleles (e.g. microsatellites), keeping the alleles is probably wise as markers with more alleles have more information about the haplotypes).

 Example : 
 &lt;code&gt;java -cp bin/ Filtering data=data1.linkage dataTolerance=0.001 &amp;gt;data1_f.linkage&lt;/code&gt;
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pasi Rastas</dc:creator><pubDate>Tue, 22 Mar 2016 12:03:58 -0000</pubDate><guid>https://sourceforge.net41a054186b913449c0699a34ef6e9c16f521349e</guid></item><item><title>Modules modified by Pasi Rastas</title><link>https://sourceforge.net/p/lepmap2/wiki/Modules/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v44
+++ v45
@@ -21,7 +21,7 @@

 Filtering
 ----
-The Filtering module handles filtering of the data, i.e. filtering markers based on, e.g. high segregation distortion (dataTolerance) and excess number of missing genotypes (missingLimit). This module outputs the filtered data in linkage format to be used with other LM2 modules and for further analysis (e.g. QTL). By default, genotypes are outputted in bi-allelic format with alleles 1 and 2. By providing option keepAlleles=1 the original alleles are kept.
+The Filtering module handles filtering of the data, i.e. filtering markers based on, e.g. high segregation distortion (dataTolerance) and excess number of missing genotypes (missingLimit). This module outputs the filtered data in linkage format to be used with other LM2 modules and for further analysis (e.g. QTL). By default, genotypes are outputted in bi-allelic format with alleles 1 and 2. By providing option keepAlleles=1 the original alleles are kept (If there are a lot of markers with 3-4 alleles, keeping the alleles is probably wise).

 Example : 
 &lt;code&gt;java -cp bin/ Filtering data=data1.linkage dataTolerance=0.001 &amp;gt;data1_f.linkage&lt;/code&gt;
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pasi Rastas</dc:creator><pubDate>Tue, 22 Mar 2016 12:02:04 -0000</pubDate><guid>https://sourceforge.net67a9b2b669aceb34c1ca3aea1bebefd7b16bc918</guid></item><item><title>Modules modified by Pasi Rastas</title><link>https://sourceforge.net/p/lepmap2/wiki/Modules/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v43
+++ v44
@@ -6,8 +6,9 @@
 , where path is the directory where the class files of LM2 are located. Each module requires some parameters, simply running "java -cp path moduleName" lists these parameters and a short description of each parameter.

 Additional modules have been added to Lep-MAP2:
+
 * Tranpose provides fast transpose function to convert data into linkage format
-* ParentCallGrandparents calls markers taking into account the genotype information on grandparents (however, grandparents are not being taken into account in any other way)
+*  ParentCallGrandparents calls markers taking into account the genotype information on grandparents (however, grandparents are not being taken into account in any other way)
 * AchiasmaticMeiosis converts data with achiasmatic meiosis (no recombination in one sex) into single parent informative data. This module provides similar functionality that was in Lep-MAP1. 

 The input of LM2 consists of genotypes of one or several full-sib families (parents and their offspring), given in pre-makeped LINKAGE (Lathrop et al., 1984) format. The format gives the pedigree information on columns 1-6 and genotypes starting on column 7 onward (marker 1 is on column 7). The columns in linkage files are separated by tabs, but genotypes are given as two space separated numbers (like "1 2" or "220 150"). A missing genotype is coded as "0 0". The Columns 1-6 are family name, individual name, father, mother, sex, and phenotype. The phenotype is not used by LM2 (can be set to all 0).
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pasi Rastas</dc:creator><pubDate>Mon, 14 Mar 2016 17:51:43 -0000</pubDate><guid>https://sourceforge.net70dc2fb0a01ff92f88c6ab412dc4eac1a69951d8</guid></item><item><title>Modules modified by Pasi Rastas</title><link>https://sourceforge.net/p/lepmap2/wiki/Modules/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v42
+++ v43
@@ -4,6 +4,11 @@
 Lep-MAP2 (LM2) consists of modules Filtering, SeparateChromosomes, JoinSingles, OrderMarkers and ParentCall. Each of these modules can run by 
 &lt;code&gt;java -cp path moduleName \[parameters\]&lt;/code&gt;
 , where path is the directory where the class files of LM2 are located. Each module requires some parameters, simply running "java -cp path moduleName" lists these parameters and a short description of each parameter.
+
+Additional modules have been added to Lep-MAP2:
+* Tranpose provides fast transpose function to convert data into linkage format
+* ParentCallGrandparents calls markers taking into account the genotype information on grandparents (however, grandparents are not being taken into account in any other way)
+* AchiasmaticMeiosis converts data with achiasmatic meiosis (no recombination in one sex) into single parent informative data. This module provides similar functionality that was in Lep-MAP1.

 The input of LM2 consists of genotypes of one or several full-sib families (parents and their offspring), given in pre-makeped LINKAGE (Lathrop et al., 1984) format. The format gives the pedigree information on columns 1-6 and genotypes starting on column 7 onward (marker 1 is on column 7). The columns in linkage files are separated by tabs, but genotypes are given as two space separated numbers (like "1 2" or "220 150"). A missing genotype is coded as "0 0". The Columns 1-6 are family name, individual name, father, mother, sex, and phenotype. The phenotype is not used by LM2 (can be set to all 0).

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pasi Rastas</dc:creator><pubDate>Mon, 14 Mar 2016 17:50:54 -0000</pubDate><guid>https://sourceforge.netb81b7988958cf78c186a8f7dbe1347f602a698ff</guid></item><item><title>Modules modified by Pasi Rastas</title><link>https://sourceforge.net/p/lepmap2/wiki/Modules/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v41
+++ v42
@@ -77,7 +77,7 @@

 To be sure on the marker order, it is wise to repeat marker ordering a few times. Order with best likelihood is typically the most correct.

-The errors in marker orders can be detected by making a pair-wise LOD plot of the resulting markers. 
+The errors in marker orders can be detected by making a pair-wise LOD plot of the resulting markers. (The pair-wise data can be generated by LM2, it can be visualized in, e.g. R or gnuplot)

 Because of genotyping errors, the map distances can become too long if the number of markers per chromosome is much higher than the number of individuals. Often setting parameter minError (to a value between 0.01-0.4) shortens the map considerably. Evaluating map orders with minErrors can be sufficient (I have not evaluated how minError affects marker ordering). 

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pasi Rastas</dc:creator><pubDate>Fri, 05 Feb 2016 16:29:05 -0000</pubDate><guid>https://sourceforge.netd7298742e5ee8a074f796f53bc9bc36aeff2948a</guid></item><item><title>Modules modified by Pasi Rastas</title><link>https://sourceforge.net/p/lepmap2/wiki/Modules/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v40
+++ v41
@@ -107,4 +107,4 @@

 Sketch how to convert a vcf file to linkage 

-&lt;code&gt; (cat pedigree_part.txt; awk -f vcf2posterior.awk data.vcf)|java -cp bin/ ParentCall data=- removeNonInformative=1|awk -f simpleConvert.awk|cut -f 3-|transpose_tab &amp;gt;genotypes.linkage
+&lt;code&gt; (cat pedigree_part.txt; awk -f vcf2posterior.awk data.vcf)|java -cp bin/ ParentCall data=- removeNonInformative=1|awk -f simpleConvert.awk|cut -f 3-|java -cp bin/ Transpose &amp;gt;genotypes.linkage
&lt;/code&gt;&lt;/code&gt;&lt;/pre&gt;&lt;code&gt;&lt;code&gt;
&lt;/code&gt;&lt;/code&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pasi Rastas</dc:creator><pubDate>Wed, 03 Feb 2016 13:15:13 -0000</pubDate><guid>https://sourceforge.net23fabd9ff573218417ec05b332697ffe994b3e7b</guid></item></channel></rss>