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