annotate split_file_on_column.xml @ 4:37a53100b67e draft

"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
author bgruening
date Thu, 25 Feb 2021 15:54:13 +0000
parents b60f2452580e
children d4b5b70e82cb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
1 <tool id="tp_split_on_column" name="Split file" version="0.4">
0
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
2 <description>according to the values of a column</description>
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
3 <requirements>
4
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
4 <requirement type="package" version="5.0.1">gawk</requirement>
0
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
5 </requirements>
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
6 <command>
2
90b52d8d6f2c planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 36d05738e78c68091b45779624734e6a47829856-dirty
bgruening
parents: 1
diff changeset
7 <![CDATA[
4
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
8 mkdir tmp_out &&
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
9 #if $include_header
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
10 awk -F '\t' 'NR==1{hdr=$0;next}f!="tmp_out/"\$$column".$infile.ext"{if(f) close(f); f="tmp_out/"\$$column".$infile.ext";print hdr>f} {print >> f}' $infile
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
11 #else
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
12 awk -F'\t' '{print > "tmp_out/"\$$column".$infile.ext" }' '$infile'
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
13 #end if
2
90b52d8d6f2c planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 36d05738e78c68091b45779624734e6a47829856-dirty
bgruening
parents: 1
diff changeset
14 ]]>
0
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
15 </command>
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
16 <inputs>
2
90b52d8d6f2c planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 36d05738e78c68091b45779624734e6a47829856-dirty
bgruening
parents: 1
diff changeset
17 <param format="tabular" name="infile" type="data" label="File to select" />
0
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
18 <param name="column" label="on column" type="data_column" data_ref="infile" accept_default="true" />
4
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
19
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
20 <param name="include_header" type="boolean" label="Include the header in all splitted files?"
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
21 help="Include the first line (the assumed header line) in all splitted files." />
0
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
22 </inputs>
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
23 <outputs>
2
90b52d8d6f2c planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 36d05738e78c68091b45779624734e6a47829856-dirty
bgruening
parents: 1
diff changeset
24 <collection name="split_output" type="list" label="Table split on first column">
3
b60f2452580e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit af7f8fd0977384f9b4225d414623bf5d6ce23a7e
bgruening
parents: 2
diff changeset
25 <discover_datasets pattern="__name_and_ext__" directory="tmp_out" />
2
90b52d8d6f2c planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 36d05738e78c68091b45779624734e6a47829856-dirty
bgruening
parents: 1
diff changeset
26 </collection>
90b52d8d6f2c planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 36d05738e78c68091b45779624734e6a47829856-dirty
bgruening
parents: 1
diff changeset
27 </outputs>
0
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
28 <tests>
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
29 <test>
2
90b52d8d6f2c planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 36d05738e78c68091b45779624734e6a47829856-dirty
bgruening
parents: 1
diff changeset
30 <param name="infile" value="5cols.tabular" ftype="tabular"/>
90b52d8d6f2c planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 36d05738e78c68091b45779624734e6a47829856-dirty
bgruening
parents: 1
diff changeset
31 <param name="column" value="5" />
4
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
32 <param name="include_header" value="false"/>
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
33 <output_collection name="split_output" type="list">
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
34 <element name="1">
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
35 <assert_contents>
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
36 <has_text_matching expression="chr7\t56632\t56652\tcluster\t1" />
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
37 </assert_contents>
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
38 </element>
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
39 <element name="2">
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
40 <assert_contents>
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
41 <has_text_matching expression="chr7\t56761\t56781\tcluster\t2" />
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
42 </assert_contents>
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
43 </element>
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
44 </output_collection>
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
45 </test>
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
46 <test>
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
47 <param name="infile" value="5cols-with-header.tabular" ftype="tabular" />
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
48 <param name="column" value="5" />
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
49 <param name="include_header" value="true"/>
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
50 <output_collection name="split_output" type="list">
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
51 <element name="1">
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
52 <assert_contents>
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
53 <has_line_matching expression="Column1\tColumn2\tColumn3\tColumn4\tColumn5" />
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
54 <has_n_lines n="3" />
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
55 <has_text_matching expression="chr7\t56632\t56652\tcluster\t1" />
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
56 </assert_contents>
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
57 </element>
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
58 <element name="2">
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
59 <assert_contents>
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
60 <has_line_matching expression="Column1\tColumn2\tColumn3\tColumn4\tColumn5" />
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
61 <has_n_lines n="4" />
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
62 <has_text_matching expression="chr7\t56761\t56781\tcluster\t2" />
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
63 </assert_contents>
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
64 </element>
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
65 </output_collection>
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
66 </test>
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
67 <test>
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
68 <param name="infile" value="5cols-with-header.tabular" ftype="tabular" />
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
69 <param name="column" value="5" />
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
70 <param name="include_header" value="false"/>
2
90b52d8d6f2c planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 36d05738e78c68091b45779624734e6a47829856-dirty
bgruening
parents: 1
diff changeset
71 <output_collection name="split_output" type="list">
90b52d8d6f2c planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 36d05738e78c68091b45779624734e6a47829856-dirty
bgruening
parents: 1
diff changeset
72 <element name="1">
90b52d8d6f2c planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 36d05738e78c68091b45779624734e6a47829856-dirty
bgruening
parents: 1
diff changeset
73 <assert_contents>
90b52d8d6f2c planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 36d05738e78c68091b45779624734e6a47829856-dirty
bgruening
parents: 1
diff changeset
74 <has_text_matching expression="chr7\t56632\t56652\tcluster\t1" />
90b52d8d6f2c planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 36d05738e78c68091b45779624734e6a47829856-dirty
bgruening
parents: 1
diff changeset
75 </assert_contents>
90b52d8d6f2c planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 36d05738e78c68091b45779624734e6a47829856-dirty
bgruening
parents: 1
diff changeset
76 </element>
90b52d8d6f2c planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 36d05738e78c68091b45779624734e6a47829856-dirty
bgruening
parents: 1
diff changeset
77 <element name="2">
90b52d8d6f2c planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 36d05738e78c68091b45779624734e6a47829856-dirty
bgruening
parents: 1
diff changeset
78 <assert_contents>
90b52d8d6f2c planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 36d05738e78c68091b45779624734e6a47829856-dirty
bgruening
parents: 1
diff changeset
79 <has_text_matching expression="chr7\t56761\t56781\tcluster\t2" />
90b52d8d6f2c planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 36d05738e78c68091b45779624734e6a47829856-dirty
bgruening
parents: 1
diff changeset
80 </assert_contents>
90b52d8d6f2c planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 36d05738e78c68091b45779624734e6a47829856-dirty
bgruening
parents: 1
diff changeset
81 </element>
90b52d8d6f2c planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 36d05738e78c68091b45779624734e6a47829856-dirty
bgruening
parents: 1
diff changeset
82 </output_collection>
0
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
83 </test>
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
84 </tests>
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
85 <help>
2
90b52d8d6f2c planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 36d05738e78c68091b45779624734e6a47829856-dirty
bgruening
parents: 1
diff changeset
86 <![CDATA[
0
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
87
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
88 **What it does**
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
89
2
90b52d8d6f2c planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 36d05738e78c68091b45779624734e6a47829856-dirty
bgruening
parents: 1
diff changeset
90 This tool splits a file into different smaller files using a specific column.
0
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
91 It will work like the group tool, but every group is saved to its own file.
4
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
92 You have the option to include the header (first line) in all splitted files.
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
93 If you have a header and don't want keep it, please remove it before you use this tool.
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
94 For example with the "Remove beginning of a file" tool.
0
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
95
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
96 -----
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
97
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
98 **Example**
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
99
4
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
100 Splitting a file without header on column 5 from this::
0
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
101
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
102 chr7 56632 56652 cluster 1
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
103 chr7 56736 56756 cluster 1
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
104 chr7 56761 56781 cluster 2
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
105 chr7 56772 56792 cluster 2
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
106 chr7 56775 56795 cluster 2
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
107
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
108 will produce 2 files with different clusters::
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
109
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
110 chr7 56632 56652 cluster 1
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
111 chr7 56736 56756 cluster 1
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
112
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
113
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
114 chr7 56761 56781 cluster 2
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
115 chr7 56772 56792 cluster 2
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
116 chr7 56775 56795 cluster 2
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
117
2
90b52d8d6f2c planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 36d05738e78c68091b45779624734e6a47829856-dirty
bgruening
parents: 1
diff changeset
118 ]]>
0
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
119 </help>
4
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
120 <citations>
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
121 <citation type="bibtex">
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
122 @misc{githubsplit_file_on_column,
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
123 author = {Gruening, Bjoern},
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
124 year = {2015},
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
125 title = {split_file_on_column},
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
126 publisher = {GitHub},
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
127 journal = {GitHub repository},
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
128 url = {https://github.com/bgruening/galaxytools},
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
129 }
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
130 </citation>
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
131 </citations>
0
ad6a989924ac Uploaded
bgruening
parents:
diff changeset
132 </tool>
4
37a53100b67e "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/split_file_on_column commit 4d0bfcf37bfbedafc7ff0672dfe452766ca8a606"
bgruening
parents: 3
diff changeset
133