annotate concat.xml @ 1:855580142a12

Added tool image.
author devteam <devteam@galaxyproject.org>
date Mon, 14 Apr 2014 09:15:48 -0400
parents 8aa939ace6ba
children 32e1c8dac438
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
1 <tool id="gops_concat_1" name="Concatenate" version="1.0.1">
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
2 <description>two datasets into one dataset</description>
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
3 <requirements>
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
4 <requirement type="package" version="0.7.1">bx-python</requirement>
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
5 <requirement type="package" version="1.0.0">galaxy-ops</requirement>
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
6 </requirements>
8aa939ace6ba 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>
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
8 <inputs>
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
9 <param format="interval" name="input1" type="data" help="First dataset">
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
10 <label>Concatenate</label>
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
11 </param>
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
12 <param format="interval" name="input2" type="data" help="Second dataset">
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
13 <label>with</label>
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
14 </param>
8aa939ace6ba 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">
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
16 </param>
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
17 </inputs>
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
18 <outputs>
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
19 <data format="input" name="output" metadata_source="input1" />
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
20 </outputs>
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
21 <code file="operation_filter.py"/>
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
22 <tests>
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
23 <test>
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
24 <param name="input1" value="1.bed" />
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
25 <param name="input2" value="2.bed" />
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
26 <param name="sameformat" value="true" />
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
27 <output name="output" file="gops_concat_out1.bed" />
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
28 </test>
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
29 <test>
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
30 <param name="input1" value="1.bed" />
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
31 <param name="input2" value="1.interval" />
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
32 <param name="sameformat" value="false" />
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
33 <output name="output" file="gops_concat_out2.bed" />
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
34 </test>
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
35 </tests>
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
36 <help>
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
37
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
38 .. class:: infomark
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
39
8aa939ace6ba 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.
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
41
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
42 -----
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
43
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
44 **Screencasts!**
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
45
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
46 See Galaxy Interval Operation Screencasts_ (right click to open this link in another window).
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
47
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
48 .. _Screencasts: http://wiki.g2.bx.psu.edu/Learn/Interval%20Operations
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
49
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
50 -----
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
51
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
52 **Syntax**
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
53
8aa939ace6ba 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.
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
55
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
56 -----
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
57
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
58 **Example**
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
59
1
855580142a12 Added tool image.
devteam <devteam@galaxyproject.org>
parents: 0
diff changeset
60 .. image:: gops_concatenate.gif
0
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
61
8aa939ace6ba Imported from capsule None
devteam
parents:
diff changeset
62 </help>
1
855580142a12 Added tool image.
devteam <devteam@galaxyproject.org>
parents: 0
diff changeset
63 </tool>