Mercurial > repos > bgruening > text_processing
diff sort_rows.xml @ 26:f22a309187a3 draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit c2b1677d1c94433f777c2dc28ac8eec0a99cc6a7
| author | bgruening |
|---|---|
| date | Fri, 16 Aug 2024 10:41:17 +0000 |
| parents | 5fef6d08de83 |
| children |
line wrap: on
line diff
--- a/sort_rows.xml Sat Oct 08 20:59:15 2022 +0000 +++ b/sort_rows.xml Fri Aug 16 10:41:17 2024 +0000 @@ -1,11 +1,15 @@ -<tool id="tp_sort_rows" name="Sort a row" version="@BASE_VERSION@.0+galaxy0"> +<tool id="tp_sort_rows" name="Sort a row" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> <description>according to their columns</description> <macros> <import>macros.xml</import> </macros> + <expand macro="creator"/> + <requirements> + <requirement type="package" version="3.12">python</requirement> + </requirements> <command> <![CDATA[ - python -c 'for line in ( "\t".join(sorted(line.strip().split("\t"))) for line in open("$infile") ): print(line)' > $outfile + python -c 'for line in ( "\t".join(sorted(line.strip().split("\t"))) for line in open("$infile") ): print(line)' > '$outfile' ]]> </command> <inputs> @@ -14,7 +18,6 @@ <outputs> <data name="outfile" format_source="infile" metadata_source="infile"/> </outputs> - <options sanitize="False"/> <tests> <test> <param name="infile" value="sort_rows1.tabular" ftype="tabular" /> @@ -31,7 +34,6 @@ 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. -@REFERENCES@ ]]> </help> <expand macro="citations" />
