annotate meme.xml @ 2:e1f27421adca draft default tip

Uploaded
author devteam
date Fri, 01 Dec 2017 10:24:44 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
e1f27421adca Uploaded
devteam
parents:
diff changeset
1 <tool id="meme_meme" name="MEME" version="1.0.0">
e1f27421adca Uploaded
devteam
parents:
diff changeset
2 <requirements><requirement type='package'>meme</requirement></requirements>
e1f27421adca Uploaded
devteam
parents:
diff changeset
3 <description>- Multiple Em for Motif Elicitation</description>
e1f27421adca Uploaded
devteam
parents:
diff changeset
4 <command>meme "$input1" -o "${html_outfile.files_path}"
e1f27421adca Uploaded
devteam
parents:
diff changeset
5 -nostatus
e1f27421adca Uploaded
devteam
parents:
diff changeset
6
e1f27421adca Uploaded
devteam
parents:
diff changeset
7 ##-p 8 ##number of processors
e1f27421adca Uploaded
devteam
parents:
diff changeset
8
e1f27421adca Uploaded
devteam
parents:
diff changeset
9 #if str( $options_type.options_type_selector ) == 'advanced':
e1f27421adca Uploaded
devteam
parents:
diff changeset
10 -sf "${ str( $options_type.sf ).replace( ' ', '_' ) }"
e1f27421adca Uploaded
devteam
parents:
diff changeset
11 -${options_type.alphabet_type.alphabet_type_selector}
e1f27421adca Uploaded
devteam
parents:
diff changeset
12 -mod "${options_type.mod_type.mod_type_selector}"
e1f27421adca Uploaded
devteam
parents:
diff changeset
13 -nmotifs "${options_type.nmotifs}"
e1f27421adca Uploaded
devteam
parents:
diff changeset
14 -wnsites "${options_type.wnsites}"
e1f27421adca Uploaded
devteam
parents:
diff changeset
15
e1f27421adca Uploaded
devteam
parents:
diff changeset
16 #if $options_type.evt &lt; float('inf'):
e1f27421adca Uploaded
devteam
parents:
diff changeset
17 -evt "${options_type.evt}"
e1f27421adca Uploaded
devteam
parents:
diff changeset
18 #end if
e1f27421adca Uploaded
devteam
parents:
diff changeset
19
e1f27421adca Uploaded
devteam
parents:
diff changeset
20 #if str( $options_type.mod_type.mod_type_selector ) != 'oops':
e1f27421adca Uploaded
devteam
parents:
diff changeset
21 #if str( $options_type.mod_type.motif_occurrence_type.motif_occurrence_type_selector ) == 'nsites':
e1f27421adca Uploaded
devteam
parents:
diff changeset
22 -nsites "${options_type.mod_type.motif_occurrence_type.nsites}"
e1f27421adca Uploaded
devteam
parents:
diff changeset
23 #elif str( $options_type.mod_type.motif_occurrence_type.motif_occurrence_type_selector ) == 'min_max_sites':
e1f27421adca Uploaded
devteam
parents:
diff changeset
24 -minsites "${options_type.mod_type.motif_occurrence_type.minsites}" -maxsites "${options_type.mod_type.motif_occurrence_type.maxsites}"
e1f27421adca Uploaded
devteam
parents:
diff changeset
25 #end if
e1f27421adca Uploaded
devteam
parents:
diff changeset
26 #end if
e1f27421adca Uploaded
devteam
parents:
diff changeset
27
e1f27421adca Uploaded
devteam
parents:
diff changeset
28 #if str( $options_type.motif_width_type.motif_width_type_selector ) == 'exact':
e1f27421adca Uploaded
devteam
parents:
diff changeset
29 -w "${options_type.motif_width_type.width}"
e1f27421adca Uploaded
devteam
parents:
diff changeset
30 #else
e1f27421adca Uploaded
devteam
parents:
diff changeset
31 -minw "${options_type.motif_width_type.minw}" -maxw "${options_type.motif_width_type.maxw}"
e1f27421adca Uploaded
devteam
parents:
diff changeset
32 #end if
e1f27421adca Uploaded
devteam
parents:
diff changeset
33
e1f27421adca Uploaded
devteam
parents:
diff changeset
34 #if str( $options_type.motif_trim_type.motif_trim_type_selector ) == 'nomatrim':
e1f27421adca Uploaded
devteam
parents:
diff changeset
35 -nomatrim
e1f27421adca Uploaded
devteam
parents:
diff changeset
36 #else
e1f27421adca Uploaded
devteam
parents:
diff changeset
37 -wg "${options_type.motif_trim_type.wg}" -ws "${options_type.motif_trim_type.ws}" ${options_type.motif_trim_type.noendgaps}
e1f27421adca Uploaded
devteam
parents:
diff changeset
38 #end if
e1f27421adca Uploaded
devteam
parents:
diff changeset
39
e1f27421adca Uploaded
devteam
parents:
diff changeset
40 #if str( $options_type.bfile ) != 'None':
e1f27421adca Uploaded
devteam
parents:
diff changeset
41 -bfile "${options_type.bfile}"
e1f27421adca Uploaded
devteam
parents:
diff changeset
42 #end if
e1f27421adca Uploaded
devteam
parents:
diff changeset
43
e1f27421adca Uploaded
devteam
parents:
diff changeset
44 #if str( $options_type.pspfile ) != 'None':
e1f27421adca Uploaded
devteam
parents:
diff changeset
45 -psp "${options_type.pspfile}"
e1f27421adca Uploaded
devteam
parents:
diff changeset
46 #end if
e1f27421adca Uploaded
devteam
parents:
diff changeset
47
e1f27421adca Uploaded
devteam
parents:
diff changeset
48 #if str( $options_type.alphabet_type.alphabet_type_selector ) == "dna":
e1f27421adca Uploaded
devteam
parents:
diff changeset
49 ${options_type.alphabet_type.revcomp} ${options_type.alphabet_type.pal}
e1f27421adca Uploaded
devteam
parents:
diff changeset
50 #end if
e1f27421adca Uploaded
devteam
parents:
diff changeset
51
e1f27421adca Uploaded
devteam
parents:
diff changeset
52 -maxiter "${options_type.maxiter}" -distance "${options_type.distance}"
e1f27421adca Uploaded
devteam
parents:
diff changeset
53
e1f27421adca Uploaded
devteam
parents:
diff changeset
54 -prior "${options_type.alphabet_type.prior_type.prior_type_selector}"
e1f27421adca Uploaded
devteam
parents:
diff changeset
55 #if str( $options_type.alphabet_type.prior_type.prior_type_selector ) != 'addone':
e1f27421adca Uploaded
devteam
parents:
diff changeset
56 -b "${options_type.alphabet_type.prior_type.prior_b}"
e1f27421adca Uploaded
devteam
parents:
diff changeset
57 #if str( $options_type.alphabet_type.prior_type.plib ) != 'None':
e1f27421adca Uploaded
devteam
parents:
diff changeset
58 -plib "${options_type.alphabet_type.prior_type.plib}"
e1f27421adca Uploaded
devteam
parents:
diff changeset
59 #end if
e1f27421adca Uploaded
devteam
parents:
diff changeset
60 #end if
e1f27421adca Uploaded
devteam
parents:
diff changeset
61
e1f27421adca Uploaded
devteam
parents:
diff changeset
62 #if str( $options_type.alphabet_type.spmap_type.spmap_type_selector ) == 'cons':
e1f27421adca Uploaded
devteam
parents:
diff changeset
63 -cons "${options_type.alphabet_type.spmap_type.cons}"
e1f27421adca Uploaded
devteam
parents:
diff changeset
64 #else
e1f27421adca Uploaded
devteam
parents:
diff changeset
65 -spmap "${options_type.alphabet_type.spmap_type.spmap_type_selector}"
e1f27421adca Uploaded
devteam
parents:
diff changeset
66 -spfuzz "${options_type.alphabet_type.spmap_type.spfuzz}"
e1f27421adca Uploaded
devteam
parents:
diff changeset
67 #end if
e1f27421adca Uploaded
devteam
parents:
diff changeset
68
e1f27421adca Uploaded
devteam
parents:
diff changeset
69 #if str( $options_type.branching_type.branching_type_selector ) == 'x_branch':
e1f27421adca Uploaded
devteam
parents:
diff changeset
70 -x_branch -bfactor "${options_type.branching_type.bfactor}" -heapsize "${options_type.branching_type.heapsize}"
e1f27421adca Uploaded
devteam
parents:
diff changeset
71 #end if
e1f27421adca Uploaded
devteam
parents:
diff changeset
72
e1f27421adca Uploaded
devteam
parents:
diff changeset
73 ##-maxsize "1000000" ##remove hardcoded maxsize? should increase number of processors instead
e1f27421adca Uploaded
devteam
parents:
diff changeset
74
e1f27421adca Uploaded
devteam
parents:
diff changeset
75 #end if
e1f27421adca Uploaded
devteam
parents:
diff changeset
76
e1f27421adca Uploaded
devteam
parents:
diff changeset
77 2&gt;&amp;1 || echo "Error running MEME."
e1f27421adca Uploaded
devteam
parents:
diff changeset
78
e1f27421adca Uploaded
devteam
parents:
diff changeset
79
e1f27421adca Uploaded
devteam
parents:
diff changeset
80 &amp;&amp; mv ${html_outfile.files_path}/meme.html ${html_outfile}
e1f27421adca Uploaded
devteam
parents:
diff changeset
81
e1f27421adca Uploaded
devteam
parents:
diff changeset
82 &amp;&amp; mv ${html_outfile.files_path}/meme.txt ${txt_outfile}
e1f27421adca Uploaded
devteam
parents:
diff changeset
83
e1f27421adca Uploaded
devteam
parents:
diff changeset
84 &amp;&amp; mv ${html_outfile.files_path}/meme.xml ${xml_outfile}
e1f27421adca Uploaded
devteam
parents:
diff changeset
85
e1f27421adca Uploaded
devteam
parents:
diff changeset
86 </command>
e1f27421adca Uploaded
devteam
parents:
diff changeset
87 <inputs>
e1f27421adca Uploaded
devteam
parents:
diff changeset
88 <param format="fasta" name="input1" type="data" label="Sequences"/>
e1f27421adca Uploaded
devteam
parents:
diff changeset
89
e1f27421adca Uploaded
devteam
parents:
diff changeset
90 <conditional name="options_type">
e1f27421adca Uploaded
devteam
parents:
diff changeset
91 <param name="options_type_selector" type="select" label="Options Configuration">
e1f27421adca Uploaded
devteam
parents:
diff changeset
92 <option value="basic" selected="true">Basic</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
93 <option value="advanced">Advanced</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
94 </param>
e1f27421adca Uploaded
devteam
parents:
diff changeset
95 <when value="basic">
e1f27421adca Uploaded
devteam
parents:
diff changeset
96 <!-- do nothing here -->
e1f27421adca Uploaded
devteam
parents:
diff changeset
97 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
98 <when value="advanced">
e1f27421adca Uploaded
devteam
parents:
diff changeset
99
e1f27421adca Uploaded
devteam
parents:
diff changeset
100 <param name="sf" type="text" value="Galaxy FASTA Input" label="Name of sequence set" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
101
e1f27421adca Uploaded
devteam
parents:
diff changeset
102 <conditional name="alphabet_type">
e1f27421adca Uploaded
devteam
parents:
diff changeset
103 <param name="alphabet_type_selector" type="select" label="Sequence Alphabet">
e1f27421adca Uploaded
devteam
parents:
diff changeset
104 <option value="protein">Protein</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
105 <option value="dna" selected="true">DNA</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
106 </param>
e1f27421adca Uploaded
devteam
parents:
diff changeset
107 <when value="protein">
e1f27421adca Uploaded
devteam
parents:
diff changeset
108 <conditional name="prior_type">
e1f27421adca Uploaded
devteam
parents:
diff changeset
109 <param name="prior_type_selector" type="select" label="Choice of prior">
e1f27421adca Uploaded
devteam
parents:
diff changeset
110 <option value="dirichlet">simple Dirichlet prior</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
111 <option value="dmix" selected="true">mixture of Dirichlets prior</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
112 <option value="mega">extremely low variance dmix</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
113 <option value="megap">mega for all but last iteration of EM; dmix on last iteration</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
114 <option value="addone">add +1 to each observed count</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
115 </param>
e1f27421adca Uploaded
devteam
parents:
diff changeset
116 <when value="dirichlet">
e1f27421adca Uploaded
devteam
parents:
diff changeset
117 <param name="prior_b" type="float" value="0.01" label="strength of prior on model parameters" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
118 <param name="plib" type="data" format="txt" optional="True" label="Dirichlet prior file" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
119 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
120 <when value="dmix">
e1f27421adca Uploaded
devteam
parents:
diff changeset
121 <param name="prior_b" type="float" value="0" label="strength of prior on model parameters" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
122 <param name="plib" type="data" format="txt" optional="True" label="Dirichlet prior file" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
123 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
124 <when value="mega">
e1f27421adca Uploaded
devteam
parents:
diff changeset
125 <param name="prior_b" type="float" value="0" label="strength of prior on model parameters" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
126 <param name="plib" type="data" format="txt" optional="True" label="Dirichlet prior file" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
127 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
128 <when value="megap">
e1f27421adca Uploaded
devteam
parents:
diff changeset
129 <param name="prior_b" type="float" value="0" label="strength of prior on model parameters" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
130 <param name="plib" type="data" format="txt" optional="True" label="Dirichlet prior file" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
131 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
132 <when value="addone">
e1f27421adca Uploaded
devteam
parents:
diff changeset
133 <!-- no values here? -->
e1f27421adca Uploaded
devteam
parents:
diff changeset
134 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
135 </conditional>
e1f27421adca Uploaded
devteam
parents:
diff changeset
136 <conditional name="spmap_type">
e1f27421adca Uploaded
devteam
parents:
diff changeset
137 <param name="spmap_type_selector" type="select" label="EM starting points">
e1f27421adca Uploaded
devteam
parents:
diff changeset
138 <option value="uni">uni</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
139 <option value="pam" selected="true">pam</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
140 <option value="cons">Use starting point from string</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
141 </param>
e1f27421adca Uploaded
devteam
parents:
diff changeset
142 <when value="uni">
e1f27421adca Uploaded
devteam
parents:
diff changeset
143 <param name="spfuzz" type="float" value="0.5" label="Fuzziness of the mapping" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
144 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
145 <when value="pam">
e1f27421adca Uploaded
devteam
parents:
diff changeset
146 <param name="spfuzz" type="integer" value="120" label="Fuzziness of the mapping" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
147 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
148 <when value="cons">
e1f27421adca Uploaded
devteam
parents:
diff changeset
149 <param name="cons" type="text" value="" label="Starting point from string" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
150 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
151 </conditional>
e1f27421adca Uploaded
devteam
parents:
diff changeset
152 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
153 <when value="dna">
e1f27421adca Uploaded
devteam
parents:
diff changeset
154 <param name="revcomp" label="Check reverse complement" type="boolean" truevalue="-revcomp" falsevalue="" checked="False"/>
e1f27421adca Uploaded
devteam
parents:
diff changeset
155 <param name="pal" label="Check for palindromes" type="boolean" truevalue="-pal" falsevalue="" checked="False"/>
e1f27421adca Uploaded
devteam
parents:
diff changeset
156 <conditional name="prior_type">
e1f27421adca Uploaded
devteam
parents:
diff changeset
157 <param name="prior_type_selector" type="select" label="Sequence Alphabet">
e1f27421adca Uploaded
devteam
parents:
diff changeset
158 <option value="dirichlet" selected="true">simple Dirichlet prior</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
159 <option value="dmix">mixture of Dirichlets prior</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
160 <option value="mega">extremely low variance dmix</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
161 <option value="megap">mega for all but last iteration of EM; dmix on last iteration</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
162 <option value="addone">add +1 to each observed count</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
163 </param>
e1f27421adca Uploaded
devteam
parents:
diff changeset
164 <when value="dirichlet">
e1f27421adca Uploaded
devteam
parents:
diff changeset
165 <param name="prior_b" type="float" value="0.01" label="strength of prior on model parameters" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
166 <param name="plib" type="data" format="txt" optional="True" label="Dirichlet prior file" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
167 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
168 <when value="dmix">
e1f27421adca Uploaded
devteam
parents:
diff changeset
169 <param name="prior_b" type="float" value="0" label="strength of prior on model parameters" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
170 <param name="plib" type="data" format="txt" optional="True" label="Dirichlet prior file" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
171 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
172 <when value="mega">
e1f27421adca Uploaded
devteam
parents:
diff changeset
173 <param name="prior_b" type="float" value="0" label="strength of prior on model parameters" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
174 <param name="plib" type="data" format="txt" optional="True" label="Dirichlet prior file" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
175 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
176 <when value="megap">
e1f27421adca Uploaded
devteam
parents:
diff changeset
177 <param name="prior_b" type="float" value="0" label="strength of prior on model parameters" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
178 <param name="plib" type="data" format="txt" optional="True" label="Dirichlet prior file" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
179 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
180 <when value="addone">
e1f27421adca Uploaded
devteam
parents:
diff changeset
181 <!-- no values here? -->
e1f27421adca Uploaded
devteam
parents:
diff changeset
182 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
183 </conditional>
e1f27421adca Uploaded
devteam
parents:
diff changeset
184 <conditional name="spmap_type">
e1f27421adca Uploaded
devteam
parents:
diff changeset
185 <param name="spmap_type_selector" type="select" label="EM starting points">
e1f27421adca Uploaded
devteam
parents:
diff changeset
186 <option value="uni" selected="true">uni</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
187 <option value="pam">pam</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
188 <option value="cons">Use starting point from string</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
189 </param>
e1f27421adca Uploaded
devteam
parents:
diff changeset
190 <when value="uni">
e1f27421adca Uploaded
devteam
parents:
diff changeset
191 <param name="spfuzz" type="float" value="0.5" label="Fuzziness of the mapping" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
192 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
193 <when value="pam">
e1f27421adca Uploaded
devteam
parents:
diff changeset
194 <param name="spfuzz" type="integer" value="120" label="Fuzziness of the mapping" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
195 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
196 <when value="cons">
e1f27421adca Uploaded
devteam
parents:
diff changeset
197 <param name="cons" type="text" value="" label="Starting point from string" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
198 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
199 </conditional>
e1f27421adca Uploaded
devteam
parents:
diff changeset
200 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
201 </conditional>
e1f27421adca Uploaded
devteam
parents:
diff changeset
202
e1f27421adca Uploaded
devteam
parents:
diff changeset
203 <param name="nmotifs" type="integer" value="1" label="Number of different motifs to search" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
204 <param name="evt" type="float" value="inf" label="E-value to stop looking for motifs" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
205 <conditional name="mod_type">
e1f27421adca Uploaded
devteam
parents:
diff changeset
206 <param name="mod_type_selector" type="select" label="Expected motif distribution">
e1f27421adca Uploaded
devteam
parents:
diff changeset
207 <option value="oops">One Occurrence Per Sequence</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
208 <option value="zoops" selected="true">Zero or One Occurrence Per Sequence</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
209 <option value="anr">Any Number of Repetitions</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
210 </param>
e1f27421adca Uploaded
devteam
parents:
diff changeset
211 <when value="oops">
e1f27421adca Uploaded
devteam
parents:
diff changeset
212 <!-- no values here -->
e1f27421adca Uploaded
devteam
parents:
diff changeset
213 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
214 <when value="zoops">
e1f27421adca Uploaded
devteam
parents:
diff changeset
215 <conditional name="motif_occurrence_type">
e1f27421adca Uploaded
devteam
parents:
diff changeset
216 <param name="motif_occurrence_type_selector" type="select" label="Number of motif occurrences">
e1f27421adca Uploaded
devteam
parents:
diff changeset
217 <option value="default" selected="true">Use defaults</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
218 <option value="nsites">nsites</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
219 <option value="min_max_sites">min and max sites</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
220 </param>
e1f27421adca Uploaded
devteam
parents:
diff changeset
221 <when value="default">
e1f27421adca Uploaded
devteam
parents:
diff changeset
222 <!-- no values here -->
e1f27421adca Uploaded
devteam
parents:
diff changeset
223 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
224 <when value="nsites">
e1f27421adca Uploaded
devteam
parents:
diff changeset
225 <param name="nsites" type="integer" value="1" label="Search nsites number of occurrences" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
226 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
227 <when value="min_max_sites">
e1f27421adca Uploaded
devteam
parents:
diff changeset
228 <param name="minsites" type="integer" value="1" label="minsites" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
229 <param name="maxsites" type="integer" value="50" label="maxsites" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
230 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
231 </conditional>
e1f27421adca Uploaded
devteam
parents:
diff changeset
232 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
233 <when value="anr">
e1f27421adca Uploaded
devteam
parents:
diff changeset
234 <conditional name="motif_occurrence_type">
e1f27421adca Uploaded
devteam
parents:
diff changeset
235 <param name="motif_occurrence_type_selector" type="select" label="Number of motif occurrences">
e1f27421adca Uploaded
devteam
parents:
diff changeset
236 <option value="default" selected="true">Use defaults</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
237 <option value="nsites">nsites</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
238 <option value="min_max_sites">min and max sites</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
239 </param>
e1f27421adca Uploaded
devteam
parents:
diff changeset
240 <when value="default">
e1f27421adca Uploaded
devteam
parents:
diff changeset
241 <!-- no values here -->
e1f27421adca Uploaded
devteam
parents:
diff changeset
242 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
243 <when value="nsites">
e1f27421adca Uploaded
devteam
parents:
diff changeset
244 <param name="nsites" type="integer" value="1" label="Search nsites number of occurrences" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
245 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
246 <when value="min_max_sites">
e1f27421adca Uploaded
devteam
parents:
diff changeset
247 <param name="minsites" type="integer" value="1" label="minsites" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
248 <param name="maxsites" type="integer" value="50" label="maxsites" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
249 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
250 </conditional>
e1f27421adca Uploaded
devteam
parents:
diff changeset
251 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
252 </conditional>
e1f27421adca Uploaded
devteam
parents:
diff changeset
253 <param name="wnsites" type="float" value="0.8" label="Weight on the prior on nsites" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
254
e1f27421adca Uploaded
devteam
parents:
diff changeset
255 <conditional name="motif_width_type">
e1f27421adca Uploaded
devteam
parents:
diff changeset
256 <param name="motif_width_type_selector" type="select" label="Motif width type">
e1f27421adca Uploaded
devteam
parents:
diff changeset
257 <option value="exact">Exact width</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
258 <option value="range" selected="true">Specify a range</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
259 </param>
e1f27421adca Uploaded
devteam
parents:
diff changeset
260 <when value="exact">
e1f27421adca Uploaded
devteam
parents:
diff changeset
261 <param name="width" type="integer" value="10" label="Width of motif to search" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
262 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
263 <when value="range">
e1f27421adca Uploaded
devteam
parents:
diff changeset
264 <param name="minw" type="integer" value="8" label="Min width of motif to search" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
265 <param name="maxw" type="integer" value="50" label="Max width of motif to search" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
266 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
267 </conditional>
e1f27421adca Uploaded
devteam
parents:
diff changeset
268
e1f27421adca Uploaded
devteam
parents:
diff changeset
269 <conditional name="motif_trim_type">
e1f27421adca Uploaded
devteam
parents:
diff changeset
270 <param name="motif_trim_type_selector" type="select" label="Motif trim type">
e1f27421adca Uploaded
devteam
parents:
diff changeset
271 <option value="nomatrim">No motif trim</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
272 <option value="trim" selected="true">Trim motif</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
273 </param>
e1f27421adca Uploaded
devteam
parents:
diff changeset
274 <when value="nomatrim">
e1f27421adca Uploaded
devteam
parents:
diff changeset
275 <!-- no values here -->
e1f27421adca Uploaded
devteam
parents:
diff changeset
276 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
277 <when value="trim">
e1f27421adca Uploaded
devteam
parents:
diff changeset
278 <param name="wg" type="integer" value="11" label="Gap cost" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
279 <param name="ws" type="integer" value="1" label="Space cost" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
280 <param name="noendgaps" label="Do not penalize endgaps" type="boolean" truevalue="-noendgaps" falsevalue="" checked="False"/>
e1f27421adca Uploaded
devteam
parents:
diff changeset
281 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
282 </conditional>
e1f27421adca Uploaded
devteam
parents:
diff changeset
283
e1f27421adca Uploaded
devteam
parents:
diff changeset
284 <param name="bfile" type="data" format="txt" optional="True" label="Background Model" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
285 <param name="pspfile" type="data" format="txt" optional="True" label="Position-Specific Prior" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
286
e1f27421adca Uploaded
devteam
parents:
diff changeset
287 <param name="maxiter" type="integer" value="50" label="Number of iterations of EM to run" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
288 <param name="distance" type="float" value="0.001" label="Convergence criterion" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
289
e1f27421adca Uploaded
devteam
parents:
diff changeset
290 <conditional name="branching_type">
e1f27421adca Uploaded
devteam
parents:
diff changeset
291 <param name="branching_type_selector" type="select" label="x-branching type">
e1f27421adca Uploaded
devteam
parents:
diff changeset
292 <option value="x_branch">Perform x-branching</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
293 <option value="no_x_branch" selected="true">No x-branching</option>
e1f27421adca Uploaded
devteam
parents:
diff changeset
294 </param>
e1f27421adca Uploaded
devteam
parents:
diff changeset
295 <when value="no_x_branch">
e1f27421adca Uploaded
devteam
parents:
diff changeset
296 <!-- no values here -->
e1f27421adca Uploaded
devteam
parents:
diff changeset
297 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
298 <when value="x_branch">
e1f27421adca Uploaded
devteam
parents:
diff changeset
299 <param name="bfactor" type="integer" value="3" label="Number of iterations of branching" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
300 <param name="heapsize" type="integer" value="64" label="Maximum number of heaps to use" />
e1f27421adca Uploaded
devteam
parents:
diff changeset
301 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
302 </conditional>
e1f27421adca Uploaded
devteam
parents:
diff changeset
303
e1f27421adca Uploaded
devteam
parents:
diff changeset
304 </when>
e1f27421adca Uploaded
devteam
parents:
diff changeset
305 </conditional>
e1f27421adca Uploaded
devteam
parents:
diff changeset
306
e1f27421adca Uploaded
devteam
parents:
diff changeset
307 <param name="non_commercial_use" label="I certify that I am not using this tool for commercial purposes." type="boolean" truevalue="NON_COMMERCIAL_USE" falsevalue="COMMERCIAL_USE" checked="False">
e1f27421adca Uploaded
devteam
parents:
diff changeset
308 <validator type="expression" message="This tool is only available for non-commercial use.">value == True</validator>
e1f27421adca Uploaded
devteam
parents:
diff changeset
309 </param>
e1f27421adca Uploaded
devteam
parents:
diff changeset
310
e1f27421adca Uploaded
devteam
parents:
diff changeset
311 </inputs>
e1f27421adca Uploaded
devteam
parents:
diff changeset
312 <outputs>
e1f27421adca Uploaded
devteam
parents:
diff changeset
313 <data format="html" name="html_outfile" label="${tool.name} on ${on_string} (html)"/>
e1f27421adca Uploaded
devteam
parents:
diff changeset
314 <data format="txt" name="txt_outfile" label="${tool.name} on ${on_string} (text)"/>
e1f27421adca Uploaded
devteam
parents:
diff changeset
315 <data format="memexml" name="xml_outfile" label="${tool.name} on ${on_string} (xml)"/>
e1f27421adca Uploaded
devteam
parents:
diff changeset
316 </outputs>
e1f27421adca Uploaded
devteam
parents:
diff changeset
317 <tests>
e1f27421adca Uploaded
devteam
parents:
diff changeset
318 <test>
e1f27421adca Uploaded
devteam
parents:
diff changeset
319 <param name="input1" value="meme/meme/meme_input_1.fasta" ftype="fasta" dbkey="hg19"/>
e1f27421adca Uploaded
devteam
parents:
diff changeset
320 <param name="options_type_selector" value="basic"/>
e1f27421adca Uploaded
devteam
parents:
diff changeset
321 <param name="non_commercial_use" value="True"/>
e1f27421adca Uploaded
devteam
parents:
diff changeset
322 <output name="html_outfile" file="meme/meme/meme_output_html_1.html" lines_diff="12"/>
e1f27421adca Uploaded
devteam
parents:
diff changeset
323 <output name="txt_outfile" file="meme/meme/meme_output_txt_1.txt" lines_diff="12"/>
e1f27421adca Uploaded
devteam
parents:
diff changeset
324 <output name="xml_outfile" file="meme/meme/meme_output_xml_1.xml" lines_diff="8"/>
e1f27421adca Uploaded
devteam
parents:
diff changeset
325 </test>
e1f27421adca Uploaded
devteam
parents:
diff changeset
326 </tests>
e1f27421adca Uploaded
devteam
parents:
diff changeset
327 <help>
e1f27421adca Uploaded
devteam
parents:
diff changeset
328
e1f27421adca Uploaded
devteam
parents:
diff changeset
329 .. class:: warningmark
e1f27421adca Uploaded
devteam
parents:
diff changeset
330
e1f27421adca Uploaded
devteam
parents:
diff changeset
331 **WARNING: This tool is only available for non-commercial use. Use for educational, research and non-profit purposes is permitted. Before using, be sure to review, agree, and comply with the license.**
e1f27421adca Uploaded
devteam
parents:
diff changeset
332
e1f27421adca Uploaded
devteam
parents:
diff changeset
333 If you want to specify sequence weights, you must include them at the top of your input FASTA file.
e1f27421adca Uploaded
devteam
parents:
diff changeset
334
e1f27421adca Uploaded
devteam
parents:
diff changeset
335 .. class:: infomark
e1f27421adca Uploaded
devteam
parents:
diff changeset
336
e1f27421adca Uploaded
devteam
parents:
diff changeset
337 **To cite MEME:**
e1f27421adca Uploaded
devteam
parents:
diff changeset
338 Timothy L. Bailey and Charles Elkan, "Fitting a mixture model by expectation maximization to discover motifs in biopolymers", Proceedings of the Second International Conference on Intelligent Systems for Molecular Biology, pp. 28-36, AAAI Press, Menlo Park, California, 1994.
e1f27421adca Uploaded
devteam
parents:
diff changeset
339
e1f27421adca Uploaded
devteam
parents:
diff changeset
340
e1f27421adca Uploaded
devteam
parents:
diff changeset
341 For detailed information on MEME, click here_. To view the license_.
e1f27421adca Uploaded
devteam
parents:
diff changeset
342
e1f27421adca Uploaded
devteam
parents:
diff changeset
343 ------
e1f27421adca Uploaded
devteam
parents:
diff changeset
344
e1f27421adca Uploaded
devteam
parents:
diff changeset
345 **Citation**
e1f27421adca Uploaded
devteam
parents:
diff changeset
346
e1f27421adca Uploaded
devteam
parents:
diff changeset
347 If you use this tool in Galaxy, please cite Blankenberg D, et al. *In preparation.*
e1f27421adca Uploaded
devteam
parents:
diff changeset
348
e1f27421adca Uploaded
devteam
parents:
diff changeset
349 .. _here: http://meme.nbcr.net/meme/meme-intro.html
e1f27421adca Uploaded
devteam
parents:
diff changeset
350 .. _license: http://meme.nbcr.net/meme/COPYRIGHT.html
e1f27421adca Uploaded
devteam
parents:
diff changeset
351
e1f27421adca Uploaded
devteam
parents:
diff changeset
352 </help>
e1f27421adca Uploaded
devteam
parents:
diff changeset
353 </tool>