comparison merlin.xml @ 1:c88bc00301bf draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/merlin/ commit 81594f752b46ed1ca0b6613e6db1de742f6425d1"
author iuc
date Sat, 23 Oct 2021 21:43:12 +0000
parents 625146aa31d8
children eae84c835026
comparison
equal deleted inserted replaced
0:625146aa31d8 1:c88bc00301bf
1 <?xml version="1.0" encoding="utf-8"?> 1 <tool id="merlin" name="Tool for Linkage Analysis" version="@TOOL_VERSION@.2">
2 <tool id="merlin" name="Tool for Linkage Analysis" version="1.1.2.1"> 2 <macros>
3 <token name="@TOOL_VERSION@">1.1.2</token>
4 </macros>
5 <xrefs>
6 <xref type="bio.tools">merlin</xref>
7 </xrefs>
3 <requirements> 8 <requirements>
4 <requirement type="package" version="1.1.2">merlin</requirement> 9 <requirement type="package" version="@TOOL_VERSION@">merlin</requirement>
5 </requirements> 10 </requirements>
6 <command detect_errors="exit_code"><![CDATA[ 11 <command detect_errors="exit_code"><![CDATA[
7 merlin -p '$pname' -m '$mname' -d '$dname' --quiet --error --best --npl '$markerNames' 12 merlin -p '$pname' -m '$mname' -d '$dname' --quiet --error --best --npl '$markerNames'
8 13
9 #if $minStep 14 #if $minStep
43 #elif $allelefrequency.allelefreq.value == "equal": 48 #elif $allelefrequency.allelefreq.value == "equal":
44 -fe 49 -fe
45 #elif $allelefrequency.allelefreq.value == "file": 50 #elif $allelefrequency.allelefreq.value == "file":
46 -f '$allelefrequency.file' 51 -f '$allelefrequency.file'
47 #end if 52 #end if
48 53
49 > '$merlinoutput' 54 > '$merlinoutput'
50 ]]></command> 55 ]]></command>
51 <inputs> 56 <inputs>
52 <!-- Select input data file --> 57 <!-- Select input data file -->
53 <param name="pname" type="data" format="txt" label="Entering Data File" help="Selects input data file, in linkage or QTDT format" /> 58 <param name="pname" type="data" format="txt" label="Entering Data File" help="Selects input data file, in linkage or QTDT format" />
54 <!-- Select input map file --> 59 <!-- Select input map file -->
55 <param name="mname" type="data" format="txt" label="Entering Map File" help="File indicating chromosome and centimorgan position for each marker. Use with QTDT format input files." /> 60 <param name="mname" type="data" format="txt" label="Entering Map File" help="File indicating chromosome and centimorgan position for each marker. Use with QTDT format input files." />
56 <!-- Select input pedigree file --> 61 <!-- Select input pedigree file -->
57 <param name="dname" type="data" format="txt" label="Entering Pedigree File" help="Selects pedigree file, with genotype, phenotype and family structure information" /> 62 <param name="dname" type="data" format="txt" label="Entering Pedigree File" help="Selects pedigree file, with genotype, phenotype and family structure information" />
58 <!-- Beginning of the optional parameters --> 63 <!-- Beginning of the optional parameters -->
59 <param name="markerNames" type="boolean" truevalue="--markerNames" falsevalue="" optional="true" label="For Marker Serial Optional Parameter" help="Useful to eliminate numbers in positions and introduce serial of MRK Number instead." /> 64 <param name="markerNames" type="boolean" truevalue="--markerNames" falsevalue="" optional="true" label="For Marker Serial Optional Parameter" help="Useful to eliminate numbers in positions and introduce serial of MRK Number instead." />
60 <param name="minStep" type="float" optional="true" label="For Minimum Step Optional Parameter" help="Useful to find the minimum value" /> 65 <param name="minStep" type="float" optional="true" label="For Minimum Step Optional Parameter" help="Useful to find the minimum value" />
61 <param name="maxStep" type="float" optional="true" label="For Maximum Step Optional Paramter" help="Useful to find the maximum value" /> 66 <param name="maxStep" type="float" optional="true" label="For Maximum Step Optional Paramter" help="Useful to find the maximum value" />
62 <param name="steps" type="integer" min="0" optional="true" label="n equally spaced locations" help="Carry out analyses at n equally spaced locations to analyse between consecutive markers" /> 67 <param name="steps" type="integer" min="0" optional="true" label="n equally spaced locations" help="Carry out analyses at n equally spaced locations to analyse between consecutive markers" />
63 <param name="grid" type="integer" min="0" optional="true" label="n-cM grid of equally spaced locations" help="Carry out analysis along an n-cM grid of equally spaced locations" /> 68 <param name="grid" type="integer" min="0" optional="true" label="n-cM grid of equally spaced locations" help="Carry out analysis along an n-cM grid of equally spaced locations" />
64 <param name="start" type="integer" min="0" optional="true" label="Start analyses" help="Start analyses at pos centiMorgans." /> 69 <param name="start" type="integer" min="0" optional="true" label="Start analyses" help="Start analyses at pos centiMorgans." />
65 <param name="stop" type="integer" min="0" optional="true" label="Stop analyses" help="Stop analyses at pos centiMorgans." /> 70 <param name="stop" type="integer" min="0" optional="true" label="Stop analyses" help="Stop analyses at pos centiMorgans." />
66 <param name="randomseed" type="integer" min="0" optional="true" label="Random Sequence" help="Selects a different random sequence for simulation and sampling of haplotypes." /> 71 <param name="randomseed" type="integer" min="0" optional="true" label="Random Sequence" help="Selects a different random sequence for simulation and sampling of haplotypes." />
67 <!-- Beginning of the conditional parameters --> 72 <!-- Beginning of the conditional parameters -->
68 <conditional name="allelefrequency"> 73 <conditional name="allelefrequency">
69 <param name="allelefreq" type="select" label="Source for allele frequency information" help="Allele frequencies can be set in one of the four options."> 74 <param name="allelefreq" type="select" label="Source for allele frequency information" help="Allele frequencies can be set in one of the four options.">
70 <option value="maxlike"> Maximum Likelihood </option> 75 <option value="maxlike"> Maximum Likelihood </option>
71 <option value="founders"> Founders </option> 76 <option value="founders"> Founders </option>
72 <option value="individuals">All Individuals</option> 77 <option value="individuals">All Individuals</option>
73 <option value="equal">Assume Equal</option> 78 <option value="equal">Assume Equal</option>
74 <option value="file">User File</option> 79 <option value="file">User File</option>
75 </param> 80 </param>
76 <when value="maxlike"> 81 <when value="maxlike">
77 <!-- Nothing to be added. --> 82 <!-- Nothing to be added. -->
78 </when> 83 </when>
79 <when value="founders"> 84 <when value="founders">
80 <!-- Nothing to be added. --> 85 <!-- Nothing to be added. -->
81 </when> 86 </when>
82 <when value="individuals"> 87 <when value="individuals">
83 <!-- Nothing to be added. --> 88 <!-- Nothing to be added. -->
84 </when> 89 </when>
85 <when value="equal"> 90 <when value="equal">
86 <!-- Nothing to be added. --> 91 <!-- Nothing to be added. -->
87 </when> 92 </when>
88 <when value="file"> 93 <when value="file">
89 <param name="file" type="data" format="tabular" label="User Specified file for Allele frequencies" help="Source for allele frequency information."/> 94 <param name="file" type="data" format="tabular" label="User Specified file for Allele frequencies" help="Source for allele frequency information."/>
90 </when> 95 </when>
91 </conditional> 96 </conditional>
92 </inputs> 97 </inputs>
93 <outputs> 98 <outputs>
94 <!-- Set of outputs along with the formats. --> 99 <!-- Set of outputs along with the formats. -->
95 <data name="errors" format="txt" from_work_dir="merlin.err" /> 100 <data name="errors" format="txt" from_work_dir="merlin.err" />
96 <data name="flow" format="txt" from_work_dir="merlin.flow" /> 101 <data name="flow" format="txt" from_work_dir="merlin.flow" />
97 <data name="chromosome" format="txt" from_work_dir="merlin.chr" /> 102 <data name="chromosome" format="txt" from_work_dir="merlin.chr" />
98 <data name="merlinoutput" format="lod" /> 103 <data name="merlinoutput" format="txt" />
99 </outputs> 104 </outputs>
100 <tests> 105 <tests>
101 <test> 106 <test>
102 <!-- No optional parameters used in this test but testing a conditional parameter and random value. --> 107 <!-- No optional parameters used in this test but testing a conditional parameter and random value. -->
103 <param name="pname" value="parametric.ped"/> 108 <param name="pname" value="parametric.ped"/>
104 <param name="mname" value="parametric.map"/> 109 <param name="mname" value="parametric.map"/>
105 <param name="dname" value="parametric.dat"/> 110 <param name="dname" value="parametric.dat"/>
106 <param name="allelefreq" value="file"/> 111 <param name="allelefreq" value="file"/>
107 <param name="file" value="alle.txt" /> 112 <param name="file" value="alle.txt" />
108 <param name="randomseed" value="2" /> 113 <param name="randomseed" value="2" />
109 <output name="merlinoutput"> 114 <output name="merlinoutput">
110 <assert_contents> 115 <assert_contents>
111 <has_text text="MRK1 MRK2 MRK3 MRK4 MRK5 MRK6 MRK7 MRK8 MRK9 MRK10" /> 116 <has_text text="MRK1 MRK2 MRK3 MRK4 MRK5 MRK6 MRK7 MRK8 MRK9 MRK10" />
112 <not_has_text text="--minStep [2]" /> 117 <not_has_text text="--minStep [2]" />
113 <has_line line="Phenotype: VERY_RARE_DISEASE [ALL] (1 family)" /> 118 <has_line line="Phenotype: VERY_RARE_DISEASE [ALL] (1 family)" />
114 </assert_contents> 119 </assert_contents>
115 </output> 120 </output>
116 <output name="chromosome"> 121 <output name="chromosome">
117 <assert_contents> 122 <assert_contents>
118 <has_text text="FAMILY 1 [Most Likely]" /> 123 <has_text text="FAMILY 1 [Most Likely]" />
119 <has_text text="208 (F) 207 (102,101) 305 (208,207) 202 (102,101)" /> 124 <has_text text="208 (F) 207 (102,101) 305 (208,207) 202 (102,101)" />
120 <has_text text="4 : 1 4 : 1 3 : 3 3 : 3" /> 125 <has_text text="4 : 1 4 : 1 3 : 3 3 : 3" />
121 </assert_contents> 126 </assert_contents>
122 </output> 127 </output>
123 <output name="flow"> 128 <output name="flow">
124 <assert_contents> 129 <assert_contents>
125 <has_text text="FAMILY 1 [Most Likely]" /> 130 <has_text text="FAMILY 1 [Most Likely]" />
126 <has_text text="101 (F) 102 (F) 201 (F) 203 (F)" /> 131 <has_text text="101 (F) 102 (F) 201 (F) 203 (F)" />
127 <has_text text="A : B C : D E : F G : H" /> 132 <has_text text="A : B C : D E : F G : H" />
128 </assert_contents> 133 </assert_contents>
129 </output> 134 </output>
130 <output name="errors"> 135 <output name="errors">
131 <assert_contents> 136 <assert_contents>
132 <has_text text="FAMILY PERSON MARKER RATIO" /> 137 <has_text text="FAMILY PERSON MARKER RATIO" />
133 </assert_contents> 138 </assert_contents>
134 </output> 139 </output>
135 </test> 140 </test>
136 <test> 141 <test>
137 <!-- This test uses markerNames optional parameter and maxlike option in this test case leads to error. --> 142 <!-- This test uses markerNames optional parameter and maxlike option in this test case leads to error. -->
138 <param name="pname" value="x.ped"/> 143 <param name="pname" value="x.ped"/>
139 <param name="mname" value="x.map"/> 144 <param name="mname" value="x.map"/>
140 <param name="dname" value="x.dat"/> 145 <param name="dname" value="x.dat"/>
141 <param name="markerNames" value="true" /> 146 <param name="markerNames" value="true" />
142 <!-- Selecting allele frequency can be estimated by counting in founders. --> 147 <!-- Selecting allele frequency can be estimated by counting in founders. -->
143 <param name="allelefreq" value="founders"/> 148 <param name="allelefreq" value="founders"/>
144 <param name="randomseed" value="6" /> 149 <param name="randomseed" value="6" />
145 <output name="merlinoutput"> 150 <output name="merlinoutput">
146 <assert_contents> 151 <assert_contents>
147 <has_text text= "MRK1 MRK2 MRK3 MRK4 MRK5 MRK6 MRK7 MRK8 MRK9 MRK10" /> 152 <has_text text= "MRK1 MRK2 MRK3 MRK4 MRK5 MRK6 MRK7 MRK8 MRK9 MRK10" />
148 <has_text text= "Family: 1 - Founders: 2 - Descendants: 2 - Bits: 2" /> 153 <has_text text= "Family: 1 - Founders: 2 - Descendants: 2 - Bits: 2" />
149 <has_text text="Family: 2 - Founders: 2 - Descendants: 2 - Bits: 2" /> 154 <has_text text="Family: 2 - Founders: 2 - Descendants: 2 - Bits: 2" />
150 <has_text text= "Family: 3 - Founders: 2 - Descendants: 2 - Bits: 2" /> 155 <has_text text= "Family: 3 - Founders: 2 - Descendants: 2 - Bits: 2" />
151 <has_text text= "Family: 4 - Founders: 2 - Descendants: 2 - Bits: 2" /> 156 <has_text text= "Family: 4 - Founders: 2 - Descendants: 2 - Bits: 2" />
152 <has_text text= "Family: 5 - Founders: 2 - Descendants: 2 - Bits: 2" /> 157 <has_text text= "Family: 5 - Founders: 2 - Descendants: 2 - Bits: 2" />
153 <not_has_text text="--minStep [2]" /> 158 <not_has_text text="--minStep [2]" />
154 </assert_contents> 159 </assert_contents>
155 </output> 160 </output>
156 <output name="chromosome"> 161 <output name="chromosome">
157 <assert_contents> 162 <assert_contents>
158 <has_text text="FAMILY 5 [Most Likely]" /> 163 <has_text text="FAMILY 5 [Most Likely]" />
159 <has_text text="1 (F) 2 (F) 4 (2,1) 3 (2,1)" /> 164 <has_text text="1 (F) 2 (F) 4 (2,1) 3 (2,1)" />
160 <has_text text="2 : 2 4 : 2 4 : 2 2 : 2" /> 165 <has_text text="2 : 2 4 : 2 4 : 2 2 : 2" />
161 </assert_contents> 166 </assert_contents>
162 </output> 167 </output>
163 <output name="flow"> 168 <output name="flow">
164 <assert_contents> 169 <assert_contents>
165 <has_text text="FAMILY 5 [Most Likely]" /> 170 <has_text text="FAMILY 5 [Most Likely]" />
166 <has_text text="1 (F) 2 (F) 4 (2,1) 3 (2,1)" /> 171 <has_text text="1 (F) 2 (F) 4 (2,1) 3 (2,1)" />
167 <has_text text="A : B C : D C : A D : A" /> 172 <has_text text="A : B C : D C : A D : A" />
168 </assert_contents> 173 </assert_contents>
169 </output> 174 </output>
170 <output name="errors"> 175 <output name="errors">
171 <assert_contents> 176 <assert_contents>
172 <has_text text="FAMILY PERSON MARKER RATIO" /> 177 <has_text text="FAMILY PERSON MARKER RATIO" />
173 </assert_contents> 178 </assert_contents>
174 </output> 179 </output>
175 </test> 180 </test>
176 <test> 181 <test>
177 <!-- This test uses minStep optional parameter --> 182 <!-- This test uses minStep optional parameter -->
178 <param name="pname" value="haplo.ped"/> 183 <param name="pname" value="haplo.ped"/>
179 <param name="mname" value="haplo.map"/> 184 <param name="mname" value="haplo.map"/>
180 <param name="dname" value="haplo.dat"/> 185 <param name="dname" value="haplo.dat"/>
181 <!-- Selecting allele frequency can be estimated by counting in all individuals. --> 186 <!-- Selecting allele frequency can be estimated by counting in all individuals. -->
182 <param name="allelefreq" value="individuals"/> 187 <param name="allelefreq" value="individuals"/>
183 <param name="minStep" value="2" /> 188 <param name="minStep" value="2" />
184 <param name="randomseed" value="5" /> 189 <param name="randomseed" value="5" />
185 <output name="merlinoutput"> 190 <output name="merlinoutput">
186 <assert_contents> 191 <assert_contents>
187 <has_text text= "SNP-1 SNP-2 SNP-3" /> 192 <has_text text= "SNP-1 SNP-2 SNP-3" />
188 <has_text text= "--minStep [2.00]" /> 193 <has_text text= "--minStep [2.00]" />
189 <not_has_text text="--markerNames [ON]" /> 194 <not_has_text text="--markerNames [ON]" />
190 </assert_contents> 195 </assert_contents>
191 </output> 196 </output>
192 <output name="chromosome"> 197 <output name="chromosome">
193 <assert_contents> 198 <assert_contents>
194 <has_text text="FAMILY 3 [Most Likely]" /> 199 <has_text text="FAMILY 3 [Most Likely]" />
195 <has_text text="1 (F) 2 (F) 3 (2,1)" /> 200 <has_text text="1 (F) 2 (F) 3 (2,1)" />
196 <has_text text="1,2A : A2,1 2,1A : A1,2 2,1A | A1,2" /> 201 <has_text text="1,2A : A2,1 2,1A : A1,2 2,1A | A1,2" />
197 </assert_contents> 202 </assert_contents>
198 </output> 203 </output>
199 <output name="flow"> 204 <output name="flow">
200 <assert_contents> 205 <assert_contents>
201 <has_text text="FAMILY 3 [Most Likely]" /> 206 <has_text text="FAMILY 3 [Most Likely]" />
202 <has_text text="1 (F) 2 (F) 3 (2,1)" /> 207 <has_text text="1 (F) 2 (F) 3 (2,1)" />
203 <has_text text="A : B C : D C : A" /> 208 <has_text text="A : B C : D C : A" />
204 </assert_contents> 209 </assert_contents>
205 </output> 210 </output>
206 <output name="errors"> 211 <output name="errors">
207 <assert_contents> 212 <assert_contents>
208 <has_text text="FAMILY PERSON MARKER RATIO" /> 213 <has_text text="FAMILY PERSON MARKER RATIO" />
209 </assert_contents> 214 </assert_contents>
210 </output> 215 </output>
211 </test> 216 </test>
212 <test> 217 <test>
213 <!--This test uses steps optinal parameter --> 218 <!--This test uses steps optinal parameter -->
214 <param name="pname" value="asp.ped"/> 219 <param name="pname" value="asp.ped"/>
215 <param name="mname" value="asp.map"/> 220 <param name="mname" value="asp.map"/>
216 <param name="dname" value="asp.dat"/> 221 <param name="dname" value="asp.dat"/>
217 <!-- Selecting allele frequency can be estimated by assuming equal allele frequencies. --> 222 <!-- Selecting allele frequency can be estimated by assuming equal allele frequencies. -->
218 <param name="allelefreq" value="equal"/> 223 <param name="allelefreq" value="equal"/>
219 <param name="steps" value="3" /> 224 <param name="steps" value="3" />
220 <output name="merlinoutput"> 225 <output name="merlinoutput">
221 <assert_contents> 226 <assert_contents>
222 <has_text text= "Phenotype: affection [ALL] (200 families)" /> 227 <has_text text= "Phenotype: affection [ALL] (200 families)" />
223 <has_text text= "--steps [3]" /> 228 <has_text text= "--steps [3]" />
224 <not_has_text text="--markerNames [ON]" /> 229 <not_has_text text="--markerNames [ON]" />
225 <not_has_text text="--minStep [2.00]" /> 230 <not_has_text text="--minStep [2.00]" />
226 </assert_contents> 231 </assert_contents>
227 </output> 232 </output>
228 <output name="chromosome"> 233 <output name="chromosome">
229 <assert_contents> 234 <assert_contents>
230 <has_text text= "FAMILY 200 [Most Likely]" /> 235 <has_text text= "FAMILY 200 [Most Likely]" />
231 <has_text text= "1 (F) 2 (F) 4 (2,1) 3 (2,1)" /> 236 <has_text text= "1 (F) 2 (F) 4 (2,1) 3 (2,1)" />
232 <has_text text= "4 : 1 4 : 1 4 : 4 1 : 1" /> 237 <has_text text= "4 : 1 4 : 1 4 : 4 1 : 1" />
233 <has_text text=" 3,4A : 3 4,3A : 3 4,3A | A3,4 3 | 3" /> 238 <has_text text=" 3,4A : 3 4,3A : 3 4,3A | A3,4 3 | 3" />
234 <has_text text="2,4A : B4,1 4,2A : B1,4 4,2A | A2,4 1,4B | B4,1" /> 239 <has_text text="2,4A : B4,1 4,2A : B1,4 4,2A | A2,4 1,4B | B4,1" />
235 </assert_contents> 240 </assert_contents>
236 </output> 241 </output>
237 <output name="flow"> 242 <output name="flow">
238 <assert_contents> 243 <assert_contents>
239 <has_text text= "FAMILY 200 [Most Likely]" /> 244 <has_text text= "FAMILY 200 [Most Likely]" />
240 <has_text text= "1 (F) 2 (F) 4 (2,1) 3 (2,1)" /> 245 <has_text text= "1 (F) 2 (F) 4 (2,1) 3 (2,1)" />
241 <has_text text= "A : B C : D C : A C : A" /> 246 <has_text text= "A : B C : D C : A C : A" />
242 <has_text text="A : B C : D C | A C | A" /> 247 <has_text text="A : B C : D C | A C | A" />
243 <has_text text="A : B C : D C | A C | A" /> 248 <has_text text="A : B C : D C | A C | A" />
244 </assert_contents> 249 </assert_contents>
245 </output> 250 </output>
246 <output name="errors"> 251 <output name="errors">
247 <assert_contents> 252 <assert_contents>
248 <has_text text="FAMILY PERSON MARKER RATIO" /> 253 <has_text text="FAMILY PERSON MARKER RATIO" />
249 </assert_contents> 254 </assert_contents>
250 </output> 255 </output>
251 </test> 256 </test>
252 <test> 257 <test>
253 <!-- This test uses grid optional parameter --> 258 <!-- This test uses grid optional parameter -->
254 <param name="pname" value="sibs.ped"/> 259 <param name="pname" value="sibs.ped"/>
255 <param name="mname" value="sibs.map"/> 260 <param name="mname" value="sibs.map"/>
256 <param name="dname" value="sibs.dat"/> 261 <param name="dname" value="sibs.dat"/>
257 <param name="allelefreq" value="maxlike"/> 262 <param name="allelefreq" value="maxlike"/>
258 <param name="grid" value="3" /> 263 <param name="grid" value="3" />
259 <output name="merlinoutput"> 264 <output name="merlinoutput">
260 <assert_contents> 265 <assert_contents>
261 <has_text text= "SNP_1 SNP_2 SNP_3" /> 266 <has_text text= "SNP_1 SNP_2 SNP_3" />
262 <has_text text= "Family: 29 - Founders: 2 - Descendants: 4 - Bits: 6" /> 267 <has_text text= "Family: 29 - Founders: 2 - Descendants: 4 - Bits: 6" />
263 <has_text text= "--grid [3.00]" /> 268 <has_text text= "--grid [3.00]" />
264 <not_has_text text="--markerNames [ON]" /> 269 <not_has_text text="--markerNames [ON]" />
265 <not_has_text text="--minStep [2.00]" /> 270 <not_has_text text="--minStep [2.00]" />
266 </assert_contents> 271 </assert_contents>
267 </output> 272 </output>
268 <output name="chromosome"> 273 <output name="chromosome">
269 <assert_contents> 274 <assert_contents>
270 <has_text text="FAMILY 50 [Most Likely]" /> 275 <has_text text="FAMILY 50 [Most Likely]" />
271 <has_text text="1 (F) 2 (F) 6 (2,1) 5 (2,1)" /> 276 <has_text text="1 (F) 2 (F) 6 (2,1) 5 (2,1)" />
272 <has_text text="2 : 2 1 : 2 1 : 2 2 : 2" /> 277 <has_text text="2 : 2 1 : 2 1 : 2 2 : 2" />
273 <has_text text="2 : 1 1 : 1 1 | 2 1 | 1" /> 278 <has_text text="2 : 1 1 : 1 1 | 2 1 | 1" />
274 <has_text text="2 : 1 1 : 1 1 | 2 1 | 1" /> 279 <has_text text="2 : 1 1 : 1 1 | 2 1 | 1" />
275 </assert_contents> 280 </assert_contents>
276 </output> 281 </output>
277 <output name="flow"> 282 <output name="flow">
278 <assert_contents> 283 <assert_contents>
279 <has_text text="FAMILY 50 [Most Likely]" /> 284 <has_text text="FAMILY 50 [Most Likely]" />
280 <has_text text="1 (F) 2 (F) 6 (2,1) 5 (2,1)" /> 285 <has_text text="1 (F) 2 (F) 6 (2,1) 5 (2,1)" />
281 <has_text text="A : B C : D C : A C : B" /> 286 <has_text text="A : B C : D C : A C : B" />
282 <has_text text="A : B C : D C | A C | B" /> 287 <has_text text="A : B C : D C | A C | B" />
283 <has_text text="A : B C : D C | A C | B" /> 288 <has_text text="A : B C : D C | A C | B" />
284 </assert_contents> 289 </assert_contents>
285 </output> 290 </output>
286 <output name="errors"> 291 <output name="errors">
287 <assert_contents> 292 <assert_contents>
288 <has_text text="29 4 SNP_1" /> 293 <has_text text="29 4 SNP_1" />
289 <has_text text="29 4 SNP_3" /> 294 <has_text text="29 4 SNP_3" />
290 <has_text text="29 5 SNP_3" /> 295 <has_text text="29 5 SNP_3" />
291 <has_text text="29 6 SNP_3" /> 296 <has_text text="29 6 SNP_3" />
292 </assert_contents> 297 </assert_contents>
293 </output> 298 </output>
294 </test> 299 </test>
295 <test> 300 <test>
296 <!-- This test uses start optional parameter along with a conditional parameter --> 301 <!-- This test uses start optional parameter along with a conditional parameter -->
297 <param name="pname" value="assoc.ped"/> 302 <param name="pname" value="assoc.ped"/>
298 <param name="mname" value="assoc.map"/> 303 <param name="mname" value="assoc.map"/>
299 <param name="dname" value="assoc.dat"/> 304 <param name="dname" value="assoc.dat"/>
300 <param name="allelefreq" value="founders"/> 305 <param name="allelefreq" value="founders"/>
301 <param name="start" value="2" /> 306 <param name="start" value="2" />
302 <output name="merlinoutput"> 307 <output name="merlinoutput">
303 <assert_contents> 308 <assert_contents>
304 <has_text text= "--start [2.00]" /> 309 <has_text text= "--start [2.00]" />
305 <not_has_text text="--markerNames [ON]" /> 310 <not_has_text text="--markerNames [ON]" />
306 <not_has_text text="--minStep [2.00]" /> 311 <not_has_text text="--minStep [2.00]" />
307 </assert_contents> 312 </assert_contents>
308 </output> 313 </output>
309 <output name="chromosome"> 314 <output name="chromosome">
310 <assert_contents> 315 <assert_contents>
311 <has_text text="6 (2,1) 5 (2,1) 4 (2,1) 3 (2,1)" /> 316 <has_text text="6 (2,1) 5 (2,1) 4 (2,1) 3 (2,1)" />
312 <has_text text="3 : 3 3 : 3 3 : 1 3 : 1" /> 317 <has_text text="3 : 3 3 : 3 3 : 1 3 : 1" />
313 <has_text text="2 | 2 2 | 2 2 | 3 2 | 3" /> 318 <has_text text="2 | 2 2 | 2 2 | 3 2 | 3" />
314 </assert_contents> 319 </assert_contents>
315 </output> 320 </output>
316 <output name="flow"> 321 <output name="flow">
317 <assert_contents> 322 <assert_contents>
318 <has_text text="6 (2,1) 5 (2,1) 4 (2,1) 3 (2,1)" /> 323 <has_text text="6 (2,1) 5 (2,1) 4 (2,1) 3 (2,1)" />
319 <has_text text="E : A E : A G : C E : C" /> 324 <has_text text="E : A E : A G : C E : C" />
320 <has_text text="E | A E | A G | C E | C" /> 325 <has_text text="E | A E | A G | C E | C" />
321 </assert_contents> 326 </assert_contents>
322 </output> 327 </output>
323 <output name="errors"> 328 <output name="errors">
324 <assert_contents> 329 <assert_contents>
325 <has_text text="FAMILY PERSON MARKER RATIO" /> 330 <has_text text="FAMILY PERSON MARKER RATIO" />
326 </assert_contents> 331 </assert_contents>
327 </output> 332 </output>
328 </test> 333 </test>
329 <test> 334 <test>
330 <!-- This test uses random optional parameter along with a conditional parameter. --> 335 <!-- This test uses random optional parameter along with a conditional parameter. -->
331 <param name="pname" value="basic2.ped"/> 336 <param name="pname" value="basic2.ped"/>
332 <param name="mname" value="basic2.map"/> 337 <param name="mname" value="basic2.map"/>
333 <param name="dname" value="basic2.dat"/> 338 <param name="dname" value="basic2.dat"/>
334 <param name="allelefreq" value="individuals"/> 339 <param name="allelefreq" value="individuals"/>
335 <param name="random" value="5" /> 340 <param name="random" value="5" />
336 <output name="merlinoutput"> 341 <output name="merlinoutput">
337 <assert_contents> 342 <assert_contents>
338 <has_text text= "Phenotype: some_disease [ALL] (1 family)" /> 343 <has_text text= "Phenotype: some_disease [ALL] (1 family)" />
339 <has_text text= "Pos Zmean pvalue delta LOD pvalue" /> 344 <has_text text= "Pos Zmean pvalue delta LOD pvalue" />
340 <not_has_text text="--markerNames [ON]" /> 345 <not_has_text text="--markerNames [ON]" />
341 <not_has_text text="--minStep [2.00]" /> 346 <not_has_text text="--minStep [2.00]" />
342 </assert_contents> 347 </assert_contents>
343 </output> 348 </output>
344 <output name="chromosome"> 349 <output name="chromosome">
345 <assert_contents> 350 <assert_contents>
346 <has_text text="1 (F) 2 (F) 3 (F) 4 (2,1)" /> 351 <has_text text="1 (F) 2 (F) 3 (F) 4 (2,1)" />
347 <has_text text="3 : 3 4 : 4 2 : 1 4 : 3" /> 352 <has_text text="3 : 3 4 : 4 2 : 1 4 : 3" />
348 <has_text text="2 : ? 2 : ? 2 : 2 2 | 2" /> 353 <has_text text="2 : ? 2 : ? 2 : 2 2 | 2" />
349 </assert_contents> 354 </assert_contents>
350 </output> 355 </output>
351 <output name="flow"> 356 <output name="flow">
352 <assert_contents> 357 <assert_contents>
353 <has_text text="FAMILY 1 [Most Likely]" /> 358 <has_text text="FAMILY 1 [Most Likely]" />
354 <has_text text="1 (F) 2 (F) 3 (F) 4 (2,1)" /> 359 <has_text text="1 (F) 2 (F) 3 (F) 4 (2,1)" />
355 <has_text text="A : B C : D E : F C : A" /> 360 <has_text text="A : B C : D E : F C : A" />
356 </assert_contents> 361 </assert_contents>
357 </output> 362 </output>
358 <output name="errors"> 363 <output name="errors">
359 <assert_contents> 364 <assert_contents>
360 <has_text text="FAMILY PERSON MARKER RATIO" /> 365 <has_text text="FAMILY PERSON MARKER RATIO" />
361 </assert_contents> 366 </assert_contents>
362 </output> 367 </output>
363 </test> 368 </test>
364 <test> 369 <test>
365 <!-- This test uses two optional parameters along with a conditional parameter. --> 370 <!-- This test uses two optional parameters along with a conditional parameter. -->
366 <param name="pname" value="error.ped"/> 371 <param name="pname" value="error.ped"/>
367 <param name="mname" value="error.map"/> 372 <param name="mname" value="error.map"/>
368 <param name="dname" value="error.dat"/> 373 <param name="dname" value="error.dat"/>
369 <param name="allelefreq" value="equal"/> 374 <param name="allelefreq" value="equal"/>
370 <param name="start" value="3" /> 375 <param name="start" value="3" />
371 <param name="markerNames" value="true" /> 376 <param name="markerNames" value="true" />
372 <output name="merlinoutput"> 377 <output name="merlinoutput">
373 <assert_contents> 378 <assert_contents>
374 <has_text text= "Family: 2 - Founders: 2 - Descendants: 2 - Bits: 2" /> 379 <has_text text= "Family: 2 - Founders: 2 - Descendants: 2 - Bits: 2" />
375 <has_text text= "Family: 73 - Founders: 2 - Descendants: 2 - Bits: 2" /> 380 <has_text text= "Family: 73 - Founders: 2 - Descendants: 2 - Bits: 2" />
376 <has_text text= "Family: 81 - Founders: 2 - Descendants: 2 - Bits: 2" /> 381 <has_text text= "Family: 81 - Founders: 2 - Descendants: 2 - Bits: 2" />
377 <has_text text= "Family: 94 - Founders: 2 - Descendants: 2 - Bits: 2" /> 382 <has_text text= "Family: 94 - Founders: 2 - Descendants: 2 - Bits: 2" />
378 <has_text text= "Family: 136 - Founders: 2 - Descendants: 2 - Bits: 2" /> 383 <has_text text= "Family: 136 - Founders: 2 - Descendants: 2 - Bits: 2" />
379 <has_text text= "Family: 162 - Founders: 2 - Descendants: 2 - Bits: 2" /> 384 <has_text text= "Family: 162 - Founders: 2 - Descendants: 2 - Bits: 2" />
380 <has_text text= "Family: 164 - Founders: 2 - Descendants: 2 - Bits: 2" /> 385 <has_text text= "Family: 164 - Founders: 2 - Descendants: 2 - Bits: 2" />
381 <has_text text= "--start [3.00]" /> 386 <has_text text= "--start [3.00]" />
382 <has_text text="--markerNames [ON]" /> 387 <has_text text="--markerNames [ON]" />
383 <not_has_text text="--minStep [2.00]" /> 388 <not_has_text text="--minStep [2.00]" />
384 </assert_contents> 389 </assert_contents>
385 </output> 390 </output>
386 <output name="chromosome"> 391 <output name="chromosome">
387 <assert_contents> 392 <assert_contents>
388 <has_text text="FAMILY 200 [Most Likely]" /> 393 <has_text text="FAMILY 200 [Most Likely]" />
389 <has_text text="1 (F) 2 (F) 4 (2,1) 3 (2,1)" /> 394 <has_text text="1 (F) 2 (F) 4 (2,1) 3 (2,1)" />
390 <has_text text="4 : 1 4 : 1 4 : 4 1 : 1" /> 395 <has_text text="4 : 1 4 : 1 4 : 4 1 : 1" />
391 <has_text text="3,4A : 3 4,3A : 3 4,3A | A3,4 3 | 3" /> 396 <has_text text="3,4A : 3 4,3A : 3 4,3A | A3,4 3 | 3" />
392 <has_text text="2,4A : B4,1 4,2A : B1,4 4,2A | A2,4 1,4B | B4,1" /> 397 <has_text text="2,4A : B4,1 4,2A : B1,4 4,2A | A2,4 1,4B | B4,1" />
393 </assert_contents> 398 </assert_contents>
394 </output> 399 </output>
395 <output name="flow"> 400 <output name="flow">
396 <assert_contents> 401 <assert_contents>
397 <has_text text="FAMILY 200 [Most Likely]" /> 402 <has_text text="FAMILY 200 [Most Likely]" />
398 <has_text text=" A : B C : D C : A D : B" /> 403 <has_text text=" A : B C : D C : A D : B" />
399 <has_text text="A : B C : D C | A D | B" /> 404 <has_text text="A : B C : D C | A D | B" />
400 <has_text text="A : B C : D C | A D | B" /> 405 <has_text text="A : B C : D C | A D | B" />
401 <has_text text="A : B C : D C | A D \ A" /> 406 <has_text text="A : B C : D C | A D \ A" />
402 </assert_contents> 407 </assert_contents>
403 </output> 408 </output>
404 <output name="errors"> 409 <output name="errors">
405 <assert_contents> 410 <assert_contents>
406 <has_text text="2 3 MRK11 0.00352" /> 411 <has_text text="2 3 MRK11 0.00352" />
407 <has_text text="2 4 MRK11 0.00352" /> 412 <has_text text="2 4 MRK11 0.00352" />
408 <has_text text="73 3 MRK17 0.00983" /> 413 <has_text text="73 3 MRK17 0.00983" />
409 <has_text text="73 4 MRK17 0.00983" /> 414 <has_text text="73 4 MRK17 0.00983" />
410 </assert_contents> 415 </assert_contents>
411 </output> 416 </output>
412 </test> 417 </test>
413 <test> 418 <test>
414 <!-- This test uses three optional parameters along with a conditional parameter. --> 419 <!-- This test uses three optional parameters along with a conditional parameter. -->
415 <param name="pname" value="gene.ped"/> 420 <param name="pname" value="gene.ped"/>
416 <param name="mname" value="gene.map"/> 421 <param name="mname" value="gene.map"/>
417 <param name="dname" value="gene.dat"/> 422 <param name="dname" value="gene.dat"/>
418 <param name="steps" value="3" /> 423 <param name="steps" value="3" />
419 <param name="grid" value="2" /> 424 <param name="grid" value="2" />
420 <param name="stop" value="4" /> 425 <param name="stop" value="4" />
421 <param name="randomseed" value="5" /> 426 <param name="randomseed" value="5" />
422 <param name="allelefreq" value="founders"/> 427 <param name="allelefreq" value="founders"/>
423 <output name="merlinoutput"> 428 <output name="merlinoutput">
424 <assert_contents> 429 <assert_contents>
425 <has_text text= "SNP-1 SNP-2 SNP-3 SNP-4 SNP-5 SNP-6 SNP-7 SNP-8" /> 430 <has_text text= "SNP-1 SNP-2 SNP-3 SNP-4 SNP-5 SNP-6 SNP-7 SNP-8" />
426 <has_text text= "--stop [4.00]" /> 431 <has_text text= "--stop [4.00]" />
427 <has_text text= "--steps [3]" /> 432 <has_text text= "--steps [3]" />
428 <has_text text= "--grid [2.00]" /> 433 <has_text text= "--grid [2.00]" />
429 <not_has_text text="--markerNames [ON]" /> 434 <not_has_text text="--markerNames [ON]" />
430 <not_has_text text="--minStep [2.00]" /> 435 <not_has_text text="--minStep [2.00]" />
431 </assert_contents> 436 </assert_contents>
432 </output> 437 </output>
433 <output name="chromosome"> 438 <output name="chromosome">
434 <assert_contents> 439 <assert_contents>
435 <has_text text="FAMILY 12 [Most Likely]" /> 440 <has_text text="FAMILY 12 [Most Likely]" />
436 <has_text text="1 (F) 2 (F) 3 (F) 4 (F)" /> 441 <has_text text="1 (F) 2 (F) 3 (F) 4 (F)" />
437 <has_text text="6 (4,3) 5 (2,1) 8 (6,5) 7 (6,5)" /> 442 <has_text text="6 (4,3) 5 (2,1) 8 (6,5) 7 (6,5)" />
438 </assert_contents> 443 </assert_contents>
439 </output> 444 </output>
440 <output name="flow"> 445 <output name="flow">
441 <assert_contents> 446 <assert_contents>
442 <has_text text="6 (4,3) 5 (2,1) 8 (6,5) 7 (6,5)" /> 447 <has_text text="6 (4,3) 5 (2,1) 8 (6,5) 7 (6,5)" />
443 <has_text text="G : E C : A G : A G : A" /> 448 <has_text text="G : E C : A G : A G : A" />
444 <has_text text="G | E C | A G | A G | A" /> 449 <has_text text="G | E C | A G | A G | A" />
445 </assert_contents> 450 </assert_contents>
446 </output> 451 </output>
447 <output name="errors"> 452 <output name="errors">
448 <assert_contents> 453 <assert_contents>
449 <has_text text="FAMILY PERSON MARKER RATIO" /> 454 <has_text text="FAMILY PERSON MARKER RATIO" />
450 </assert_contents> 455 </assert_contents>
451 </output> 456 </output>
452 </test> 457 </test>
453 <test> 458 <test>
454 <!-- This test uses all of the optional parameters along with a conditional paramter. --> 459 <!-- This test uses all of the optional parameters along with a conditional paramter. -->
455 <param name="pname" value="snp-scan.ped"/> 460 <param name="pname" value="snp-scan.ped"/>
456 <param name="mname" value="snp-scan.map"/> 461 <param name="mname" value="snp-scan.map"/>
457 <param name="dname" value="snp-scan.dat"/> 462 <param name="dname" value="snp-scan.dat"/>
458 <param name="markerNames" value="true" /> 463 <param name="markerNames" value="true" />
459 <param name="minStep" value="5" /> 464 <param name="minStep" value="5" />
460 <param name="maxStep" value="6" /> 465 <param name="maxStep" value="6" />
461 <param name="steps" value="2" /> 466 <param name="steps" value="2" />
462 <param name="allelefreq" value="equal"/> 467 <param name="allelefreq" value="equal"/>
463 <param name="grid" value="4" /> 468 <param name="grid" value="4" />
464 <param name="start" value="2" /> 469 <param name="start" value="2" />
465 <param name="stop" value="3" /> 470 <param name="stop" value="3" />
466 <param name="randomseed" value="6" /> 471 <param name="randomseed" value="6" />
467 <output name="merlinoutput"> 472 <output name="merlinoutput">
468 <assert_contents> 473 <assert_contents>
469 <has_text text= "--markerNames [ON]" /> 474 <has_text text= "--markerNames [ON]" />
470 <has_text text= "--minStep [5.00]" /> 475 <has_text text= "--minStep [5.00]" />
471 <has_text text= "--maxStep [6.00]" /> 476 <has_text text= "--maxStep [6.00]" />
472 <has_text text= "--steps [2]" /> 477 <has_text text= "--steps [2]" />
473 <has_text text= "--grid [4.00]" /> 478 <has_text text= "--grid [4.00]" />
474 <has_text text= "--start [2.00]" /> 479 <has_text text= "--start [2.00]" />
475 <has_text text= "--stop [3.00]" /> 480 <has_text text= "--stop [3.00]" />
476 </assert_contents> 481 </assert_contents>
477 </output> 482 </output>
478 <output name="chromosome"> 483 <output name="chromosome">
479 <assert_contents> 484 <assert_contents>
480 <has_text text= "FAMILY 500 [Most Likely]" /> 485 <has_text text= "FAMILY 500 [Most Likely]" />
481 <has_text text= "3,1A : A1,3 1,3A : A3,1 1,3A | A3,1 3,1A | A1,3" /> 486 <has_text text= "3,1A : A1,3 1,3A : A3,1 1,3A | A3,1 3,1A | A1,3" />
482 <has_text text= "4,1A : A1,4 1,4A : A4,1 1,4A | A4,1 4,1A | A1,4" /> 487 <has_text text= "4,1A : A1,4 1,4A : A4,1 1,4A | A4,1 4,1A | A1,4" />
483 <has_text text= "4,1A : A1,4 1,4A : A4,1 1,4A | A4,1 4,1A | A1,4" /> 488 <has_text text= "4,1A : A1,4 1,4A : A4,1 1,4A | A4,1 4,1A | A1,4" />
484 <has_text text= "1,3A : A3,1 3,1A : A1,3 3,1A | A1,3 1,3A | A3,1" /> 489 <has_text text= "1,3A : A3,1 3,1A : A1,3 3,1A | A1,3 1,3A | A3,1" />
485 </assert_contents> 490 </assert_contents>
486 </output> 491 </output>
487 <output name="flow"> 492 <output name="flow">
488 <assert_contents> 493 <assert_contents>
489 <has_text text= "FAMILY 500 [Most Likely]" /> 494 <has_text text= "FAMILY 500 [Most Likely]" />
490 <has_text text= " 1 (F) 2 (F) 5 (2,1) 4 (2,1)" /> 495 <has_text text= " 1 (F) 2 (F) 5 (2,1) 4 (2,1)" />
491 <has_text text= " A : B C : D C : A D : B" /> 496 <has_text text= " A : B C : D C : A D : B" />
492 <has_text text= "A : B C : D C | A D | B" /> 497 <has_text text= "A : B C : D C | A D | B" />
493 <has_text text= "A : B C : D C | A D | B" /> 498 <has_text text= "A : B C : D C | A D | B" />
494 </assert_contents> 499 </assert_contents>
495 </output> 500 </output>
496 <output name="errors"> 501 <output name="errors">
497 <assert_contents> 502 <assert_contents>
498 <has_text text= "118 3 rs9510743 0.0239"/> 503 <has_text text= "118 3 rs9510743 0.0239"/>
499 <has_text text= "197 1 rs9580624 0.0230"/> 504 <has_text text= "197 1 rs9580624 0.0230"/>
500 <has_text text= "296 1 rs9510743 0.00914" /> 505 <has_text text= "296 1 rs9510743 0.00914" />
501 </assert_contents> 506 </assert_contents>
502 </output> 507 </output>
503 </test> 508 </test>
504 </tests> 509 </tests>
505 <help> 510 <help>
506 <![CDATA[ Finding disease genes using high-density single-nucleotide polymorphism (SNP) maps is a complicated task. By representing patterns of gene flow using sparse binary trees in general pedigrees using only the needed resources and then by deriving pedigree traversals algorithms, the likelihood calculations of the disease genes for the single marker or multi-marker can be carried out efficiently. 511 <![CDATA[ Finding disease genes using high-density single-nucleotide polymorphism (SNP) maps is a complicated task. By representing patterns of gene flow using sparse binary trees in general pedigrees using only the needed resources and then by deriving pedigree traversals algorithms, the likelihood calculations of the disease genes for the single marker or multi-marker can be carried out efficiently.
507 512
508 `Multipoint Engine for Rapid Likelihood Inference (Merlin) is a computer program that ignores the unlikely possibility of a large number of recombinants on a multipoint calculation. This choice of Merlin increases the speed for pedigree analysis with accurate results. 513 `Multipoint Engine for Rapid Likelihood Inference (Merlin) is a computer program that ignores the unlikely possibility of a large number of recombinants on a multipoint calculation. This choice of Merlin increases the speed for pedigree analysis with accurate results.
509 <http://csg.sph.umich.edu/abecasis/merlin/tour/linkage.html>`_ 514 <http://csg.sph.umich.edu/abecasis/merlin/tour/linkage.html>`_
510 515
511 `Merlin performs pedigree analysis by representing the gene flow in pedigrees using a sparse inheritance tree. It also performs rapid haplotyping, genotype error detection, and affected pair linkage analyses and can handle more markers than other pedigree analysis packages. <http://csg.sph.umich.edu/abecasis/merlin/tour/linkage.html>`_ 516 `Merlin performs pedigree analysis by representing the gene flow in pedigrees using a sparse inheritance tree. It also performs rapid haplotyping, genotype error detection, and affected pair linkage analyses and can handle more markers than other pedigree analysis packages. <http://csg.sph.umich.edu/abecasis/merlin/tour/linkage.html>`_
512 517
513 Information: 518 Information:
514 1. A pedigree is a genetic representation of a family tree that picturizes the inheritance of a trait or disease through several generations. 519 1. A pedigree is a genetic representation of a family tree that picturizes the inheritance of a trait or disease through several generations.
515 2. Gene Flow is the transfer of genetic variation from one population to another. 520 2. Gene Flow is the transfer of genetic variation from one population to another.
516 3. Sparse Tree: A two-dimensional matrix with m rows and n columns with most of its elements being zero. 521 3. Sparse Tree: A two-dimensional matrix with m rows and n columns with most of its elements being zero.
517 4. Haplotype: It is a combination of alleles or set of single nucleotide polymorphisms on the same chromosome is a set of DNA variations, or polymorphisms, that tend to be inherited together. 522 4. Haplotype: It is a combination of alleles or set of single nucleotide polymorphisms on the same chromosome is a set of DNA variations, or polymorphisms, that tend to be inherited together.
518 5. Genotype Error: It occurs when the observed genotype of an individual does not correspond to the true genotype 523 5. Genotype Error: It occurs when the observed genotype of an individual does not correspond to the true genotype
519 ]]> 524 ]]>
520 </help> 525 </help>
521 <citations> 526 <citations>
522 <citation type="doi">10.1038/ng786</citation> 527 <citation type="doi">10.1038/ng786</citation>
523 <citation type="doi">10.1086/381652</citation> 528 <citation type="doi">10.1086/381652</citation>
524 <citation type="doi">10.1002/gepi.20151</citation> 529 <citation type="doi">10.1002/gepi.20151</citation>
525 <citation type="doi">10.1086/521580</citation> 530 <citation type="doi">10.1086/521580</citation>
526 </citations> 531 </citations>
527 </tool> 532 </tool>