KMC_TOOLS-COUNTERS_SUBTRACT(1)
โจ KMC_TOOLS-COUNTERS_SUBTRACT(1) โจ
okay bestie, so this is a page from the kmc_tools manual, section 1 (general commands, iykyk). sit down, grab a boba, we're doing counter subtraction ๐
๐ธ NAME ๐ธ
kmc_tools-counters_subtract โ the way that it calculates the counters subtraction of two KMC databases ๐งฎโจ
๐ฆ SYNOPSIS ๐ฆ
kmc_tools counters_subtract <input1 [input1_params]> <input2 [input2_params]> <output [output_params]>
two inputs, one output, and optional lil params hanging off each one. that's the whole vibe ๐
๐ DESCRIPTION ๐
so here's the tea ๐ the output database is gonna contain only the k-mers that are present in the first input set and that have counters higher than the appropriate k-mers in the second set. like, if it's not winning, it's not invited bestie ๐
and for each k-mer that makes the cut, the counter equals the difference between the counter in the first set and the counter in the second set. literally subtraction. math is mathing โจ
๐ OPTIONS ๐
๐ For each input there are additional parameters:
-ci<value>โ exclude k-mers occurring less than<value>times ๐ โโ๏ธ-cx<value>โ exclude k-mers occurring more of than<value>times ๐ โโ๏ธ
๐ For output there are additional parameters:
-ci<value>โ exclude k-mers occurring less than<value>times ๐ โโ๏ธ-cx<value>โ exclude k-mers occurring more of than<value>times ๐ โโ๏ธ-cs<value>โ maximal value of a counter, so it doesn't get too main character ๐
๐ง EXAMPLE ๐ง
watch me cook ๐ณ
kmc - k28 file1.fastq kmers1 tmp
kmc - k28 file2.fastq kmers2 tmp
kmc_tools counters_subtract kmers1 kmers2 kmers1_kmers2_counters_subtract
build two databases, then subtract them. ate, no crumbs ๐ฅ
โญ AUTHOR โญ
KMC was originally written by these absolute legends:
- Sebastian Deorowicz (
sebastian.deorowicz@polsl.pl) - Marek Kokot
- Szymon Grabowski
- Agnieszka Debudaj-Grabysz
not me being obsessed with a whole squad of iconique authors ๐
๐ COPYING ๐
KMC is a free software distributed under GNU GPL3 licence for academic, research, and commercial use. slay, honestly ๐ซถ
okay that's the whole page bestie, go forth and subtract those counters, the output db is not gonna build itself ๐ญ๐
KMC_TOOLS-COUNTERS_SUBTRACT(1) โ that's the footer babes, and it's giving "no extra version or date info on this one", so that's all she wrote ๐ธ bye pookie ๐
๐ฆ 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