annotate catWrapper.xml @ 6:4554fa330d3d draft

planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
author artbio
date Mon, 24 Jun 2019 04:02:53 -0400
parents 99a5ed06b86c
children 55cf9d9defd1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
1 <tool id="cat_multi_datasets" name="Concatenate multiple datasets" version="1.4.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
6
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
9 printf "Concatenating files:\n" &&
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
10 #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
11 #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
12 #for $file in $global_condition.inputs
6
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
13 printf "${file.element_identifier}..." &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
14 #if $file.ext[-2:] == "gz" and $headers != 0:
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
15 gzip -dc '$file' | $concat_command | gzip -c >> '$out_file1' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
16 #else:
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
17 $concat_command '$file' >> '$out_file1' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
18 #end if
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
19 printf "Done\n" &&
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
20 #end for
6
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
21 sleep 1
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
22 #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
23 #for $file in $global_condition.inputs
6
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
24 printf "${file.element_identifier}..." &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
25 #if $file.ext[-2:] == "gz" and $headers != 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
26 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
27 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
28 #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
29 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
30 $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
31 #end if
6
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
32 printf "Done\n" &&
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
33 #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
34 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
35 #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
36 #else if $global_condition.input_type == "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
37 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
38 #if $dataset_names == "No":
6
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
39 #for $x, $y in zip($global_condition.input_1, $global_condition.input_2):
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
40 printf "${x.element_identifier} and ${y.element_identifier}..." &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
41 #if $x.ext[-2:] == "gz" and $headers != 0:
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
42 gzip -dc '$x' | $concat_command | gzip -c > concatenated/'${x.element_identifier}.listed.${x.ext}.listed' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
43 gzip -dc '$y' | $concat_command | gzip -c >> concatenated/'${x.element_identifier}.listed.${x.ext}.listed' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
44 #else:
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
45 $concat_command '$x' '$y' > concatenated/'${x.element_identifier}.listed.${x.ext}.listed' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
46 #end if
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
47 printf "Done\n" &&
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
48 #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
49 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
50 #else:
6
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
51 #for $x, $y in zip($global_condition.input_1, $global_condition.input_2)
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
52 printf "${x.element_identifier} and ${y.element_identifier}..." &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
53 #if $x.ext[-2:] == "gz" and $headers != 0:
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
54 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
55 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
56 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
57 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
58 #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
59 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
60 $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
61 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
62 $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
63 #end if
6
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
64 printf "Done\n" &&
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
65 #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
66 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
67 #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
68 #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
69 #if $global_condition.paired_cat_type == "by_strand":
6
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
70 mkdir concatenated &&
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
71 #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
72 #for $file in $global_condition.inputs
6
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
73 printf "${file.element_identifier}- forward and reverse..." &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
74 #if $file['forward'].ext[-2:] == "gz" and $headers != 0:
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
75 gzip -dc $file['forward'] | $concat_command | gzip -c >> concatenated/forward.listed.${file['forward'].ext}.listed &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
76 gzip -dc $file['reverse'] | $concat_command | gzip -c >> concatenated/reverse.listed.${file['reverse'].ext}.listed &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
77 #else:
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
78 $concat_command $file['forward'] >> concatenated/forward.listed.${file['forward'].ext}.listed &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
79 $concat_command $file['reverse'] >> concatenated/reverse.listed.${file['reverse'].ext}.listed &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
80 #end if
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
81 printf "Done\n" &&
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
82 #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
83 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
84 #else:
6
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
85 #for $file in $global_condition.inputs.keys():
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
86 printf "$file - forward and reverse..." &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
87 #if $global_condition.inputs[$file]['forward'].ext[-2:] == "gz" and $headers != 0:
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
88 printf "# ${file}_forward\n" | gzip -c >> concatenated/forward.listed.${global_condition.inputs[$file]['forward'].ext}.listed &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
89 gzip -dc $global_condition.inputs[$file]['forward'] | $concat_command | gzip -c >> concatenated/forward.listed.${global_condition.inputs[$file]['forward'].ext}.listed &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
90 printf "# ${file}_reverse\n" | gzip -c >> concatenated/reverse.listed.${global_condition.inputs[$file]['reverse'].ext}.listed &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
91 gzip -dc $global_condition.inputs[$file]['reverse'] | $concat_command | gzip -c >> concatenated/reverse.listed.${global_condition.inputs[$file]['reverse'].ext}.listed &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
92 #else:
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
93 printf "# ${file}_forward\n" >> concatenated/forward.listed.${global_condition.inputs[$file]['forward'].ext}.listed &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
94 $concat_command $global_condition.inputs[$file]['forward'] >> concatenated/forward.listed.${global_condition.inputs[$file]['forward'].ext}.listed &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
95 printf "# ${file}_reverse\n" >> concatenated/reverse.listed.${global_condition.inputs[$file]['reverse'].ext}.listed &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
96 $concat_command $global_condition.inputs[$file]['reverse'] >> concatenated/reverse.listed.${global_condition.inputs[$file]['reverse'].ext}.listed &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
97 #end if
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
98 printf "Done\n" &&
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
99 #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
100 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
101 #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
102 #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
103 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
104 #if $dataset_names == "No":
6
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
105 #for $file in $global_condition.inputs.keys():
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
106 printf "$file - forward and reverse..." &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
107 #if $global_condition.inputs[$file]['forward'].ext[-2:] == "gz" and $headers != 0:
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
108 gzip -dc $global_condition.inputs[$file]['forward'] | $concat_command | gzip -c
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
109 > concatenated/'${file}.listed.${global_condition.inputs[$file]['reverse'].ext}.listed' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
110 gzip -dc $global_condition.inputs[$file]['reverse'] | $concat_command | gzip -c
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
111 >> concatenated/'${file}.listed.${global_condition.inputs[$file]['reverse'].ext}.listed' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
112 #else:
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
113 $concat_command $global_condition.inputs[$file]['forward']
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
114 > concatenated/'${file}.listed.${global_condition.inputs[$file]['reverse'].ext}.listed' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
115 $concat_command $global_condition.inputs[$file]['reverse']
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
116 >> concatenated/'${file}.listed.${global_condition.inputs[$file]['reverse'].ext}.listed' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
117 #end if
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
118 printf "Done\n" &&
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
119 #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
120 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
121 #else:
6
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
122 #for $file in $global_condition.inputs.keys():
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
123 printf "$file - forward and reverse..." &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
124 #if $global_condition.inputs[$file]['reverse'].ext[-2:] == "gz" and $headers != 0:
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
125 printf "# ${file}_forward\n" | gzip -c > concatenated/'${file}.listed.${global_condition.inputs[$file]['reverse'].ext}.listed' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
126 gzip -dc $global_condition.inputs[$file]['forward'] | $concat_command | gzip -c
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
127 >> concatenated/'${file}.listed.${global_condition.inputs[$file]['reverse'].ext}.listed' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
128 printf "# ${file}_reverse\n" | gzip -c >> concatenated/'${file}.listed.${global_condition.inputs[$file]['reverse'].ext}.listed' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
129 gzip -dc $global_condition.inputs[$file]['reverse'] | $concat_command | gzip -c
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
130 >> concatenated/'${file}.listed.${global_condition.inputs[$file]['reverse'].ext}.listed' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
131 #else:
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
132 printf "# ${file}_forward\n" > concatenated/'${file}.listed.${global_condition.inputs[$file]['reverse'].ext}.listed' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
133 $concat_command $global_condition.inputs[$file]['forward']
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
134 >> concatenated/'${file}.listed.${global_condition.inputs[$file]['reverse'].ext}.listed' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
135 printf "# ${file}_reverse\n" >> concatenated/'${file}.listed.${global_condition.inputs[$file]['reverse'].ext}.listed' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
136 $concat_command $global_condition.inputs[$file]['reverse']
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
137 >> concatenated/'${file}.listed.${global_condition.inputs[$file]['reverse'].ext}.listed' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
138 #end if
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
139 printf "Done\n" &&
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
140 #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
141 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
142 #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
143 #else if $global_condition.paired_cat_type == "all":
6
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
144 mkdir concatenated &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
145 #set $base_name=$global_condition.inputs.element_identifier
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
146 #set $extention=$global_condition.inputs[$global_condition.inputs.keys()[0]]['forward'].ext
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
147 #if $dataset_names == "No":
6
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
148 #for $file in $global_condition.inputs.keys():
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
149 printf "$file - forward and reverse..." &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
150 #if $global_condition.inputs[$file]['forward'].ext[-2:] == "gz" and $headers != 0:
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
151 gzip -dc $global_condition.inputs[$file]['forward'] | $concat_command | gzip -c >> c'$paired_out_file' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
152 gzip -dc $global_condition.inputs[$file]['reverse'] | $concat_command | gzip -c >> '$paired_out_file' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
153 #else:
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
154 $concat_command
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
155 $global_condition.inputs[$file]['forward']
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
156 >> '$paired_out_file' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
157 $concat_command
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
158 $global_condition.inputs[$file]['reverse']
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
159 >> '$paired_out_file' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
160 #end if
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
161 printf "Done\n" &&
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
162 #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
163 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
164 #else:
6
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
165 #for $file in $global_condition.inputs.keys():
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
166 printf "$file - forward and reverse..." &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
167 #if $global_condition.inputs[$file]['forward'].ext[-2:] == "gz" and $headers != 0:
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
168 printf "# ${file}_forward\n" | gzip -c > '$paired_out_file' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
169 gzip -dc $global_condition.inputs[$file]['forward'] | $concat_command | gzip -c >> '$paired_out_file' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
170 printf "# ${file}_reverse\n" | gzip -c >> '$paired_out_file' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
171 gzip -dc $global_condition.inputs[$file]['reverse'] | $concat_command | gzip -c >> '$paired_out_file' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
172 #else:
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
173 printf "# ${file}_forward\n" > '$paired_out_file' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
174 $concat_command
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
175 $global_condition.inputs[$file]['forward']
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
176 >> '$paired_out_file' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
177 printf "# ${file}_reverse\n" >> '$paired_out_file' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
178 $concat_command
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
179 $global_condition.inputs[$file]['reverse']
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
180 >> '$paired_out_file' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
181 #end if
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
182 printf "Done\n" &&
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
183 #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
184 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
185 #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
186 #end if
6
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
187 #else if $global_condition.input_type == "nested_collection":
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
188 mkdir concatenated &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
189 #if $dataset_names == "No":
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
190 #for $sub_list in $global_condition.inputs:
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
191 #set $file_base_name=$sub_list.element_identifier
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
192 #for $sub_list_element in $sub_list:
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
193 printf "${file_base_name} - ${sub_list_element.element_identifier}..." &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
194 #if $sub_list_element.ext[-2:] == "gz" and $headers != 0:
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
195 gzip -dc ${sub_list_element} | $concat_command | gzip -c >> concatenated/'${file_base_name}.listed.${sub_list_element.ext}.listed' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
196 #else:
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
197 $concat_command ${sub_list_element} >> concatenated/'${file_base_name}.listed.${sub_list_element.ext}.listed' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
198 #end if
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
199 printf "Done\n" &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
200 #end for
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
201 #end for
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
202 sleep 1
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
203 #else:
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
204 #for $sub_list in $global_condition.inputs:
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
205 #set $file_base_name=$sub_list.element_identifier
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
206 #for $sub_list_element in $sub_list:
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
207 printf "${file_base_name} - ${sub_list_element.element_identifier}..." &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
208 #if $sub_list_element.ext[-2:] == "gz" and $headers != 0:
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
209 printf "# ${sub_list_element.element_identifier}\n" | gzip -c >> concatenated/'${file_base_name}.listed.${sub_list_element.ext}.listed' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
210 gzip -dc ${sub_list_element} | $concat_command | gzip -c >> concatenated/'${file_base_name}.listed.${sub_list_element.ext}.listed' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
211 #else:
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
212 printf "# ${sub_list_element.element_identifier}\n" >> concatenated/'${file_base_name}.listed.${sub_list_element.ext}.listed' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
213 $concat_command ${sub_list_element} >> concatenated/'${file_base_name}.listed.${sub_list_element.ext}.listed' &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
214 #end if
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
215 printf "Done\n" &&
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
216 #end for
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
217 #end for
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
218 sleep 1
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
219 #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
220 #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
221 ]]>
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
222 </command>
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
223 <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
224 <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
225 <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
226 <option value="singles">Single datasets</option>
6
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
227 <option value="simple_collections">2 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
228 <option value="paired_collection">Paired collection</option>
6
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
229 <option value="nested_collection">Nested collection</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
230 </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
231 <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
232 <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
233 </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
234 <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
235 <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
236 <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
237 <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
238 <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
239 <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
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 </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
242 <when value="simple_collections">
6
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
243 <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" />
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
244 <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" />
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
245 </when>
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
246 <when value="nested_collection">
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
247 <param name="inputs" type="data_collection" collection_type="list:list" label="Input nested collection" help="The Nested collection which items you want to concatenate." />
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
248 </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
249 </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
250 <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
251 <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
252 </inputs>
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
253 <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
254 <data name="out_file1" format_source="inputs" metadata_source="inputs" label="Concatenated datasets">
6
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
255 <filter>global_condition['input_type'] == 'singles'</filter>
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
256 </data>
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
257 <data name="paired_out_file" label="${global_condition.inputs.element_identifier}" auto_format="true">
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
258 <filter>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
259 </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
260 <collection name="paired_output" type="paired" label="Concatenation by strtand">
6
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
261 <discover_datasets pattern="(?P&lt;name&gt;.*)\.listed\.(?P&lt;ext&gt;.*)\.listed" visible="false" directory="concatenated"/>
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
262 <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
263 </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
264 <collection name="list_output" type="list" label="Concatenation by pairs">
6
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
265 <discover_datasets pattern="(?P&lt;identifier_0&gt;.*)\.listed\.(?P&lt;ext&gt;.*)\.listed" visible="false" directory="concatenated"/>
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
266 <filter>(global_condition['input_type'] == 'paired_collection' and global_condition['paired_cat_type'] == 'by_pair') or (global_condition['input_type'] == 'simple_collections') or (global_condition['input_type'] == 'nested_collection')</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
267 </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
268 </outputs>
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
269 <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
270 <!-- 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
271 <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
272 <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
273 <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
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" />
0
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
276 <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
277 </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
278 <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
279 <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
280 <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
281 <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
282 <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
283 <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
284 </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
285 <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
286 <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
287 <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
288 <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
289 <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
290 <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
291 </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
292 <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
293 <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
294 <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
295 <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
296 <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
297 <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
298 </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
299 <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
300 <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
301 <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
302 <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
303 <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
304 <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
305 </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
306 <!-- 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
307 <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
308 <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
309 <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
310 <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
311 <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
312 <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
313 <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
314 <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
315 <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
316 </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
317 </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
318 <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
319 <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
320 <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
321 <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
322 </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
323 </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
324 <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
325 <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
326 <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
327 <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
328 </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
329 </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
330 </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
331 </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
332 <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
333 <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
334 <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
335 <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
336 <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
337 <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
338 </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
339 </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
340 <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
341 <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
342 <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
343 <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
344 <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
345 <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
346 <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
347 <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
348 <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
349 </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
350 </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
351 <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
352 <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
353 <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
354 <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
355 </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
356 </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
357 <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
358 <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
359 <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
360 <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
361 </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
362 </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
363 </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
364 </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
365 <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
366 <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
367 <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
368 <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
369 <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
370 </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
371 </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
372 <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
373 <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
374 <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
375 <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
376 <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
377 <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
378 <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
379 <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
380 </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
381 </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
382 <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
383 <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
384 <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
385 <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
386 <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
387 </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
388 </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
389 <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
390 <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
391 <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
392 <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
393 <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
394 <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
395 </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
396 </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
397 <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
398 <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
399 <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
400 <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
401 <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
402 <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
403 </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
404 </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
405 <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
406 <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
407 <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
408 </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
409 </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
410 <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
411 <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
412 <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
413 <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
414 </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
415 </test>
6
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
416 <test> <!-- Test nested collections concatenation -->
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
417 <param name="input_type" value="nested_collection" />
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
418 <param name="inputs">
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
419 <collection type="list:list">
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
420 <element name="2">
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
421 <collection type="list">
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
422 <element name="2_f" value="2_f.fastq" ftype="fastq"/>
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
423 <element name="2_r" value="2_r.fastq" ftype="fastq"/>
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
424 </collection>
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
425 </element>
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
426 <element name="3">
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
427 <collection type="list">
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
428 <element name="3" value="3.fastq" ftype="fastq"/>
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
429 </collection>
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
430 </element>
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
431 </collection>
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
432 </param>
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
433 <param name="dataset_names" value="No" />
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
434 <param name="headers" value="0" />
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
435 <output_collection name="list_output" type="list" count="2" >
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
436 <element name="2" file="2.fastq"/>
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
437 <element name="3" file="3.fastq"/>
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
438 </output_collection>
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
439 </test>
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
440 <test> <!-- Test nested collections concatenation with options and gzip-->
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
441 <param name="input_type" value="nested_collection" />
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
442 <param name="inputs">
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
443 <collection type="list:list">
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
444 <element name="1">
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
445 <collection type="list">
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
446 <element name="1_f.fastq" value="1_f.fastq.gz" ftype="fastq.gz"/>
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
447 <element name="1_r.fastq" value="1_r.fastq.gz" ftype="fastq.gz"/>
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
448 </collection>
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
449 </element>
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
450 </collection>
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
451 </param>
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
452 <param name="dataset_names" value="Yes" />
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
453 <param name="headers" value="4" />
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
454 <output_collection name="list_output" type="list" count="1" >
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
455 <element name="1" file="1_options.fastq.gz" decompress="True"/>
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
456 </output_collection>
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
457 </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
458 </tests>
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
459 <help>
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
460
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
461 .. 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
462
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
463 **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
464
6
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
465 **WARNING:** When concatenating 2 collections make sure the first collection is the one with the most items.
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
466
6
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
467 **WARNING:** This tool can't handle nested collection deeper than list:list.
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
468
0
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
469 -----
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
470
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
471 **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
472
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
473 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
474
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
475 - 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
476
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
477 - 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
478
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
479 - 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
480
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
481 - 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
482
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
483 - 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
484
6
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
485 - When nested collection concatenation: datasets in each sub-collection are concatenated and a simple dataset collection is returned
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
486
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
487 - 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
488
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 - 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
490
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
491 -----
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
492
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
493 **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
494
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
495 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
496
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
497 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
498 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
499
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
500 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
501
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
502 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
503 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
504 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
505
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
506 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
507
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
508 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
509 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
510
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
511 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
512
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
513 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
514 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
515 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
516 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
517 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
518 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
519 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
520
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
521 -----
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
522
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
523 **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
524
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
525 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
526
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
527 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
528 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
529 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
530 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
531
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
532 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
533
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
534 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
535 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
536 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
537 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
538
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
539 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
540
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
541 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
542
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
543 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
544 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
545 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
546 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
547
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
548 -----
62aebaf6cfa0 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 64e9762ab35b04bb0d151e441baa2fae8bf2cb4a
artbio
parents: 2
diff changeset
549
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
550 **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
551
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
552 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
553
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
554 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
555
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
556 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
557
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
558 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
559
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
560 - 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
561
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
562 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
563
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
564 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
565 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
566
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
567 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
568
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
569 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
570
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
571 - 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
572
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
573 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
574
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
575 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
576 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
577
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
578 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
579
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
580 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
581
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
582 - 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
583
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
584 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
585
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
586 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
587
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
588 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
589
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
590 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
591
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
592 -----
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
593
6
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
594 **Nested collection concatenation example**
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
595
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
596 Nested collection:
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
597
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
598 - Experiment
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
599
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
600 - Sample_1
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
601
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
602 - Sample_1_file_1
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
603 - Sample_1_file_2
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
604
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
605 - Sample_2
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
606
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
607 - Sample_2_file_1
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
608 - Sample_2_file_2
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
609 - Sample_2_file_3
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
610
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
611 Concatenation result::
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
612
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
613 A single collection containing:
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
614
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
615 - Sample_1: (Sample_1_file_1 + Sample_1_file_2)
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
616 - Sample_2: (Sample_2_file_1 + Sample_2_file_2 + Sample_2_file_3)
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
617
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
618 -----
4554fa330d3d planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 4df03fd2d6fbf17a451256c0fb9d30932fc9d637
artbio
parents: 5
diff changeset
619
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
620 **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
621
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
622 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
623
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
624 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
625 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
626
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
627 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
628
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
629 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
630 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
631 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
632
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
633 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
634
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
635 # 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
636 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
637 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
638 # 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
639 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
640 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
641 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
642
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
643 -----
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
644
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
645 **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
646
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
647 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
648
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
649 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
650 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
651
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
652 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
653
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
654 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
655 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
656 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
657
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
658 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
659
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
660 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
661
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
662 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
663 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
664 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
665
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
666 -----
3a4694d4354f planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 618a7892f6af26278364a75ab23b3c6d8cdc73db
artbio
parents: 0
diff changeset
667
0
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
668 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
669
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
670 </help>
6f54dc6b37da planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/concat_multi_datasets commit 732cefeff9a38b50f23820441422d4df3974b922
artbio
parents:
diff changeset
671 </tool>