annotate catWrapper.xml @ 5:99a5ed06b86c draft

planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
author artbio
date Mon, 24 Jun 2019 03:58:52 -0400
parents 7afc0515a307
children 4554fa330d3d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
1 <tool id="cat_multi_datasets" name="Concatenate multiple datasets" version="1.2.0">
1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
2 <description>tail-to-head by specifying how</description>
0
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
3 <command><![CDATA[
1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
4 #if $headers == 0:
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
5 #set $concat_command = "cat"
0
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
6 #else:
1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
7 #set $concat_command = 'tail -q -n +'+ str(int($headers)+1)
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
8 #end if
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
9 #if $global_condition.input_type == "singles":
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
10 #if $dataset_names == "No":
5
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
11 $concat_command
1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
12 #for $file in $global_condition.inputs
5
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
13 '$file'
1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
14 #end for
5
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
15 > '$out_file1'
1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
16 #else:
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
17 #for $file in $global_condition.inputs
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
18 #if $file.ext[-2:] == "gz":
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
19 printf "# ${file.element_identifier}\n" | gzip -c >> '$out_file1' &&
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
20 gzip -dc "$file" | $concat_command |gzip -c >> '$out_file1' &&
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
21 #else:
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
22 printf "# ${file.element_identifier}\n" >> '$out_file1' &&
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
23 $concat_command "$file" >> '$out_file1' &&
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
24 #end if
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
25 #end for
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
26 sleep 1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
27 #end if
3
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
28 #else if $global_condition.input_type == "simple_collections":
5
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
29 #if $global_condition.collections_condition.collection_cat_type == "two_collections":
3
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
30 mkdir concatenated &&
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
31 #if $dataset_names == "No":
5
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
32 #for $x, $y in zip($global_condition.collections_condition.input_1, $global_condition.collections_condition.input_2)
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
33 $concat_command '$x' '$y' > concatenated/'${x.element_identifier}.listed.${x.ext}.listed' &&
3
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
34 #end for
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
35 sleep 1
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
36 #else:
5
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
37 #for $x, $y in zip($global_condition.collections_condition.input_1, $global_condition.collections_condition.input_2)
3
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
38 #if $x.ext[-2:] == "gz":
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
39 printf "# ${x.element_identifier}\n" | gzip -c > concatenated/'${x.element_identifier}_${y.element_identifier}.listed.${x.ext}.listed' &&
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
40 gzip -dc '$x' | $concat_command | gzip -c >> concatenated/'${x.element_identifier}_${y.element_identifier}.listed.${x.ext}.listed' &&
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
41 printf "# ${y.element_identifier}\n" | gzip -c >> concatenated/'${x.element_identifier}_${y.element_identifier}.listed.${x.ext}.listed' &&
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
42 gzip -dc '$y' | $concat_command | gzip -c >> concatenated/'${x.element_identifier}_${y.element_identifier}.listed.${x.ext}.listed' &&
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
43 #else:
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
44 printf "# ${x.element_identifier}\n" > concatenated/'${x.element_identifier}_${y.element_identifier}.listed.${x.ext}.listed' &&
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
45 $concat_command '$x'>> concatenated/'${x.element_identifier}_${y.element_identifier}.listed.${x.ext}.listed' &&
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
46 printf "# ${y.element_identifier}\n" >> concatenated/'${x.element_identifier}_${y.element_identifier}.listed.${x.ext}.listed' &&
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
47 $concat_command '$y' >> concatenated/'${x.element_identifier}_${y.element_identifier}.listed.${x.ext}.listed' &&
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
48 #end if
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
49 #end for
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
50 sleep 1
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
51 #end if
5
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
52 #end if
1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
53 #else if $global_condition.input_type == "paired_collection":
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
54 #if $global_condition.paired_cat_type == "by_strand":
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
55 #if $dataset_names == "No":
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
56 #for $file in $global_condition.inputs
5
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
57 $concat_command
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
58 $file['forward']
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
59 >> '$forward' &&
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
60 $concat_command
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
61 $file['reverse']
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
62 >> '$reverse' &&
1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
63 #end for
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
64 sleep 1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
65 #else:
5
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
66 #for $file in $global_condition.inputs.keys()
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
67 printf "# ${file}_forward\n" >> '$forward' &&
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
68 $concat_command
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
69 $global_condition.inputs[$file]['forward']
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
70 >> '$forward' &&
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
71 printf "# ${file}_reverse\n" >> '$reverse' &&
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
72 $concat_command
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
73 $global_condition.inputs[$file]['reverse']
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
74 >> '$reverse' &&
1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
75 #end for
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
76 sleep 1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
77 #end if
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
78 #else if $global_condition.paired_cat_type == "by_pair":
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
79 mkdir concatenated &&
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
80 #if $dataset_names == "No":
5
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
81 #for $file in $global_condition.inputs.keys()
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
82 $concat_command
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
83 $global_condition.inputs[$file]['forward']
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
84 > concatenated/'${file}.listed.${global_condition.inputs[$file]['reverse'].ext}.listed' &&
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
85 $concat_command
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
86 $global_condition.inputs[$file]['reverse']
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
87 >> concatenated/'${file}.listed.${global_condition.inputs[$file]['reverse'].ext}.listed' &&
1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
88 #end for
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
89 sleep 1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
90 #else:
5
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
91 #for $file in $global_condition.inputs.keys()
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
92 printf "# ${file}_forward\n" > concatenated/'${file}.listed.${global_condition.inputs[$file]['reverse'].ext}.listed' &&
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
93 $concat_command
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
94 $global_condition.inputs[$file]['forward']
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
95 >> concatenated/'${file}.listed.${global_condition.inputs[$file]['reverse'].ext}.listed' &&
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
96 printf "# ${file}_reverse\n" >> concatenated/'${file}.listed.${global_condition.inputs[$file]['reverse'].ext}.listed' &&
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
97 $concat_command
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
98 $global_condition.inputs[$file]['reverse']
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
99 >> concatenated/'${file}.listed.${global_condition.inputs[$file]['reverse'].ext}.listed' &&
1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
100 #end for
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
101 sleep 1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
102 #end if
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
103 #else if $global_condition.paired_cat_type == "all":
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
104 #if $dataset_names == "No":
5
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
105 #for $file in $global_condition.inputs.keys()
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
106 $concat_command
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
107 $global_condition.inputs[$file]['forward']
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
108 >> $out_file1 &&
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
109 $concat_command
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
110 $global_condition.inputs[$file]['reverse']
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
111 >> $out_file1 &&
1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
112 #end for
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
113 sleep 1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
114 #else:
5
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
115 #for $file in $global_condition.inputs.keys()
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
116 printf "# ${file}_forward\n" > $out_file1 &&
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
117 $concat_command
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
118 $global_condition.inputs[$file]['forward']
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
119 >> $out_file1 &&
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
120 printf "# ${file}_reverse\n" >> $out_file1 &&
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
121 $concat_command
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
122 $global_condition.inputs[$file]['reverse']
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
123 >> $out_file1 &&
1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
124 #end for
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
125 sleep 1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
126 #end if
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
127 #end if
0
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
128 #end if
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
129 ]]>
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
130 </command>
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
131 <inputs>
1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
132 <conditional name="global_condition">
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
133 <param name="input_type" type="select" label="What type of data do you wish to concatenate?" help="Depending on the type of input selected the concatenation options will differ">
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
134 <option value="singles">Single datasets</option>
5
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
135 <option value="simple_collections">Collections</option>
1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
136 <option value="paired_collection">Paired collection</option>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
137 </param>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
138 <when value="singles">
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
139 <param name="inputs" type="data" label="Concatenate Datasets" multiple="True" help="All inputed datasets will be concatenated tail-to-head."/>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
140 </when>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
141 <when value="paired_collection">
3
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
142 <param name="inputs" type="data_collection" collection_type="list:paired" label="Input paired collection to concatenate"/>
1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
143 <param name="paired_cat_type" type="select" label="What type of concatenation do you wish to perform?">
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
144 <option value="by_strand">Concatenate all datsets of same strand (outputs a single pair of datasets)</option>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
145 <option value="by_pair">Concatenate pairs of datasets (outputs an unpaired collection of datasets)</option>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
146 <option value="all">Concatenate all datasets into a single file regardless of strand (outputs a single file)</option>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
147 </param>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
148 </when>
3
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
149 <when value="simple_collections">
5
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
150 <conditional name="collections_condition">
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
151 <param name="collection_cat_type" type="select" label="What type of concatenation do you wish to perform?">
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
152 <option value="two_collections">Concatenate datasets of 2 collections (outputs a simple collection)</option>
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
153 </param>
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
154 <when value="two_collections">
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
155 <param name="input_1" type="data_collection" collection_type="list" label="Input first collection" help="The first collection contains the datasets that will be written first in the concatenated file" />
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
156 <param name="input_2" type="data_collection" collection_type="list" label="Input second collection" help="The second collection contains the datasets that will be written last in the concatenated file" />
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
157 </when>
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
158 </conditional>
3
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
159 </when>
1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
160 </conditional>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
161 <param name="dataset_names" type="boolean" label="Include dataset names?" truevalue="Yes" falsevalue="No" checked="false" help="If 'Yes' is selected '#name of dataset' will be added when concatenating."/>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
162 <param name="headers" type="integer" label="Number of lines to skip at the beginning of each concatenation:" value="0" help="This paremeter exists so as to not concatenate comments or headers contained at the start of the files."/>
0
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
163 </inputs>
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
164 <outputs>
1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
165 <data name="out_file1" format_source="inputs" metadata_source="inputs" label="Concatenated datasets">
5
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
166 <filter>global_condition['input_type'] == 'singles' or (global_condition['input_type'] == 'paired_collection' and global_condition['paired_cat_type'] == 'all')</filter>
1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
167 </data>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
168 <collection name="paired_output" type="paired" label="Concatenation by strtand">
5
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
169 <data name="forward" />
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
170 <data name="reverse" />
1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
171 <filter>global_condition['input_type'] == 'paired_collection' and global_condition['paired_cat_type'] == 'by_strand'</filter>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
172 </collection>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
173 <collection name="list_output" type="list" label="Concatenation by pairs">
5
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
174 <discover_datasets pattern="(?P&lt;name&gt;.*)\.listed\.(?P&lt;ext&gt;.*)\.listed" visible="false" directory="concatenated"/>
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
175 <filter>(global_condition['input_type'] == 'paired_collection' and global_condition['paired_cat_type'] == 'by_pair') or (global_condition['input_type'] == 'simple_collections' and global_condition['collections_condition']['collection_cat_type'] == 'two_collections')</filter>
1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
176 </collection>
0
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
177 </outputs>
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
178 <tests>
1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
179 <!-- Single files concatenation -->
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
180 <test> <!-- Test 2 single files concatenation with no other option -->
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
181 <param name="input_type" value="singles" />
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
182 <param name="inputs" value="1.bed,2.bed"/>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
183 <param name="dataset_names" value="No" />
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
184 <param name="headers" value="0" />
0
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
185 <output name="out_file1" file="cat_wrapper_out1.bed"/>
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
186 </test>
1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
187 <test> <!-- Test 2 single files concatenation with dataset names activated -->
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
188 <param name="input_type" value="singles" />
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
189 <param name="inputs" value="1.bed,2.bed"/>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
190 <param name="dataset_names" value="Yes" />
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
191 <param name="headers" value="0" />
0
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
192 <output name="out_file1" file="cat_wrapper_out2.bed"/>
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
193 </test>
1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
194 <test> <!-- Test 2 single files concatenation skipping 1 line -->
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
195 <param name="input_type" value="singles" />
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
196 <param name="inputs" value="1.bed,2.bed"/>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
197 <param name="dataset_names" value="No" />
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
198 <param name="headers" value="1" />
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
199 <output name="out_file1" file="cat_wrapper_out3.bed"/>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
200 </test>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
201 <test> <!-- Test gz handling with no options -->
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
202 <param name="input_type" value="singles" />
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
203 <param name="inputs" value="1_f.fastq.gz,1_r.fastq.gz"/>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
204 <param name="dataset_names" value="No" />
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
205 <param name="headers" value="0" />
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
206 <output name="out_file1" file="1.fastq.gz" decompress="True"/>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
207 </test>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
208 <test> <!-- Test gz handling with options -->
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
209 <param name="input_type" value="singles" />
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
210 <param name="inputs" value="1_f.fastq.gz,1_r.fastq.gz"/>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
211 <param name="dataset_names" value="Yes" />
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
212 <param name="headers" value="4" />
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
213 <output name="out_file1" file="1_options.fastq.gz" decompress="True"/>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
214 </test>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
215 <!-- Test paired options -->
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
216 <test> <!-- Test paired collection concatenation by_pair with no other option -->
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
217 <param name="input_type" value="paired_collection" />
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
218 <param name="paired_cat_type" value="by_pair"/>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
219 <param name="inputs">
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
220 <collection type="list:paired">
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
221 <element name="2">
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
222 <collection type="paired">
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
223 <element name="forward" value="2_f.fastq"/>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
224 <element name="reverse" value="2_r.fastq"/>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
225 </collection>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
226 </element>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
227 <element name="3">
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
228 <collection type="paired">
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
229 <element name="forward" value="3_f.fastq"/>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
230 <element name="reverse" value="3_r.fastq"/>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
231 </collection>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
232 </element>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
233 <element name="4">
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
234 <collection type="paired">
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
235 <element name="forward" value="4_f.fastq"/>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
236 <element name="reverse" value="4_r.fastq"/>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
237 </collection>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
238 </element>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
239 </collection>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
240 </param>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
241 <param name="dataset_names" value="No" />
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
242 <param name="headers" value="0" />
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
243 <output_collection name="list_output" type="list" >
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
244 <element name="2" file="2.fastq"/>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
245 <element name="3" file="3.fastq"/>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
246 <element name="4" file="4.fastq"/>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
247 </output_collection>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
248 </test>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
249 <test> <!-- Test paired collection concatenation by_strand with no other option -->
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
250 <param name="input_type" value="paired_collection" />
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
251 <param name="paired_cat_type" value="by_strand"/>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
252 <param name="inputs">
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
253 <collection type="list:paired">
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
254 <element name="2">
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
255 <collection type="paired">
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
256 <element name="forward" value="2_f.fastq"/>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
257 <element name="reverse" value="2_r.fastq"/>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
258 </collection>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
259 </element>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
260 <element name="3">
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
261 <collection type="paired">
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
262 <element name="forward" value="3_f.fastq"/>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
263 <element name="reverse" value="3_r.fastq"/>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
264 </collection>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
265 </element>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
266 <element name="4">
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
267 <collection type="paired">
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
268 <element name="forward" value="4_f.fastq"/>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
269 <element name="reverse" value="4_r.fastq"/>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
270 </collection>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
271 </element>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
272 </collection>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
273 </param>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
274 <param name="dataset_names" value="No" />
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
275 <param name="headers" value="0" />
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
276 <output_collection name="paired_output" type="paired" >
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
277 <element name="forward" file="f.fastq"/>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
278 <element name="reverse" file="r.fastq"/>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
279 </output_collection>
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
280 </test>
3
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
281 <test> <!-- Test 2 collections concatenation -->
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
282 <param name="input_type" value="simple_collections" />
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
283 <param name="collection_cat_type" value="two_collections"/>
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
284 <param name="input_1">
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
285 <collection type="list">
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
286 <element name="2" value="2_f.fastq"/>
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
287 <element name="3" value="3_f.fastq"/>
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
288 <element name="4" value="4_f.fastq"/>
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
289 </collection>
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
290 </param>
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
291 <param name="input_2">
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
292 <collection type="list">
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
293 <element name="2" value="2_r.fastq"/>
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
294 <element name="3" value="3_r.fastq"/>
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
295 <element name="4" value="4_r.fastq"/>
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
296 </collection>
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
297 </param>
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
298 <param name="dataset_names" value="No" />
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
299 <param name="headers" value="0" />
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
300 <output_collection name="list_output" type="list" count="3" >
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
301 <element name="2" file="2.fastq"/>
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
302 <element name="3" file="3.fastq"/>
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
303 <element name="4" file="4.fastq"/>
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
304 </output_collection>
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
305 </test>
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
306 <test> <!-- Test 2 collections concatenation with other options-->
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
307 <param name="input_type" value="simple_collections" />
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
308 <param name="collection_cat_type" value="two_collections"/>
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
309 <param name="input_1">
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
310 <collection type="list">
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
311 <element name="1_f.fastq" value="1_f.fastq.gz"/>
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
312 </collection>
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
313 </param>
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
314 <param name="input_2">
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
315 <collection type="list">
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
316 <element name="1_r.fastq" value="1_r.fastq.gz"/>
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
317 </collection>
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
318 </param>
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
319 <param name="dataset_names" value="Yes" />
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
320 <param name="headers" value="4" />
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
321 <output_collection name="list_output" type="list" count="1" >
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
322 <element name="1_f.fastq_1_r.fastq" file="1_options.fastq.gz" decompress="True"/>
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
323 </output_collection>
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
324 </test>
0
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
325 </tests>
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
326 <help>
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
327
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
328 .. class:: warningmark
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
329
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
330 **WARNING:** This tool does not check if the datasets being concatenated are in the same format.
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
331
5
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
332 **WARNING:** The paired collection operations do not handle gziped files.
1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
333
5
99a5ed06b86c planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 494d583f425daec963ccd02907718e02d5d66b58
artbio
parents: 4
diff changeset
334 **WARNING:** When concatenating 2 collections make sure the first collection is the one with the most items.
3
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
335
0
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
336 -----
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
337
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
338 **What it does**
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
339
1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
340 Concatenates datasets and paired collections with multiple options:
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
341
3
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
342 - When the input is a paired collection:
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
343
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
344 - concatenation by strand : forward and reverse datasets are concatenated separately and a list with a single forward - reverse dataset pair is returned
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
345
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
346 - concatenation by pair : forward - reverse dataset pairs are concatenated and a simple dataset collection is returned
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
347
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
348 - whole collection concatenation : all datasets in the collection are concatenated and a single dataset is returned
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
349
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
350 - When the inputs are 2 collections: datasets are concatenated in a pairwise combination and a single dataset collection is returned
1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
351
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
352 - Skipping lines before concatenation to avoid headers
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
353
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
354 - Add the name of the concatenated files as separator
0
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
355
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
356 -----
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
357
1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
358 **Single datasets concatenation example**
0
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
359
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
360 Concatenating Dataset::
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
361
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
362 chrX 151087187 151087355 A 0 -
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
363 chrX 151572400 151572481 B 0 +
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
364
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
365 with Dataset1::
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
366
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
367 chr1 151242630 151242955 X 0 +
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
368 chr1 151271715 151271999 Y 0 +
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
369 chr1 151278832 151279227 Z 0 -
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
370
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
371 and with Dataset2::
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
372
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
373 chr2 100000030 200000955 P 0 +
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
374 chr2 100000015 200000999 Q 0 +
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
375
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
376 will result in the following::
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
377
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
378 chrX 151087187 151087355 A 0 -
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
379 chrX 151572400 151572481 B 0 +
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
380 chr1 151242630 151242955 X 0 +
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
381 chr1 151271715 151271999 Y 0 +
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
382 chr1 151278832 151279227 Z 0 -
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
383 chr2 100000030 200000955 P 0 +
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
384 chr2 100000015 200000999 Q 0 +
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
385
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
386 -----
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
387
3
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
388 **2 Collections concatenation**
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
389
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
390 1rst collection::
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
391
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
392 a
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
393 b
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
394 c
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
395 d
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
396
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
397 2nd collection::
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
398
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
399 1
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
400 2
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
401 3
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
402 4
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
403
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
404 Concatenation result::
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
405
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
406 A single collection containing:
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
407
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
408 a concatenated with 1
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
409 b concatenated with 2
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
410 c concatenated with 3
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
411 d concatenated with 4
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
412
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
413 -----
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
414
1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
415 **Paired collection concatenation example**
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
416
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
417 1rst pair::
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
418
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
419 forward - reverse
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
420
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
421 2nd pair::
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
422
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
423 forward - reverse
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
424
3
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
425 - Concatenation by strand::
1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
426
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
427 concatenates:
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
428
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
429 1rst forward + 2nd forward
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
430 1rst reverse + 2nd reverse
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
431
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
432 outputs:
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
433
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
434 1 pair
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
435
3
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
436 - Concatenation by pair::
1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
437
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
438 concatenates:
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
439
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
440 1rst forward + 1rst reverse
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
441 2nd forward + 2nd reverse
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
442
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
443 outputs:
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
444
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
445 2 datasets
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
446
3
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
447 - Concatenate all::
1
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
448
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
449 concatenates:
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
450
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
451 1rst forward + 1rst reverse + 2nd forward + 2nd reverse
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
452
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
453 outputs:
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
454
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
455 1 dataset
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
456
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
457 -----
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
458
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
459 **When selecting "Include dataset names" when concatenating files**:
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
460
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
461 1rst file name="first_tabular"::
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
462
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
463 chrX 151087187 151087355 A 0 -
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
464 chrX 151572400 151572481 B 0 +
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
465
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
466 2nd file name="second_tabular"::
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
467
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
468 chr1 151242630 151242955 X 0 +
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
469 chr1 151271715 151271999 Y 0 +
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
470 chr1 151278832 151279227 Z 0 -
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
471
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
472 output::
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
473
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
474 # first_tabular
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
475 chrX 151087187 151087355 A 0 -
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
476 chrX 151572400 151572481 B 0 +
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
477 # second_tabular
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
478 chr1 151242630 151242955 X 0 +
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
479 chr1 151271715 151271999 Y 0 +
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
480 chr1 151278832 151279227 Z 0 -
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
481
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
482 -----
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
483
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
484 **Skiping lines**
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
485
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
486 1rst file::
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
487
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
488 chrX 151087187 151087355 A 0 -
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
489 chrX 151572400 151572481 B 0 +
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
490
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
491 2nd file::
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
492
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
493 chr1 151242630 151242955 X 0 +
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
494 chr1 151271715 151271999 Y 0 +
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
495 chr1 151278832 151279227 Z 0 -
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
496
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
497 skipping 1 line
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
498
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
499 output::
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
500
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
501 chrX 151572400 151572481 B 0 +
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
502 chr1 151271715 151271999 Y 0 +
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
503 chr1 151278832 151279227 Z 0 -
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
504
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
505 -----
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
506
0
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
507 Adapted from galaxy's catWrapper.xml to allow multiple input files.
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
508
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
509 </help>
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
510 </tool>