KMC_TOOLS-SORT(1)

✨ KMC_TOOLS-SORT(1) ✨

okay so bestie, you found the kmc_tools-sort manual page and I am SO glad you're here πŸ’– this is the one that sorts your KMC databases, and honestly? it's giving glow-up energy 🌈


πŸŽ€ NAME πŸŽ€

kmc_tools-sort β€” sort KMC databases. that's it, that's the job, and she does it flawlessly πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

kmc_tools sort <inputdb> [input_params] <output> [output_params]

like, that's the whole vibe. input db, some optional lil input params, output, some optional lil output params. slay ✨


πŸ’œ DESCRIPTION πŸ’œ

so here's the tea 🍡: this command converts a database produced by KMC2.x into the KMC1.x database format. and the KMC1.x format? it contains k-mers in sorted order. yes, sorted. no cap. the k-mers are literally in order and she ate that πŸ‘‘


🌸 OPTIONS 🌸

for each input, there are additional parameters 🫢

  • -ci<value> β€” exclude k-mers that occur less than <value> times. too rare? not invited to the party, sorry not sorry πŸ™ˆ
  • -cx<value> β€” exclude k-mers that occur more of than <value> times. (yes bestie, the original says "more of than" and we respect the original fr fr πŸ’€) too popular? also not invited. bye πŸ’€

for output, there are additional parameters ✨

  • -cs<value> β€” maximal value of a counter. that's the ceiling, the limit, the cap on your counters πŸŽ€

πŸ“ EXAMPLE πŸ“

kmc_tools sort wy_kmc2 -ci3 -cx1000 wy_kmc1 -cs255

look at her go 😭 iconic. takes wy_kmc2, kicks out anything with fewer than 3 occurrences, kicks out anything with more than 1000 occurrences, writes wy_kmc1, and caps the counters at 255. main character energy, no notes πŸ”₯


πŸ‘‘ AUTHOR πŸ‘‘

KMC was originally written by these absolute legends:

  • Sebastian Deorowicz (sebastian.deorowicz@polsl.pl)
  • Marek Kokot
  • Szymon Grabowski
  • Agnieszka Debudaj-Grabysz

give them their flowers, they earned them πŸŒΈπŸ’


🌈 COPYING 🌈

KMC is a free software distributed under the GNU GPL3 licence for academic, research, and commercial use. free software, free to use, we love to see it πŸ’–


bestie reminder: everything above is exactly what the page says β€” no invented flags, no made-up defaults, just the facts with a little sparkle ✨

and that's a wrap on KMC_TOOLS-SORT(1) πŸŽ€ mwah, go sort those k-mers, you've got this πŸ«ΆπŸ’…

πŸ“¦ where this page comes from