annotate merge.xml @ 4:a2f62c0c0537 draft

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/merge commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
author devteam
date Fri, 18 Dec 2015 19:39:00 -0500
parents 1e9d95cae35f
children dfbbc0291b36
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
72e1fdd8e7ae Corrected version string.
devteam <devteam@galaxyproject.org>
parents: 0
diff changeset
1 <tool id="gops_merge_1" name="Merge" version="1.0.0">
0
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
2 <description>the overlapping intervals of a dataset</description>
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
3 <requirements>
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
4 <requirement type="package" version="0.7.1">bx-python</requirement>
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
5 <requirement type="package" version="1.0.0">galaxy-ops</requirement>
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
6 </requirements>
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
7 <command interpreter="python">gops_merge.py $input1 $output -1 ${input1.metadata.chromCol},${input1.metadata.startCol},${input1.metadata.endCol},${input1.metadata.strandCol} $returntype</command>
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
8 <inputs>
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
9 <param format="interval" name="input1" type="data">
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
10 <label>Merge overlaping regions of</label>
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
11 </param>
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
12 <param name="returntype" type="boolean" truevalue="-3" falsevalue="">
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
13 <label>Output 3 column bed</label>
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
14 </param>
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
15 </inputs>
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
16 <outputs>
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
17 <data format="input" name="output" metadata_source="input1" />
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
18 </outputs>
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
19 <code file="operation_filter.py">
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
20 <hook exec_after_process="exec_after_merge" />
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
21 </code>
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
22 <tests>
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
23 <test>
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
24 <param name="input1" value="1.bed" />
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
25 <output name="output" file="gops-merge.dat" />
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
26 <param name="returntype" value="true" />
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
27 </test>
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
28 <test>
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
29 <param name="input1" value="2_mod.bed" ftype="interval"/>
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
30 <output name="output" file="gops_merge_diffCols.dat" />
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
31 <param name="returntype" value="true" />
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
32 </test>
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
33 <test>
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
34 <param name="input1" value="gops_bigint.interval" />
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
35 <output name="output" file="gops_merge_out2.bed" />
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
36 <param name="returntype" value="true" />
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
37 </test>
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
38 </tests>
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
39 <help>
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
40
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
41 .. class:: infomark
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
42
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
43 **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.
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
44
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
45 -----
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
46
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
47 **Screencasts!**
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
48
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
49 See Galaxy Interval Operation Screencasts_ (right click to open this link in another window).
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
50
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
51 .. _Screencasts: http://wiki.g2.bx.psu.edu/Learn/Interval%20Operations
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
52
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
53 -----
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
54
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
55 This operation merges all overlapping intervals into single intervals.
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
56
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
57 **Example**
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
58
2
1e9d95cae35f Added tool image.
devteam <devteam@galaxyproject.org>
parents: 1
diff changeset
59 .. image:: gops_merge.gif
0
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
60
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
61 </help>
10ac6097acdb Imported from capsule None
devteam
parents:
diff changeset
62 </tool>