0
|
1 <tool id="annotateBed" name="annotateBed">
|
|
2
|
3
|
3 <description>Annotate BED files with overlapping BED files</description>
|
7
|
4
|
|
5 <requirements>
|
|
6 <requirement type="binary">annotateBed</requirement>
|
|
7 </requirements>
|
0
|
8
|
2
|
9 <command>
|
6
|
10 annotateBed
|
2
|
11 $countflag
|
|
12 -i '$inputRegion'
|
|
13 -names
|
5
|
14 #for $i, $s in enumerate($annotateColumn)
|
2
|
15 ${s.colname}
|
0
|
16 #end for
|
2
|
17 -files
|
5
|
18 #for $i, $s in enumerate($annotateColumn)
|
2
|
19 ${s.colfile}
|
|
20 #end for
|
|
21 > '$output'
|
0
|
22 </command>
|
|
23
|
|
24 <inputs>
|
|
25
|
|
26 <param name="countflag" type="boolean" label="Use count to annotate" truevalue="-count" falsevalue="" />
|
|
27 <param format="bed" name="inputRegion" type="data" label="The region to be annotated" />
|
|
28 <repeat name="annotateColumn" title="Column">
|
|
29 <param name="colname" type="text" label="Column name" />
|
|
30 <param name="colfile" type="data" format="bed" label="BED file to annotate for the column" />
|
|
31 </repeat>
|
|
32
|
|
33 </inputs>
|
|
34 <outputs>
|
4
|
35 <data format="bed" name="output" metadata_source="inputRegion" label="${inputRegion.name} annotated" />
|
0
|
36 </outputs>
|
|
37
|
|
38 <help>
|
|
39
|
|
40 .. class:: infomark
|
|
41
|
|
42 IMPORTANT INFORMATION
|
|
43
|
|
44 ----
|
|
45
|
|
46 WRITE HELP HERE
|
|
47
|
|
48 </help>
|
|
49
|
|
50 </tool> |