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 setscounters_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 byKMC2.xreduceβ 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-mershistogramβ 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:
kmc(1)kmc_tools-histogram(1)kmc_tools-compact(1)kmc_tools-intersect(1)kmc_tools-complex(1)kmc_tools-kmers_subtract(1)kmc_tools-counters_subtract(1)kmc_tools-sort(1)kmc_tools-dump(1)kmc_tools-union(1)kmc_tools-filter(1)
β¨ 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
- ubuntu noble: kmc 3.2.4+dfsg-1 Β· GPL-3.0-only
- ubuntu questing: kmc 3.2.4+dfsg-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms