9
|
1 <tool id="annotateBed" name="Annotates">
|
0
|
2
|
9
|
3 <description> the depth & breadth of coverage of features from multiple files</description>
|
|
4
|
7
|
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
|
9
|
27 <param format="bed" name="inputRegion" type="data" label="The regions to be annotated is in this file:" />
|
|
28 <param name="countflag" type="select" label="What to report in the output: ">
|
|
29 <option value="-counts" selected="true">the count of features in each file that overlap the regions</option>
|
|
30 <option value="">fraction of the region covered by each feature</option>
|
|
31 <option value="-both">Report the counts followed by the % coverage</option>
|
|
32 </param>
|
0
|
33 <repeat name="annotateColumn" title="Column">
|
9
|
34 <param name="colname" type="text" label="Feature name" />
|
|
35 <param name="colfile" type="data" format="bed" label="Feature file to annotate for the column" />
|
0
|
36 </repeat>
|
|
37
|
|
38 </inputs>
|
|
39 <outputs>
|
9
|
40 <data format="bed" name="output" label="${inputRegion.name} annotated" />
|
0
|
41 </outputs>
|
|
42
|
|
43 <help>
|
|
44
|
9
|
45 **What it does**
|
0
|
46
|
9
|
47 This tool is used to annotate the regions in a bed file with features provided in multiple BED files.
|
0
|
48
|
9
|
49 ..class:: warningmark
|
0
|
50
|
9
|
51 This tool requires that bedtools__ has been installed on your system.
|
|
52
|
|
53 -----
|
0
|
54
|
|
55 </help>
|
|
56
|
|
57 </tool> |