Mercurial > repos > iuc > multigps
annotate multigps.xml @ 2:028fafca04fa draft default tip
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
author | iuc |
---|---|
date | Sun, 22 Dec 2019 12:11:33 -0500 |
parents | 7e0a12282c7f |
children |
rev | line source |
---|---|
2
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
1 <tool id="multigps" name="MultiGPS" version="0.74.0"> |
0 | 2 <description>analyzes collections of multi-condition ChIP-seq data</description> |
3 <macros> | |
4 <import>macros.xml</import> | |
5 </macros> | |
2
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
6 <expand macro="requirements" /> |
0 | 7 <command detect_errors="aggressive"> |
8 <![CDATA[ | |
9 #set output_dir = $output_html.files_path | |
10 mkdir -p $output_dir && | |
11 multigps | |
12 ## General options | |
2
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
13 --design '$build_design_file' |
0 | 14 ## Append .txt extensions to events hrefs |
15 ## in output dataset so files will render | |
16 ## in the browser. | |
17 --eventsaretxt | |
2
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
18 ## Do not run the parallel version of meme. |
0 | 19 --meme1proc |
2
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
20 --threads \${GALAXY_SLOTS:-4} |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
21 #if str($in_test_mode) == "no": |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
22 --geninfo '$chromInfo' |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
23 #else: |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
24 --geninfo '$__tool_directory__/tool-data/hg19.len' |
0 | 25 #end if |
26 ## Advanced options | |
27 #set aoc = $advanced_options_cond | |
28 #if str($aoc.advanced_options) == 'display': | |
29 #set bmsc = $aoc.binding_model_smoothing_cond | |
30 #set gmsc = $aoc.gauss_model_smoothing_cond | |
31 #set rbec = $aoc.report_binding_events_cond | |
32 #set rloc = $aoc.reads_limits_options_cond | |
33 #set sdc = $aoc.scale_data_cond | |
34 #set umc = $aoc.use_motif_cond | |
35 #if str($umc.use_motif) == 'yes': | |
36 #set rgc = $umc.reference_genome_cond | |
37 --seq | |
38 #if str($rgc.reference_genome_source) == 'cached': | |
2
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
39 '${rgc.reference_genome.fields.path}' |
0 | 40 #else: |
2
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
41 '${rgc.reference_genome}' |
0 | 42 #end if |
43 #end if | |
44 ## Limits on how many reads | |
45 #if str($rloc.reads_limits) == 'yes': | |
46 --fixedpb $rloc.fixedpb | |
47 --poissongausspb $rloc.poissongausspb | |
48 #if str($rloc.nonunique) == 'yes': | |
49 --nonunique | |
50 #end if | |
51 --mappability $rloc.mappability | |
52 #if str($rloc.nocache) == 'yes': | |
53 --nocache | |
54 #end if | |
55 #end if | |
56 ## Scaling data | |
57 #if str($sdc.scale_data) == 'yes': | |
58 #if str($sdc.scaling) == 'no': | |
59 --noscaling $sdc.scaling | |
60 #end if | |
61 #if str($sdc.medianscale) == 'yes': | |
62 --medianscale $sdc.medianscale | |
63 #end if | |
64 #if str($sdc.regressionscale) == 'yes': | |
65 --regressionscale $sdc.regressionscale | |
66 #end if | |
67 #if str($sdc.sesscale) == 'yes': | |
68 --sesscale $sdc.sesscale | |
69 #end if | |
70 #if $sdc.fixedscaling > 0: | |
71 ‒‒fixedscaling $sdc.fixedscaling | |
72 #end if | |
73 --scalewin $sdc.scalewin | |
74 #if str($sdc.plotscaling) == 'yes': | |
75 --plotscaling $sdc.plotscaling | |
76 #end if | |
77 #end if | |
78 ## Running MultiGPS | |
79 #if str($aoc.readdistributionfile) != 'None': | |
2
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
80 --readdistributionfile '$aoc.readdistributionfile' |
0 | 81 #end if |
2
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
82 --maxtrainingrounds $aoc.maxtrainingrounds |
0 | 83 #if str($aoc.nomodelupdate) == 'no': |
84 --nomodelupdate | |
85 #end if | |
86 --minmodelupdateevents $aoc.minmodelupdateevents | |
87 #if str($bmsc.nomodelsmoothing) == 'no': | |
88 --nomodelsmoothing | |
89 #else: | |
90 --splinesmoothparam $bmsc.splinesmoothparam | |
91 #end if | |
92 #if str($gmsc.gaussmodelsmoothing) == 'yes': | |
93 --gaussmodelsmoothing | |
94 --gausssmoothparam $gmsc.gausssmoothparam | |
95 #end if | |
96 #if str($aoc.jointinmodel) == 'yes': | |
97 --jointinmodel | |
98 #end if | |
99 #if str($aoc.fixedmodelrange) == 'yes': | |
100 --fixedmodelrange | |
101 #end if | |
102 --prlogconf $aoc.prlogconf | |
103 #if $aoc.fixedalpha > 0: | |
104 --fixedalpha $aoc.fixedalpha | |
105 #end if | |
106 --alphascale $aoc.alphascale | |
107 #if str($aoc.mlconfignotshared) == 'no': | |
108 --mlconfignotshared | |
109 #end if | |
110 #if str($aoc.exclude) != 'None': | |
111 --exclude '$aoc.exclude' | |
112 #end if | |
113 ## MultiGPS priors | |
114 #if str($umc.use_motif) == 'yes': | |
115 #set mpc = $umc.multigps_priors_cond | |
116 #if str($mpc.multigps_priors) == 'yes': | |
117 #set bmc = $mpc.both_motifs_cond | |
118 #if str($mpc.noposprior) == 'no': | |
119 --noposprior | |
120 #end if | |
121 --probshared $mpc.probshared | |
122 #if str($bmc.nomotifs) == 'yes': | |
123 --memenmotifs $bmc.memenmotifs | |
124 --mememinw $bmc.mememinw | |
125 --mememaxw $bmc.mememaxw | |
126 #else: | |
2
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
127 #set nmpc = $bmc.nomotifprior_cond |
0 | 128 --nomotifs |
2
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
129 #if str($nmpc.nomotifprior) == 'yes': |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
130 --nomotifprior |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
131 --memenmotifs $nmpc.memenmotifs |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
132 --mememinw $nmpc.mememinw |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
133 --mememaxw $nmpc.mememaxw |
0 | 134 #end if |
135 #end if | |
136 #end if | |
137 #end if | |
138 ## Reporting binding events | |
139 #if str($rbec.report_binding_events) == 'yes': | |
2
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
140 --minqvalue $rbec.minqvalue |
0 | 141 --minfold $rbec.minfold |
142 #if str($rbec.nodifftests) == 'no': | |
143 --nodifftests | |
144 #end if | |
145 --edgerod $rbec.edgerod | |
146 --diffp $rbec.diffp | |
147 #end if | |
148 #end if | |
149 2>&1 | |
150 --out '$output_html.files_path' | |
2
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
151 #if str($save_design_file) == 'yes': |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
152 && cp '$build_design_file' '$output_design_file' |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
153 #end if |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
154 && mv $output_dir/*.counts '$replicates_counts' |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
155 && mv $output_dir/*.bed '$output_bed' |
1 | 156 && mv $output_dir/*.html '$output_html' |
157 && mv $output_dir/*.table.txt '$all_events_table' | |
0 | 158 ]]> |
159 </command> | |
2
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
160 <configfiles> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
161 <configfile name="build_design_file"><![CDATA[#for $condition_items in $condition_repeat: |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
162 #for $signal_items in $condition_items.signal_repeat: |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
163 #if str($signal_items.fixedreadcount_cond.fixedreadcount_select) == 'yes': |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
164 #set $frc = $signal_items.fixedreadcount_cond.fixedreadcount |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
165 #else: |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
166 #set $frc = '' |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
167 #end if |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
168 ${signal_items.signal} Signal ${signal_items.signal.ext.upper()} ${condition_items.condition_name} ${signal_items.replicate_name} ${condition_items.experiment_type} ${frc} |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
169 #end for |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
170 #for $control_items in $condition_items.control_repeat: |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
171 #if str($control_items.specify_replicate_name_cond.specify_replicate_name) == 'yes': |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
172 #set $rn = $control_items.specify_replicate_name_cond.replicate_name |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
173 #else: |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
174 #set $rn = '' |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
175 #end if |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
176 #if str($control_items.fixedreadcount_cond.fixedreadcount_select) == 'yes': |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
177 #set $frc = $control_items.fixedreadcount_cond.fixedreadcount |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
178 #else: |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
179 #set $frc = '' |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
180 #end if |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
181 ${control_items.control} Control ${control_items.control.ext.upper()} ${condition_items.condition_name} ${rn} ${condition_items.experiment_type} ${frc} |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
182 #end for |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
183 #end for ]]></configfile> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
184 </configfiles> |
0 | 185 <inputs> |
2
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
186 <repeat name="condition_repeat" title="Condition" min="1"> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
187 <param name="condition_name" type="text" value="cond" label="Condition name"> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
188 <validator type="empty_field" /> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
189 </param> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
190 <expand macro="param_experiment_type" /> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
191 <repeat name="signal_repeat" title="Signal" min="1"> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
192 <param name="signal" type="data" format="bam,bed,scidx" label="Select signal" help="Supported formats are bam, bed and scidx"> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
193 <validator type="unspecified_build" /> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
194 </param> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
195 <param name="replicate_name" type="text" value="1" label="Replicate name"> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
196 <validator type="empty_field" /> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
197 </param> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
198 <expand macro="cond_fixedreadcount" /> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
199 </repeat> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
200 <repeat name="control_repeat" title="Control" min="0"> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
201 <param name="control" type="data" format="bam,bed,scidx" label="Select control" help="Optional, supported formats are bam, bed and scidx"> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
202 <validator type="unspecified_build" /> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
203 </param> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
204 <conditional name="specify_replicate_name_cond"> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
205 <param name="specify_replicate_name" type="select" label="Specify replicate name?" help="Optional for control. If used, the control will only be used for the corresponding named signal replicate"> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
206 <option value="no" selected="True">No</option> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
207 <option value="yes">Yes</option> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
208 </param> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
209 <when value="yes"> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
210 <param name="replicate_name" type="text" optional="true" label="Replicate name"/> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
211 </when> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
212 <when value="no" /> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
213 </conditional> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
214 <expand macro="cond_fixedreadcount" /> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
215 </repeat> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
216 </repeat> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
217 <param name="save_design_file" type="select" display="radio" label="Output design file?"> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
218 <option value="no" selected="true">No</option> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
219 <option value="yes">Yes</option> |
0 | 220 </param> |
221 <!-- Advanced options --> | |
222 <conditional name="advanced_options_cond"> | |
223 <param name="advanced_options" type="select" label="Advanced options"> | |
224 <option value="hide" selected="true">Hide</option> | |
225 <option value="display">Display</option> | |
226 </param> | |
227 <when value="display"> | |
228 <!-- Limits on how many reads --> | |
229 <conditional name="reads_limits_options_cond"> | |
230 <param name="reads_limits" type="select" label="Set limits on how many reads can have their 5′ end at the same position in each replicate?" help="Default behavior is to estimate a global per-base limit from a Poisson distribution parameterized by the number of reads divided by the number of mappable bases in the genome. The per-base limit is set as the count corresponding to the 10^-7 probability level from the Poisson."> | |
231 <option value="no" selected="True">No</option> | |
232 <option value="yes">Yes</option> | |
233 </param> | |
234 <when value="no" /> | |
235 <when value="yes"> | |
236 <param name="fixedpb" type="integer" value="0" min="0" label="Fixed per-base limit" help="Zero value estimates from background model"/> | |
237 <param name="poissongausspb" type="integer" value="0" min="0" label="Poisson threshold for filtering per base" help="Filter per base using the specified Poisson threshold parameterized by a local Gaussian sliding window" /> | |
238 <param name="nonunique" type="select" label="Use non-unique reads?"> | |
239 <option value="no" selected="True">No</option> | |
240 <option value="yes">Yes</option> | |
241 </param> | |
242 <param name="mappability" type="float" value="0.0" min="0.8" label="Fraction of the genome that is mappable for these experiments" /> | |
243 <param name="nocache" type="select" label="Turn off caching of the entire set of experiments?" help="Run slower with less memory" > | |
244 <option value="no" selected="True">No</option> | |
245 <option value="yes">Yes</option> | |
246 </param> | |
247 </when> | |
248 </conditional> | |
249 <!-- Scaling data --> | |
250 <conditional name="scale_data_cond"> | |
2
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
251 <param name="scale_data" type="select" label="Set data scaling parameters?" help="Default behavior is to scale signal to corresponding controls using the Normalization of ChIP-seq (NCIS) method.[2]"> |
0 | 252 <option value="no" selected="True">No</option> |
253 <option value="yes">Yes</option> | |
254 </param> | |
255 <when value="yes"> | |
256 <param name="scaling" type="select" label="Use signal vs control scaling?"> | |
257 <option value="yes" selected="True">Yes</option> | |
258 <option value="no">No</option> | |
259 </param> | |
260 <param name="medianscale" type="select" label="Use the median signal/control ratio as the scaling factor?"> | |
261 <option value="no" selected="True">No</option> | |
262 <option value="yes">Yes</option> | |
263 </param> | |
264 <param name="regressionscale" type="select" label="Use scaling by regression on binned tag counts?"> | |
265 <option value="no" selected="True">No</option> | |
266 <option value="yes">Yes</option> | |
267 </param> | |
268 <param name="sesscale" type="select" label="Estimate scaling factor by SES?" help="SES: Diaz, et al. Stat Appl Genet Mol Biol. 2012"> | |
269 <option value="no" selected="True">No</option> | |
270 <option value="yes">Yes</option> | |
271 </param> | |
272 <param name="fixedscaling" type="float" value="0.0" min="0.0" label="Multiply control counts by total tag count ratio and then by this factor" help="Set as 0 to skip" /> | |
273 <param name="scalewin" type="integer" min="0" value="500" label="Window size for estimating scaling ratios" help="The value is the number of base pairs. Use something much smaller than the default if scaling via SES (e.g. 200)." /> | |
274 <param name="plotscaling" type="select" label="Plot diagnostic information for the chosen scaling method?"> | |
275 <option value="no" selected="True">No</option> | |
276 <option value="yes">Yes</option> | |
277 </param> | |
278 </when> | |
279 <when value="no" /> | |
280 </conditional> | |
281 <!-- Running MultiGPS --> | |
282 <param name="readdistributionfile" type="data" optional="True" format="tabular" label="Optional binding event read distribution file for initializing models" help="A default initial distribution appropriate for ChIP-seq data is used if this option is not specified." /> | |
283 <param name="maxtrainingrounds" type="integer" value="3" min="0" label="Maximum number of training rounds for updating binding event read distributions" /> | |
284 <param name="nomodelupdate" type="select" label="Perform binding model updates?"> | |
285 <option value="yes" selected="True">Yes</option> | |
286 <option value="no">No</option> | |
287 </param> | |
288 <param name="minmodelupdateevents" type="integer" value="500" min="0" label="Minimum number of events to support an update of the read distribution" /> | |
289 <conditional name="binding_model_smoothing_cond"> | |
290 <param name="nomodelsmoothing" type="select" label="Perform binding model smoothing?" help="Smoothing performed with a cubic spline."> | |
291 <option value="yes" selected="True">Yes</option> | |
292 <option value="no">No</option> | |
293 </param> | |
294 <when value="yes"> | |
295 <param name="splinesmoothparam" type="integer" value="30" min="0" label="Spline smoothing parameter" /> | |
296 </when> | |
297 <when value="no" /> | |
298 </conditional> | |
299 <conditional name="gauss_model_smoothing_cond"> | |
300 <param name="gaussmodelsmoothing" type="select" label="Use Gaussian model smoothing?" help="Select No to smooth with a cubic spline."> | |
301 <option value="no" selected="True">No</option> | |
302 <option value="yes">Yes</option> | |
303 </param> | |
304 <when value="no" /> | |
305 <when value="yes"> | |
306 <param name="gausssmoothparam" type="integer" value="3" min="0" label="Smoothing factor" help="Gaussian smoothing standard deviation." /> | |
307 </when> | |
308 </conditional> | |
309 <param name="jointinmodel" type="select" label="Allow joint events in model updates?"> | |
310 <option value="no" selected="True">No</option> | |
311 <option value="yes">Yes</option> | |
312 </param> | |
313 <param name="fixedmodelrange" type="select" label="Keep binding model range fixed to inital size?" help="Select No to vary automatically"> | |
314 <option value="no" selected="True">No</option> | |
315 <option value="yes">Yes</option> | |
316 </param> | |
317 <param name="prlogconf" type="integer" value="-6" label="Poisson log threshold for potential region scanning" /> | |
318 <param name="fixedalpha" type="integer" value="0" min="0" label="Impose this alpha" help="This is a sparse prior on binding events in the MultiGPS model. It can be interpreted as a minimum number of reads that each binding event must be responsible for in the model. A zero value will estimate the alpha automatically." /> | |
319 <param name="alphascale" type="float" value="1.0" min="0" label="Alpha scaling factor" /> | |
320 <param name="mlconfignotshared" type="select" label="Share component configs in the ML step?" help="Mainly affects the quantification of binding levels for binding events that are not shared but are located at nearby locations across experiments."> | |
321 <option value="yes" selected="True">Yes</option> | |
322 <option value="no">No</option> | |
323 </param> | |
324 <param name="exclude" type="data" optional="True" format="txt" label="Optional file containing a set of regions to ignore during MultiGPS training" help="Ideally exclude the mitochondrial genome and other blacklisted regions that contain artifactual accumulations of reads in both ChIP-seq and control experiments." /> | |
325 <!-- MultiGPS priors --> | |
326 <conditional name="use_motif_cond"> | |
327 <param name="use_motif" type="select" label="Perform motif-finding or use a motif-prior?"> | |
328 <option value="no" selected="True">No</option> | |
329 <option value="yes">Yes</option> | |
330 </param> | |
331 <when value="yes"> | |
332 <!-- Specifying the genome --> | |
333 <conditional name="reference_genome_cond"> | |
334 <param name="reference_genome_source" type="select" label="Choose the source for the reference genome"> | |
335 <option value="cached">locally cached</option> | |
336 <option value="history">from history</option> | |
337 </param> | |
338 <when value="cached"> | |
339 <param name="reference_genome" type="select" label="Using reference genome"> | |
340 <options from_data_table="all_fasta"> | |
2
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
341 <!-- <filter type="data_meta" key="dbkey" ref="expt" column="1"/> does not yet work in a repeat...--> |
0 | 342 </options> |
343 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/> | |
344 </param> | |
345 </when> | |
346 <when value="history"> | |
347 <param name="reference_genome" type="data" format="fasta" label="Using reference genome"> | |
348 <options> | |
2
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
349 <!-- <filter type="data_meta" key="dbkey" ref="expt"/> does not yet work in a repeat...--> |
0 | 350 </options> |
351 <validator type="no_options" message="The current history does not include a fasta dataset with the build associated with the selected input file"/> | |
352 </param> | |
353 </when> | |
354 </conditional> | |
355 <!-- MultiGPS priors options --> | |
356 <conditional name="multigps_priors_cond"> | |
357 <param name="multigps_priors" type="select" label="Specify MultiGPS priors options?"> | |
358 <option value="no" selected="True">No</option> | |
359 <option value="yes">Yes</option> | |
360 </param> | |
361 <when value="no" /> | |
362 <when value="yes"> | |
363 <param name="noposprior" type="select" label="Perform inter-experiment positional prior?"> | |
364 <option value="yes" selected="True">Yes</option> | |
365 <option value="no">No</option> | |
366 </param> | |
367 <param name="probshared" type="float" value="0.9" min="0.0" label="Probability that events are shared across conditions" /> | |
368 <conditional name="both_motifs_cond"> | |
369 <param name="nomotifs" type="select" label="Perform both motif-finding and motif priors?"> | |
370 <option value="yes" selected="True">Yes</option> | |
371 <option value="no">No</option> | |
372 </param> | |
373 <when value="yes"> | |
374 <expand macro="motif_finding_params" /> | |
375 </when> | |
376 <when value="no"> | |
377 <conditional name="nomotifprior_cond"> | |
378 <param name="nomotifprior" type="select" label="Perform motif-finding only?" help="Selecting Yes turns off motif priors."> | |
379 <option value="no" selected="True">No</option> | |
380 <option value="yes">Yes</option> | |
381 </param> | |
382 <when value="no" /> | |
383 <when value="yes"> | |
384 <expand macro="motif_finding_params" /> | |
385 </when> | |
386 </conditional> | |
387 </when> | |
388 </conditional> | |
389 </when> | |
390 </conditional> | |
391 </when> | |
392 <when value="no" /> | |
393 </conditional> | |
394 <!-- Reporting binding events --> | |
395 <conditional name="report_binding_events_cond"> | |
396 <param name="report_binding_events" type="select" label="Report binding events?"> | |
397 <option value="no" selected="True">No</option> | |
398 <option value="yes">Yes</option> | |
399 </param> | |
400 <when value="no" /> | |
401 <when value="yes"> | |
402 <param name="minqvalue" type="float" min="0" value="0.001" label="Minimum Q-value (corrected p-value) of reported binding events" /> | |
403 <param name="minfold" type="float" min="0" value="1.5" label="Minimum event fold-change vs scaled control" /> | |
404 <param name="nodifftests" type="select" label="Run differential enrichment tests?"> | |
405 <option value="yes" selected="True">Yes</option> | |
406 <option value="no">No</option> | |
407 </param> | |
408 <param name="edgerod" type="float" min="0" value="0.15" label="EdgeR over-dispersion parameter value" /> | |
409 <param name="diffp" type="float" min="0" value="0.01" label="Minimum p-value for reporting differential enrichment" /> | |
410 </when> | |
411 </conditional> | |
412 </when> | |
413 <when value="hide" /> | |
414 </conditional> | |
2
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
415 <!-- Functional testing --> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
416 <param name="in_test_mode" type="hidden" value="no" /> |
0 | 417 </inputs> |
418 <outputs> | |
2
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
419 <data name="output_design_file" format="tabular" label="${tool.name} (design file) on ${on_string}"> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
420 <filter>save_design_file == 'yes'</filter> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
421 </data> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
422 <data name="output_bed" format="bed" label="${tool.name} (bed) on ${on_string}"/> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
423 <data name="output_html" format="html" label="${tool.name} (html) on ${on_string}"/> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
424 <data name="replicates_counts" format="tabular" label="${tool.name} (replicates counts) on ${on_string}"/> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
425 <data name="all_events_table" format="tabular" label="${tool.name} (all events table) on ${on_string}"/> |
0 | 426 </outputs> |
427 <tests> | |
428 <test> | |
2
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
429 <repeat name="condition_repeat"> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
430 <repeat name="signal_repeat"> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
431 <param name="signal" value="expt_hg19.scidx" ftype="scidx" dbkey="hg19" /> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
432 </repeat> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
433 </repeat> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
434 <param name="advanced_options" value="hide" /> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
435 <param name="in_test_mode" value="yes" /> |
0 | 436 <output name="output_html" file="hg19_output_html1.html" ftype="html" compare="contains"/> |
2
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
437 <output name="output_bed" file="hg19_output_bed1.bed" ftype="bed"/> |
0 | 438 <output name="all_events_table" file="hg19_all_events_table1.tabular" ftype="tabular"/> |
439 <output name="replicates_counts" file="hg19_replicates_counts1.tabular" ftype="tabular"/> | |
440 </test> | |
441 <test> | |
2
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
442 <repeat name="condition_repeat"> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
443 <repeat name="signal_repeat"> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
444 <param name="signal" value="expt_hg19.scidx" ftype="scidx" dbkey="hg19" /> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
445 </repeat> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
446 <repeat name="control_repeat"> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
447 <param name="control" value="cntrl_hg19.scidx" ftype="scidx" dbkey="hg19" /> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
448 </repeat> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
449 </repeat> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
450 <param name="advanced_options" value="display" /> |
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
451 <param name="in_test_mode" value="yes" /> |
0 | 452 <output name="output_html" file="hg19_output_html2.html" ftype="html" compare="contains"/> |
2
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
453 <output name="output_bed" file="hg19_output_bed2.bed" ftype="bed"/> |
0 | 454 <output name="all_events_table" file="hg19_all_events_table2.tabular" ftype="tabular"/> |
455 <output name="replicates_counts" file="hg19_replicates_counts2.tabular" ftype="tabular"/> | |
456 </test> | |
457 </tests> | |
458 <help> | |
459 | |
460 **What it does** | |
461 | |
462 MultiGPS is a framework for analyzing collections of multi-condition ChIP-seq datasets and characterizing | |
463 differential binding events between conditions. MultiGPS encourages consistency in the reported binding | |
464 event locations across conditions and provides accurate estimation of ChIP enrichment levels at each event. | |
465 MultiGPS performs significant EM optimization of binding events along the genome and across experimental | |
466 conditions, and it integrates motif-finding via MEME. The tool loads all data into memory, so the potential | |
467 exists for time and memory intensive analyses if running over many conditions or large datasets. | |
468 | |
469 ----- | |
470 | |
471 **Options** | |
472 | |
473 * **Loading data:** | |
474 | |
2
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
475 - **Optional file containing reads from a control experiment** - file containing reads from a control experiment |
0 | 476 - **Fixed per-base limit** - Fixed per-base limit (default: estimated from background model). |
477 - **Poisson threshold for filtering per base** - Look at neighboring positions to decide what the per-base limit should be. | |
478 - **Use non-unique reads** - Use non-unique reads. | |
479 - **Fraction of the genome that is mappable for these experiments** - Fraction of the genome that is mappable for these experiments | |
480 - **Turn off caching of the entire set of experiments?** - Flag to turn off caching of the entire set of experiments (i.e. run slower with less memory). | |
481 | |
482 * **Scaling control vs signal counts:** | |
483 | |
484 - **Use signal vs control scaling?** - Flag to turn off auto estimation of signal vs control scaling factor | |
485 - **Use the median signal/control ratio as the scaling factor?** - Flag to use scaling by median ratio (default = scaling by NCIS). | |
486 - **Use scaling by regression on binned tag counts?** - Flag to use scaling by regression (default = scaling by NCIS). | |
487 - **Estimate scaling factor by SES?** - Specify whether to estimate scaling factor by SES. | |
488 - **Multiply control counts by total tag count ratio and then by this factor** - Multiply control counts by total tag count ratio and then by this factor (default: NCIS). | |
489 - **Window size for estimating scaling ratios** - Window size in base pairs for estimating scaling ratios | |
490 - **Plot diagnostic information for the chosen scaling method?** - Flag to plot diagnostic information for the chosen scaling method. | |
491 | |
492 * **Running MultiGPS:** | |
493 | |
494 - **Optional binding event read distribution file** - Binding event read distribution file for initializing models. The true distribution of reads around binding events is estimated during MultiGPS training. A default initial distribution appropriate for ChIP-seq data is used if this option is not specified. | |
495 - **Maximum number of training rounds for updating binding event read distributions** - Maximum number of training rounds for updating binding event read distributions. | |
496 - **Perform binding model updates?** - Perform binding model updates? | |
497 - **Minimum number of events to support an update of the read distribution** - Minimum number of events to support an update of the read distribution | |
498 - **Perform binding model smoothing?** - Smooth with a cubic spline using a specified smoothing factor. | |
499 - **Spline smoothing parameter** - Smoothing parameter for smoothing cubic spline. | |
500 - **Perform Gaussian model smoothing?** - Select "Yes" to use Gaussian model smoothing using a specified smoothing factor if binding model smoothing is not performed. | |
501 - **Allow joint events in model updates?** - Specify whether to allow joint events in model updates. | |
502 - **Keep binding model range fixed to inital size?** - Flag to keep binding model range fixed to inital size (default: vary automatically) | |
503 - **Poisson log threshold for potential region scanning** - Poisson log threshold for potential region scanning. | |
504 - **Alpha scaling factor** - Alpha scaling factor. Increasing this parameter results in stricter binding event calls. | |
505 - **Impose this alpha** - The alpha parameter is a sparse prior on binding events in the MultiGPS model. It can be interpreted as a minimum number of reads that each binding event must be responsible for in the model. Default: estimate alpha automatically. | |
506 - **Share component configs in the ML step?** - Flag to not share component configs in the ML step | |
507 - **Optional file containing a set of regions to ignore during MultiGPS training** - File containing a set of regions to ignore during MultiGPS training. It’s a good idea to exclude the mitochondrial genome and other ‘blacklisted’ regions that contain artifactual accumulations of reads in both ChIP-seq and control experiments. MultiGPS will waste time trying to model binding events in these regions, even though they will not typically appear significantly enriched over the control (and thus will not be reported to the user). | |
508 | |
509 * **MultiGPS priors:** | |
510 | |
511 - **Perform inter-experiment positional prior?** - Flag to turn off inter-experiment positional prior (default=on). | |
512 - **Probability that events are shared across conditions** - Probability that events are shared across conditions. | |
513 - **Perform both motif-finding and motif priors?** - Flag to turn off motif-finding and motif priors. | |
514 - **Perform motif-finding only?** - Flag to turn off motif priors only. | |
515 - **Number of motifs MEME should find for each condition** - Number of motifs MEME should find for each condition. | |
516 - **Minimum motif width for MEME** - minw arg for MEME. | |
517 - **Maximum motif width for MEME** - maxw arg for MEME. | |
518 | |
519 * **Reporting binding events:** | |
520 | |
521 - **Minimum Q-value (corrected p-value) of reported binding events** - Minimum Q-value (corrected p-value) of reported binding events. | |
522 - **Minimum event fold-change vs scaled control** - Minimum event fold-change vs scaled control. | |
523 - **Run differential enrichment tests?** - Choose whether to run differential enrichment tests. | |
524 - **EdgeR over-dispersion parameter value** - EdgeR over-dispersion parameter value. | |
525 - **Minimum p-value for reporting differential enrichment** - Minimum p-value for reporting differential enrichment. | |
526 | |
527 </help> | |
528 <citations> | |
529 <citation type="doi">10.1371/journal.pcbi.1003501</citation> | |
530 </citations> | |
531 </tool> | |
2
028fafca04fa
"planemo upload commit 9e4d2776d6b3276e2849943439799b82d989bc3b"
iuc
parents:
1
diff
changeset
|
532 |