annotate sort_rows.xml @ 18:d698c222f354 draft

"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit 378e99cde623698fb44ee7ac9873f455fb51fdbc"
author bgruening
date Sat, 08 Oct 2022 21:01:33 +0000
parents f46f0e4f75c4
children 12615d397df7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17
f46f0e4f75c4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit 5f5d5802a961a77ceb092cbdef90d93e29717029-dirty"
bgruening
parents: 6
diff changeset
1 <tool id="tp_sort_rows" name="Sort a row" version="@BASE_VERSION@.0+galaxy0">
0
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
2 <description>according to their columns</description>
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
3 <macros>
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
4 <import>macros.xml</import>
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
5 </macros>
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
6 <command>
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
7 <![CDATA[
17
f46f0e4f75c4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit 5f5d5802a961a77ceb092cbdef90d93e29717029-dirty"
bgruening
parents: 6
diff changeset
8 python -c 'for line in ( "\t".join(sorted(line.strip().split("\t"))) for line in open("$infile") ): print(line)' > $outfile
0
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
9 ]]>
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
10 </command>
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
11 <inputs>
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
12 <param format="tabular" name="infile" type="data" label="Tabular file that should be sorted"/>
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
13 </inputs>
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
14 <outputs>
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
15 <data name="outfile" format_source="infile" metadata_source="infile"/>
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
16 </outputs>
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
17 <options sanitize="False"/>
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
18 <tests>
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
19 <test>
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
20 <param name="infile" value="sort_rows1.tabular" ftype="tabular" />
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
21 <output name="outfile" file="sort_rows_results1.bed"/>
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
22 </test>
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
23 </tests>
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
24 <help>
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
25 <![CDATA[
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
26 .. class:: infomark
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
27
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
28 **TIP:** If your data is not TAB delimited, use *Text Manipulation->Convert*
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
29
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
30 **What it does**
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
31
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
32 That tool sorts each row in a TAB separated file, according to their columns. In other words: It is a sorted reordering of all columns.
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
33
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
34 @REFERENCES@
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
35 ]]>
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
36 </help>
6
60edf2f8c28f planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit b'e6ee273f75fff61d1e419283fa8088528cf59470\n'
bgruening
parents: 0
diff changeset
37 <expand macro="citations" />
0
5314e5d6f040 Imported from capsule None
bgruening
parents:
diff changeset
38 </tool>