# HG changeset patch # User iuc # Date 1710940559 0 # Node ID b6d9ea2fb41b61e0e5d00975b1c3bfb9ec45cf62 # Parent e614dcabd8702fa116257685f5c3bfb805d11f8d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44 diff -r e614dcabd870 -r b6d9ea2fb41b macros.xml --- a/macros.xml Mon May 10 19:34:04 2021 +0000 +++ b/macros.xml Wed Mar 20 13:15:59 2024 +0000 @@ -5,7 +5,11 @@ obitools - + + + obitools + + 1.2.13 21.01 diff -r e614dcabd870 -r b6d9ea2fb41b obisort.xml --- a/obisort.xml Mon May 10 19:34:04 2021 +0000 +++ b/obisort.xml Wed Mar 20 13:15:59 2024 +0000 @@ -1,62 +1,91 @@ - - sorts sequence records according to the value of a given attribute - - macros.xml - - - - - '$output' - @GENERATE_GALAXY_JSON@ - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + sorts sequence records according to the value of a given attribute + + macros.xml + + + + + + '$output' + @GENERATE_GALAXY_JSON@ + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + `_. +If your file is an OBITools output, it should already be formatted correctly. + +For FASTA files, your headers should look like this:: + + >my_sequence taxid=3456; direct=True; sample=A354; this is my pretty sequence + ACGTTGCAGTACGTTGCAGTACGTTGCAGTACGTTGCAGTACGTTGCAGTACGTTGCAGT + GTGCTGACGTTGCAGTACGTTGCAGTACGTTGCAGTACGTTGCAGTACGTTGCAGTGTTT + AACGACGTTGCAGTACGTTGCAGT + +Where ``taxid``, ``direct``, and ``sample`` are keys that can be used for sorting. + +If your sequences don't have title, you can format the headers with a trailing semicolon like so:: + + >my_sequence key1=value1; + +For sorting OBITools output files, a list of OBITools sequence attributes are documented +`here `_. + +]]> + + + diff -r e614dcabd870 -r b6d9ea2fb41b test-data/input_ngsfilter_extrafile.txt --- a/test-data/input_ngsfilter_extrafile.txt Mon May 10 19:34:04 2021 +0000 +++ b/test-data/input_ngsfilter_extrafile.txt Wed Mar 20 13:15:59 2024 +0000 @@ -1,4 +1,4 @@ -wolf_diet 13a_F730603 aattaac TTAGATACCCCACTATGC TAGAACAGGCTCCTCTAG F @ -wolf_diet 15a_F730814 gaagtag TTAGATACCCCACTATGC TAGAACAGGCTCCTCTAG F @ -wolf_diet 26a_F040644 gaatatc TTAGATACCCCACTATGC TAGAACAGGCTCCTCTAG F @ -wolf_diet 29a_F260619 gcctcct TTAGATACCCCACTATGC TAGAACAGGCTCCTCTAG F @ +wolf_diet 13a_F730603 aattaac TTAGATACCCCACTATGC TAGAACAGGCTCCTCTAG F @ +wolf_diet 15a_F730814 gaagtag TTAGATACCCCACTATGC TAGAACAGGCTCCTCTAG F @ +wolf_diet 26a_F040644 gaatatc TTAGATACCCCACTATGC TAGAACAGGCTCCTCTAG F @ +wolf_diet 29a_F260619 gcctcct TTAGATACCCCACTATGC TAGAACAGGCTCCTCTAG F @