Mercurial > repos > bgruening > text_processing
comparison sort_rows.xml @ 24:5fef6d08de83 draft
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit 5f5d5802a961a77ceb092cbdef90d93e29717029-dirty"
| author | bgruening |
|---|---|
| date | Tue, 22 Jun 2021 16:03:26 +0000 |
| parents | 7725ab6dab67 |
| children | f22a309187a3 |
comparison
equal
deleted
inserted
replaced
| 23:28b4fd1b0e9a | 24:5fef6d08de83 |
|---|---|
| 1 <tool id="tp_sort_rows" name="Sort a row" version="@BASE_VERSION@.0"> | 1 <tool id="tp_sort_rows" name="Sort a row" version="@BASE_VERSION@.0+galaxy0"> |
| 2 <description>according to their columns</description> | 2 <description>according to their columns</description> |
| 3 <macros> | 3 <macros> |
| 4 <import>macros.xml</import> | 4 <import>macros.xml</import> |
| 5 </macros> | 5 </macros> |
| 6 <command> | 6 <command> |
| 7 <![CDATA[ | 7 <![CDATA[ |
| 8 python -c 'for line in ( "\t".join(sorted(line.strip().split("\t"))) for line in open("$infile") ): print line' > $outfile | 8 python -c 'for line in ( "\t".join(sorted(line.strip().split("\t"))) for line in open("$infile") ): print(line)' > $outfile |
| 9 ]]> | 9 ]]> |
| 10 </command> | 10 </command> |
| 11 <inputs> | 11 <inputs> |
| 12 <param format="tabular" name="infile" type="data" label="Tabular file that should be sorted"/> | 12 <param format="tabular" name="infile" type="data" label="Tabular file that should be sorted"/> |
| 13 </inputs> | 13 </inputs> |
