KMC_TOOLS(1)

πŸ’– kmc_tools(1) β€” the manual page, but make it make sense πŸ’–

okay bestie, sit down, hydrate, and let me tell you about kmc_tools 🫢 this is the KMC_TOOLS(1) manual page and by the end of it you're gonna be running k-mer database ops like it's nothing. no cap.


✨ NAME ✨

kmc_tools β€” extra operations you can do on k-mer databases πŸ’…


✨ SYNOPSIS ✨

kmc_tools [global parameters] <operation> [operation parameters]

✨ DESCRIPTION ✨

So like… this command, and all its lil subcommands, implement a whole bunch of operations you can run on KMC databases. That's the whole vibe. ✨

πŸ¦‹ k-mers sets operations for 2 KMC databases

these ones take two databases and do stuff with both of them, periodt:

  • intersect β€” gives you the intersection of 2 k-mers sets πŸ”₯
  • kmers_subtract β€” subtraction of 2 k-mers sets
  • counters_subtract β€” counters subtraction of 2 k-mer sets (yes it's different from the one above, iykyk)
  • union β€” union of 2 k-mers sets πŸ’–

πŸ¦‹ operations for a single kmc database

one database, one main character, lots of options:

  • sort β€” sorts the k-mers from a database generated by KMC2.x
  • reduce β€” throws out the too-rare AND the too-frequent k-mers (bye to both extremes ✌️)
  • compact β€” removes the counters, so you're storing only k-mers
  • histogram β€” a histogram of k-mers occurrences πŸ“Š
  • dump β€” dumps k-mers and counters out to a text file

πŸ¦‹ more complex operations:

  • complex β€” complex operations with a number of input databases (yes the name is honest, it's giving ✨ambitious✨)

πŸ¦‹ other operations:

  • filter β€” filters out reads that have too small a number of k-mers

✨ OPTIONS ✨

global parameters:

  • -t<value> β€” total number of threads (default: the number of CPU cores, so it just uses everything you got πŸ‘‘)
  • -v β€” enable verbose mode, which shows some information (default: false)
  • -hp β€” hide the percentage progress (default: false) πŸ™ˆ

✨ EXAMPLE ✨

here's the moment you've been waiting for, an actual command, go off:

kmc_tools union db1 -ci3 db2 -ci5 -cx300 db1_union_db2 -ci10

✨ SEE ALSO ✨

go read these next, bestie, they're all linked:


✨ AUTHOR ✨

KMC was originally written by:

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

icons, all of them, no notes πŸ’…


✨ COPYING ✨

KMC is free software distributed under the GNU GPL3 licence, and it's for academic, research, AND commercial use β€” so yes, you can use it for the bag too πŸ’°


and that's the whole page bestie!! πŸŽ€ this was the KMC_TOOLS(1) manual, mwah, go union some databases πŸŒΈπŸ’–

πŸ“¦ where this page comes from