annotate cutWrapper.xml @ 0:aa367513335f draft

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
author devteam
date Mon, 09 Nov 2015 11:28:29 -0500
parents
children f848742a0c1a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
1 <tool id="Cut1" name="Cut" version="1.0.1">
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
2 <description>columns from a table</description>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
3 <command interpreter="perl">cutWrapper.pl "${input}" "${columnList}" "${delimiter}" "${out_file1}"</command>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
4 <inputs>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
5 <param name="columnList" type="text" value="c1,c2" label="Cut columns"/>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
6 <param name="delimiter" type="select" label="Delimited by">
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
7 <option value="T">Tab</option>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
8 <option value="Sp">Whitespace</option>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
9 <option value="Dt">Dot</option>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
10 <option value="C">Comma</option>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
11 <option value="D">Dash</option>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
12 <option value="U">Underscore</option>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
13 <option value="P">Pipe</option>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
14 </param>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
15 <param format="txt" name="input" type="data" label="From"/>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
16 </inputs>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
17 <outputs>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
18 <data format="tabular" name="out_file1" >
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
19 <actions>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
20 <conditional name="delimiter">
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
21 <when value="T">
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
22 <conditional name="input">
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
23 <when datatype_isinstance="interval">
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
24 <action type="format" default="tabular">
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
25 <option type="from_param" name="columnList" column="0" offset="0"> <!-- chromCol is 1-->
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
26
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
27 <filter type="insert_column" column="0" value="interval"/>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
28
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
29 <filter type="insert_column" ref="columnList" /> <!-- startCol -->
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
30
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
31 <filter type="insert_column" ref="columnList" /> <!-- endCol -->
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
32
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
33 <filter type="multiple_splitter" column="1" separator=","/>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
34 <filter type="column_strip" column="1"/> <!-- get rid of all external whitespace -->
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
35 <filter type="string_function" column="1" name="lower" />
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
36 <filter type="param_value" column="1" value="^c\d{1,}$" compare="re_search" keep="True"/>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
37 <filter type="column_strip" column="1" strip="c"/> <!-- get rid of c's -->
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
38 <filter type="boolean" column="1" cast="int" />
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
39
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
40 <filter type="multiple_splitter" column="2" separator=","/>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
41 <filter type="column_strip" column="2"/> <!-- get rid of all external whitespace -->
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
42 <filter type="string_function" column="2" name="lower" />
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
43 <filter type="param_value" column="2" value="^c\d{1,}$" compare="re_search" keep="True"/>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
44 <filter type="column_strip" column="2" strip="c"/> <!-- get rid of c's -->
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
45 <filter type="boolean" column="2" cast="int" />
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
46
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
47 <filter type="multiple_splitter" column="3" separator=","/>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
48 <filter type="column_strip" column="3"/> <!-- get rid of all external whitespace -->
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
49 <filter type="string_function" column="3" name="lower" />
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
50 <filter type="param_value" column="3" value="^c\d{1,}$" compare="re_search" keep="True"/>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
51 <filter type="column_strip" column="3" strip="c"/> <!-- get rid of c's -->
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
52 <filter type="boolean" column="3" cast="int" />
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
53
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
54 <filter type="metadata_value" ref="input" name="chromCol" column="1" />
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
55 <filter type="metadata_value" ref="input" name="startCol" column="2" />
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
56 <filter type="metadata_value" ref="input" name="endCol" column="3" />
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
57
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
58 </option>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
59 </action>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
60
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
61 <conditional name="out_file1">
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
62 <when datatype_isinstance="interval">
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
63 <action type="metadata" name="chromCol">
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
64 <option type="from_param" name="columnList" column="0" offset="0"> <!-- chromCol is 0-->
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
65 <filter type="multiple_splitter" column="0" separator=","/>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
66 <filter type="column_strip" column="0"/> <!-- get rid of all external whitespace -->
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
67 <filter type="string_function" column="0" name="lower" />
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
68 <filter type="param_value" column="0" value="^c\d{1,}$" compare="re_search" keep="True"/>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
69 <filter type="column_strip" column="0" strip="c"/> <!-- get rid of c's -->
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
70 <filter type="insert_column" value="1" iterate="True" column="0"/>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
71 <filter type="boolean" column="1" cast="int" />
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
72 <filter type="metadata_value" ref="input" name="chromCol" column="1" />
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
73 </option>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
74 </action>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
75
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
76 <action type="metadata" name="startCol">
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
77 <option type="from_param" name="columnList" column="0" offset="0"> <!-- startCol is 0-->
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
78 <filter type="multiple_splitter" column="0" separator=","/>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
79 <filter type="column_strip" column="0"/> <!-- get rid of all external whitespace -->
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
80 <filter type="string_function" column="0" name="lower" />
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
81 <filter type="param_value" column="0" value="^c\d{1,}$" compare="re_search" keep="True"/>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
82 <filter type="column_strip" column="0" strip="c"/> <!-- get rid of c's -->
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
83 <filter type="insert_column" value="1" iterate="True" column="0"/>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
84 <filter type="boolean" column="1" cast="int" />
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
85 <filter type="metadata_value" ref="input" name="startCol" column="1" />
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
86 </option>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
87 </action>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
88
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
89 <action type="metadata" name="endCol">
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
90 <option type="from_param" name="columnList" column="0" offset="0"> <!-- endCol is 0-->
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
91 <filter type="multiple_splitter" column="0" separator=","/>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
92 <filter type="column_strip" column="0"/> <!-- get rid of all external whitespace -->
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
93 <filter type="string_function" column="0" name="lower" />
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
94 <filter type="param_value" column="0" value="^c\d{1,}$" compare="re_search" keep="True"/>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
95 <filter type="column_strip" column="0" strip="c"/> <!-- get rid of c's -->
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
96 <filter type="insert_column" value="1" iterate="True" column="0"/>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
97 <filter type="boolean" column="1" cast="int" />
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
98 <filter type="metadata_value" ref="input" name="endCol" column="1" />
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
99 </option>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
100 </action>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
101
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
102 <action type="metadata" name="nameCol" default="0">
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
103 <option type="from_param" name="columnList" column="0" offset="0"> <!-- nameCol is 0-->
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
104 <filter type="multiple_splitter" column="0" separator=","/>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
105 <filter type="column_strip" column="0"/> <!-- get rid of all external whitespace -->
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
106 <filter type="string_function" column="0" name="lower" />
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
107 <filter type="param_value" column="0" value="^c\d{1,}$" compare="re_search" keep="True"/>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
108 <filter type="column_strip" column="0" strip="c"/> <!-- get rid of c's -->
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
109 <filter type="insert_column" value="1" iterate="True" column="0"/>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
110 <filter type="boolean" column="1" cast="int" />
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
111 <filter type="metadata_value" ref="input" name="nameCol" column="1" />
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
112 </option>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
113 </action>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
114
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
115 <action type="metadata" name="strandCol" default="0">
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
116 <option type="from_param" name="columnList" column="0" offset="0"> <!-- strandCol is 0-->
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
117 <filter type="multiple_splitter" column="0" separator=","/>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
118 <filter type="column_strip" column="0"/> <!-- get rid of all external whitespace -->
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
119 <filter type="string_function" column="0" name="lower" />
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
120 <filter type="param_value" column="0" value="^c\d{1,}$" compare="re_search" keep="True"/>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
121 <filter type="column_strip" column="0" strip="c"/> <!-- get rid of c's -->
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
122 <filter type="insert_column" value="1" iterate="True" column="0"/>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
123 <filter type="boolean" column="1" cast="int" />
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
124 <filter type="metadata_value" ref="input" name="strandCol" column="1" />
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
125 </option>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
126 </action>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
127 </when>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
128 </conditional>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
129
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
130 </when>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
131 </conditional>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
132 </when>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
133 </conditional>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
134 </actions>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
135 </data>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
136 </outputs>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
137 <tests>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
138 <test>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
139 <param name="columnList" value="c1,c4,c2,c3"/>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
140 <param name="delimiter" value="T"/>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
141 <param name="input" value="1.bed"/>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
142 <output name="out_file1" file="eq-cut.dat"/>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
143 </test>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
144 </tests>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
145 <help>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
146
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
147 .. class:: warningmark
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
148
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
149 **WARNING: This tool breaks column assignments.** To re-establish column assignments run the tools and click on the pencil icon in the latest history item.
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
150
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
151 .. class:: infomark
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
152
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
153 The output of this tool is always in tabular format (e.g., if your original delimiters are commas, they will be replaced with tabs). For example:
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
154
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
155 Cutting columns 1 and 3 from::
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
156
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
157 apple,is,good
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
158 windows,is,bad
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
159
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
160 will give::
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
161
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
162 apple good
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
163 windows bad
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
164
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
165 -----
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
166
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
167 **What it does**
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
168
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
169 This tool selects (cuts out) specified columns from the dataset.
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
170
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
171 - Columns are specified as **c1**, **c2**, and so on. Column count begins with **1**
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
172 - Columns can be specified in any order (e.g., **c2,c1,c6**)
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
173 - If you specify more columns than actually present - empty spaces will be filled with dots
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
174
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
175 -----
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
176
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
177 **Example**
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
178
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
179 Input dataset (six columns: c1, c2, c3, c4, c5, and c6)::
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
180
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
181 chr1 10 1000 gene1 0 +
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
182 chr2 100 1500 gene2 0 +
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
183
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
184 **cut** on columns "**c1,c4,c6**" will return::
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
185
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
186 chr1 gene1 +
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
187 chr2 gene2 +
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
188
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
189 **cut** on columns "**c6,c5,c4,c1**" will return::
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
190
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
191 + 0 gene1 chr1
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
192 + 0 gene2 chr2
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
193
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
194
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
195 **cut** on columns "**c8,c7,c4**" will return::
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
196
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
197 . . gene1
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
198 . . gene2
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
199
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
200
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
201 </help>
aa367513335f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cut_columns commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b
devteam
parents:
diff changeset
202 </tool>