annotate concat.xml @ 1:14cbada56cc0

Added tool image.
author devteam <devteam@galaxyproject.org>
date Mon, 14 Apr 2014 09:14:56 -0400
parents f256537913a1
children 23abefbed3dd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
1 <tool id="gops_concat_1" name="Concatenate" version="1.0.1">
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
2 <description>two datasets into one dataset</description>
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
3 <requirements>
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
4 <requirement type="package" version="0.7.1">bx-python</requirement>
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
5 <requirement type="package" version="1.0.0">galaxy-ops</requirement>
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
6 </requirements>
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
7 <command interpreter="python">gops_concat.py $input1 $input2 $output -1 ${input1.metadata.chromCol},${input1.metadata.startCol},${input1.metadata.endCol},${input1.metadata.strandCol} -2 ${input2.metadata.chromCol},${input2.metadata.startCol},${input2.metadata.endCol},${input2.metadata.strandCol} $sameformat</command>
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
8 <inputs>
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
9 <param format="interval" name="input1" type="data" help="First dataset">
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
10 <label>Concatenate</label>
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
11 </param>
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
12 <param format="interval" name="input2" type="data" help="Second dataset">
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
13 <label>with</label>
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
14 </param>
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
15 <param name="sameformat" type="boolean" truevalue="--sameformat" falsevalue="" label="Both datasets are same filetype?" checked="true" help="If unchecked Second dataset will be forced into format of First dataset">
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
16 </param>
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
17 </inputs>
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
18 <outputs>
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
19 <data format="input" name="output" metadata_source="input1" />
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
20 </outputs>
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
21 <code file="operation_filter.py"/>
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
22 <tests>
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
23 <test>
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
24 <param name="input1" value="1.bed" />
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
25 <param name="input2" value="2.bed" />
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
26 <param name="sameformat" value="true" />
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
27 <output name="output" file="gops_concat_out1.bed" />
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
28 </test>
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
29 <test>
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
30 <param name="input1" value="1.bed" />
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
31 <param name="input2" value="1.interval" />
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
32 <param name="sameformat" value="false" />
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
33 <output name="output" file="gops_concat_out2.bed" />
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
34 </test>
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
35 </tests>
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
36 <help>
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
37
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
38 .. class:: infomark
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
39
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
40 **TIP:** If your dataset does not appear in the pulldown menu -> it is not in interval format. Use "edit attributes" to set chromosome, start, end, and strand columns.
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
41
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
42 -----
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
43
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
44 **Screencasts!**
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
45
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
46 See Galaxy Interval Operation Screencasts_ (right click to open this link in another window).
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
47
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
48 .. _Screencasts: http://wiki.g2.bx.psu.edu/Learn/Interval%20Operations
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
49
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
50 -----
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
51
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
52 **Syntax**
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
53
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
54 - **Both datasets are exactly the same filetype** will preserve all extra fields in both files. Leaving this unchecked will force the second dataset to use the same column assignments for chrom, start, end and strand, but will fill extra fields with a period(.). In both cases, the output fields are truncated or padded with fields of periods to maintain a truly tabular output.
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
55
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
56 -----
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
57
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
58 **Example**
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
59
1
14cbada56cc0 Added tool image.
devteam <devteam@galaxyproject.org>
parents: 0
diff changeset
60 .. image:: gops_concatenate.gif
0
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
61
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
62 </help>
f256537913a1 Imported from capsule None
devteam
parents:
diff changeset
63 </tool>