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