3
|
1 <tool id="region_motif_intersect" name="Region Motif Intersect">
|
|
2 <description>for computing the motifs that lie inside a region set</description>
|
|
3 <command interpreter="Rscript">
|
|
4 region_motif_intersect.r --args $bgz_file.fields.path $tbi_file.fields.path $in_bed $out_tab
|
|
5 </command>
|
|
6 <inputs>
|
|
7 <param name="in_bed" type="data" format="bed" label="Input BED File" />
|
|
8
|
|
9 <param name="bgz_file" type="select" label="Using motif database BGZ file">
|
|
10 <options from_data_table="motif_databases"/>
|
|
11 </param>
|
|
12 <param name="tbi_file" type="select" label="Using motif database TBI file">
|
|
13 <options from_data_table="motif_databases"/>
|
|
14 </param>
|
|
15
|
|
16 <!--<param name="db_type" type="select" label="Select Motif Database" >
|
|
17 <option value="t">Test Encode Motifs (hg19)</option>
|
|
18 <option value="e">Encode Motifs (hg19)</option>
|
|
19 <option value="j">Jaspar and Jolma Motifs (hg19)</option>
|
|
20 <option value="m">Mouse Motifs (mm9)</option>
|
|
21 </param>-->
|
|
22 </inputs>
|
|
23 <outputs>
|
|
24 <data name="out_tab" format="tabular" />
|
|
25 </outputs>
|
|
26
|
|
27 <tests>
|
|
28 <test>
|
|
29 <param name="in_bed" value="XXX.bed" />
|
|
30 <param name="bgz_file" value="XXX" />
|
|
31 <param name="tbi_file" value="XXX" />
|
|
32 <output name="output" file="XXX.tab" />
|
|
33 </test>
|
|
34 <test>
|
|
35 <param name="in_bed" value="XXX.bed" />
|
|
36 <param name="bgz_file" value="XXX" />
|
|
37 <param name="tbi_file" value="XXX" />
|
|
38 <output name="out_tab" file="XXX.tab" />
|
|
39 </test>
|
|
40 </tests>
|
|
41
|
|
42 <help>
|
|
43 This tool computes the motifs and the number of motifs that intersect
|
|
44 any region in a input set of regions.
|
|
45 </help>
|
|
46
|
|
47 </tool> |