annotate tools/new_operations/complement.xml @ 0:9071e359b9a3

Uploaded
author xuebing
date Fri, 09 Mar 2012 19:37:19 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
1 <tool id="gops_complement_1" name="Complement">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
2 <description>intervals of a dataset</description>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
3 <command interpreter="python">gops_complement.py $input1 $output -1 ${input1.metadata.chromCol},${input1.metadata.startCol},${input1.metadata.endCol},${input1.metadata.strandCol} -l ${chromInfo} $allchroms</command>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
4 <inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
5 <param format="interval" name="input1" type="data">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
6 <label>Complement regions of</label>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
7 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
8 <param name="allchroms" type="boolean" truevalue="--all" falsevalue="" label="Genome-wide complement">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
9 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
10 </inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
11 <outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
12 <data format="input" name="output" metadata_source="input1" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
13 </outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
14 <code file="operation_filter.py"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
15 <tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
16 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
17 <param name="input1" value="1.bed" dbkey="?" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
18 <param name="allchroms" value="true" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
19 <output name="output" file="gops_complement_out.bed" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
20 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
21 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
22 <param name="input1" value="2_mod.bed" ftype="interval" dbkey="?" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
23 <param name="allchroms" value="true" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
24 <output name="output" file="gops_complement_out_diffCols.dat" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
25 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
26 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
27 <param name="input1" value="gops_bigint.interval" dbkey="?" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
28 <param name="allchroms" value="true" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
29 <output name="output" file="gops_complement_out2.bed" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
30 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
31 </tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
32 <help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
33
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
34 .. class:: infomark
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
35
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
36 **TIP:** If your dataset does not appear in the pulldown menu, it means that it is not in interval format. Use "edit attributes" to set chromosome, start, end, and strand columns.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
37
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
38 This operation complements the regions of a set of intervals. Regions are returned that represent the empty space in the input interval.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
39
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
40 -----
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
41
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
42 **Screencasts!**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
43
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
44 See Galaxy Interval Operation Screencasts_ (right click to open this link in another window).
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
45
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
46 .. _Screencasts: http://wiki.g2.bx.psu.edu/Learn/Interval%20Operations
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
47
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
48 -----
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
49
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
50 **Syntax**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
51
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
52 - **Genome-wide complement** will complement all chromosomes of the genome. Leaving this option unchecked will only complement chromosomes present in the dataset.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
53
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
54 -----
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
55
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
56 **Example**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
57
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
58 .. image:: ./static/operation_icons/gops_complement.gif
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
59
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
60 </help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
61 </tool>