annotate annotateBedWrapper.xml @ 9:6935cb1ed000 draft default tip

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