3
|
1 <tool id="region_motif_compare" name="Region Motif Count Compare">
|
|
2 <description>for comparing the motif counts in different region sets</description>
|
|
3 <requirements>
|
|
4 <requirement type="set_environment">RMOTIF_PATH</requirement>
|
|
5 </requirements>
|
|
6 <command interpreter="Rscript">
|
5
|
7 region_motif_compare.r --args \$RMOTIF_PATH $pwm_file.fields.path $in_tab_a $in_tab_b
|
|
8 $out_enriched_a
|
|
9 $out_enriched_b
|
3
|
10 $out_plots
|
|
11 </command>
|
|
12 <inputs>
|
5
|
13 <param name="in_tab_a" type="data" format="tabular" label="Region Set A Motif Count File"/>
|
|
14 <param name="in_tab_b" type="data" format="tabular" label="Region Set B Motif Count File"/>
|
3
|
15
|
|
16 <param name="pwm_file" type="select" label="Using motif database PWM file">
|
|
17 <options from_data_table="motif_databases"/>
|
|
18 </param>
|
|
19 </inputs>
|
|
20
|
|
21 <outputs>
|
5
|
22 <data name="out_enriched_a" format="tabular" label="Enriched Motifs in Region Set A"/>
|
|
23 <data name="out_enriched_b" format="tabular" label="Enriched Motifs in Region Set B"/>
|
3
|
24 <data name="out_plots" format="png" label="Motif Count Comparison Plots"/>
|
|
25 </outputs>
|
|
26
|
5
|
27 <!--
|
3
|
28 <tests>
|
|
29 <test>
|
|
30 <param name="in_tab_1" value="XXX.tab" />
|
|
31 <param name="in_tab_2" value="XXX.tab" />
|
|
32 <param name="pwm_file" value="XXX.meme.txt" />
|
|
33 <output name="out_enriched" file="XXX.tab" />
|
|
34 <output name="out_depleted" file="XXX.tab" />
|
|
35 <output name="out_plots" file="XXX.png" />
|
|
36 </test>
|
|
37 </tests>
|
5
|
38 -->
|
3
|
39
|
|
40 <help>
|
|
41 This tools reads in two counts file and determines enriched and depleted
|
|
42 motifs in two different region sets based on poisson calculation with
|
|
43 gc correction.
|
|
44 </help>
|
|
45
|
|
46 </tool> |