annotate catWrapper.xml @ 1:201c568972c3 draft default tip

planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit aaca5edd2777ff8fdd13055f11ca9912cb580d2f
author mvdbeek
date Fri, 11 Mar 2016 06:06:16 -0500
parents 1e06fa2771f9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
1 <tool id="cat_multiple" name="Concatenate multiple datasets" version="0.2">
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
2 <description>tail-to-head</description>
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
3 <command><![CDATA[
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
4 cat
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
5 #for $file in $input
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
6 "$file"
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
7 #end for
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
8 > "$out_file1"
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
9 ]]>
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
10 </command>
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
11 <inputs>
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
12 <param name="input" type="data" label="Concatenate Dataset" multiple="True"/>
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
13 </inputs>
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
14 <outputs>
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
15 <data name="out_file1" format_source="input" metadata_source="input"/>
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
16 </outputs>
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
17 <tests>
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
18 <test>
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
19 <param name="input" value="1.bed,2.bed"/>
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
20 <output name="out_file1" file="cat_wrapper_out1.bed"/>
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
21 </test>
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
22 </tests>
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
23 <help>
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
24
1
201c568972c3 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit aaca5edd2777ff8fdd13055f11ca9912cb580d2f
mvdbeek
parents: 0
diff changeset
25 .. class:: warningmark
0
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
26
1
201c568972c3 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit aaca5edd2777ff8fdd13055f11ca9912cb580d2f
mvdbeek
parents: 0
diff changeset
27 **WARNING:** Be careful not to concatenate datasets of different kinds (e.g., sequences with intervals). This tool does not check if the datasets being concatenated are in the same format.
0
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
28
1
201c568972c3 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit aaca5edd2777ff8fdd13055f11ca9912cb580d2f
mvdbeek
parents: 0
diff changeset
29 -----
0
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
30
1
201c568972c3 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit aaca5edd2777ff8fdd13055f11ca9912cb580d2f
mvdbeek
parents: 0
diff changeset
31 **What it does**
0
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
32
1
201c568972c3 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit aaca5edd2777ff8fdd13055f11ca9912cb580d2f
mvdbeek
parents: 0
diff changeset
33 Concatenates datasets
0
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
34
1
201c568972c3 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit aaca5edd2777ff8fdd13055f11ca9912cb580d2f
mvdbeek
parents: 0
diff changeset
35 -----
0
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
36
1
201c568972c3 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit aaca5edd2777ff8fdd13055f11ca9912cb580d2f
mvdbeek
parents: 0
diff changeset
37 **Example**
0
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
38
1
201c568972c3 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit aaca5edd2777ff8fdd13055f11ca9912cb580d2f
mvdbeek
parents: 0
diff changeset
39 Concatenating Dataset::
0
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
40
1
201c568972c3 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit aaca5edd2777ff8fdd13055f11ca9912cb580d2f
mvdbeek
parents: 0
diff changeset
41 chrX 151087187 151087355 A 0 -
201c568972c3 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit aaca5edd2777ff8fdd13055f11ca9912cb580d2f
mvdbeek
parents: 0
diff changeset
42 chrX 151572400 151572481 B 0 +
0
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
43
1
201c568972c3 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit aaca5edd2777ff8fdd13055f11ca9912cb580d2f
mvdbeek
parents: 0
diff changeset
44 with Dataset1::
0
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
45
1
201c568972c3 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit aaca5edd2777ff8fdd13055f11ca9912cb580d2f
mvdbeek
parents: 0
diff changeset
46 chr1 151242630 151242955 X 0 +
201c568972c3 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit aaca5edd2777ff8fdd13055f11ca9912cb580d2f
mvdbeek
parents: 0
diff changeset
47 chr1 151271715 151271999 Y 0 +
201c568972c3 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit aaca5edd2777ff8fdd13055f11ca9912cb580d2f
mvdbeek
parents: 0
diff changeset
48 chr1 151278832 151279227 Z 0 -
0
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
49
1
201c568972c3 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit aaca5edd2777ff8fdd13055f11ca9912cb580d2f
mvdbeek
parents: 0
diff changeset
50 and with Dataset2::
0
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
51
1
201c568972c3 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit aaca5edd2777ff8fdd13055f11ca9912cb580d2f
mvdbeek
parents: 0
diff changeset
52 chr2 100000030 200000955 P 0 +
201c568972c3 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit aaca5edd2777ff8fdd13055f11ca9912cb580d2f
mvdbeek
parents: 0
diff changeset
53 chr2 100000015 200000999 Q 0 +
0
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
54
1
201c568972c3 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit aaca5edd2777ff8fdd13055f11ca9912cb580d2f
mvdbeek
parents: 0
diff changeset
55 will result in the following::
0
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
56
1
201c568972c3 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit aaca5edd2777ff8fdd13055f11ca9912cb580d2f
mvdbeek
parents: 0
diff changeset
57 chrX 151087187 151087355 A 0 -
201c568972c3 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit aaca5edd2777ff8fdd13055f11ca9912cb580d2f
mvdbeek
parents: 0
diff changeset
58 chrX 151572400 151572481 B 0 +
201c568972c3 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit aaca5edd2777ff8fdd13055f11ca9912cb580d2f
mvdbeek
parents: 0
diff changeset
59 chr1 151242630 151242955 X 0 +
201c568972c3 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit aaca5edd2777ff8fdd13055f11ca9912cb580d2f
mvdbeek
parents: 0
diff changeset
60 chr1 151271715 151271999 Y 0 +
201c568972c3 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit aaca5edd2777ff8fdd13055f11ca9912cb580d2f
mvdbeek
parents: 0
diff changeset
61 chr1 151278832 151279227 Z 0 -
201c568972c3 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit aaca5edd2777ff8fdd13055f11ca9912cb580d2f
mvdbeek
parents: 0
diff changeset
62 chr2 100000030 200000955 P 0 +
201c568972c3 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit aaca5edd2777ff8fdd13055f11ca9912cb580d2f
mvdbeek
parents: 0
diff changeset
63 chr2 100000015 200000999 Q 0 +
0
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
64
1
201c568972c3 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit aaca5edd2777ff8fdd13055f11ca9912cb580d2f
mvdbeek
parents: 0
diff changeset
65 -----
0
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
66
1
201c568972c3 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit aaca5edd2777ff8fdd13055f11ca9912cb580d2f
mvdbeek
parents: 0
diff changeset
67 Adapted from galaxy's catWrapper.xml to allow multiple input files
201c568972c3 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit aaca5edd2777ff8fdd13055f11ca9912cb580d2f
mvdbeek
parents: 0
diff changeset
68
0
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
69 </help>
1e06fa2771f9 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concatenate_multiple_datasets commit 1542edc9d7c2b1e9649c52532a5630e23ac5ceda
mvdbeek
parents:
diff changeset
70 </tool>