Mercurial > repos > bgruening > text_processing
diff sort_rows.xml @ 19:12615d397df7 draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit 70980e329cd9fa78e74bf14a76fd4ded9bd2b91f
author | bgruening |
---|---|
date | Thu, 29 Feb 2024 22:15:20 +0000 |
parents | f46f0e4f75c4 |
children | 86755160afbf |
line wrap: on
line diff
--- a/sort_rows.xml Sat Oct 08 21:01:33 2022 +0000 +++ b/sort_rows.xml Thu Feb 29 22:15:20 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> @@ -31,7 +35,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" />