algbio / themisto

Space-efficient pseudoalignment with a colored de Bruijn graph
GNU General Public License v2.0
50 stars 4 forks source link

Output is not sorted with --sort-output #28

Closed AntonBogun closed 1 year ago

AntonBogun commented 1 year ago

Reproduction:

jnalanko commented 1 year ago

Hi,

Sorry for the slow response. The --sort-output option actually just sorts the lines in the output file so the reads are listed in the same order as in the input. We might want to add another option to also sort the color identifiers within a line.

jnalanko commented 1 year ago

Added an option --sort-hits sort the output color ids, in commit 09806d978f

For clarity, the option--sort-output has been renamed to --sort-output-lines. The old name still works to avoid breaking existing scripts.