annotate annotateBedWrapper.xml @ 1:bfb51c7bfa8a draft

Uploaded
author xiaoyi-cao
date Sun, 02 Dec 2012 15:49:32 -0500
parents 22e0f531e390
children f878353c82d0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
1 <tool id="annotateBed" name="Annotates">
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
2
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
3 <description> the depth &amp; breadth of coverage of features from multiple files
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
4 </description>
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
5
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
6 <requirements>
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
7 <requirement type="binary">annotateBed</requirement>
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
8 <requirement type="package">bedtools</requirement>
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
9 </requirements>
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
10
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
11 <command>
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
12 annotateBed
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
13 $countflag
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
14 -i '$inputRegion'
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
15 -names
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
16 #for $i, $s in enumerate($annotateColumn)
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
17 '${s.colname}'
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
18 #end for
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
19 -files
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
20 #for $i, $s in enumerate($annotateColumn)
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
21 '${s.colfile}'
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
22 #end for
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
23 &gt; '$output'
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
24 </command>
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
25
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
26 <inputs>
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
27
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
28 <param format="bed" name="inputRegion" type="data" label="The regions to be annotated is in this file:" />
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
29 <param name="countflag" type="select" label="What to report in the output: ">
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
30 <option value="-counts" selected="true">the count of features in each file that overlap the regions</option>
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
31 <option value="">fraction of the region covered by each feature</option>
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
32 <option value="-both">Report the counts followed by the % coverage</option>
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
33 </param>
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
34 <repeat name="annotateColumn" title="Column">
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
35 <param name="colname" type="text" label="Feature name" />
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
36 <param name="colfile" type="data" format="bed" label="Feature file to annotate for the column" />
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
37 </repeat>
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
38
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
39 </inputs>
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
40 <outputs>
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
41 <data format="bed" name="output" label="${inputRegion.name} annotated" />
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
42 </outputs>
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
43
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
44 <help>
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
45
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
46 **What it does**
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
47
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
48 This tool is used to annotate the regions in a bed file with features provided in multiple BED files.
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
49
1
bfb51c7bfa8a Uploaded
xiaoyi-cao
parents: 0
diff changeset
50 .. class:: warningmark
0
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
51
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
52 This tool requires that bedtools__ has been installed on your system.
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
53
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
54 -----
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
55
1
bfb51c7bfa8a Uploaded
xiaoyi-cao
parents: 0
diff changeset
56 .. __: http://code.google.com/p/bedtools/
bfb51c7bfa8a Uploaded
xiaoyi-cao
parents: 0
diff changeset
57
0
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
58 </help>
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
59
22e0f531e390 Uploaded
xiaoyi-cao
parents:
diff changeset
60 </tool>