annotate meme.xml @ 0:547a939f9217 default tip

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