---
name: "kmc_tools-compact"
section: "1"
platform: "linux"
package: "kmc"
version: "3.2.4+dfsg-1+b3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/kmc_tools-compact"
---

# kmc\_tools-compact(1)

remove counters of k-mers

## NAME

kmc\_tools-compact - remove counters of k-mers

## SYNOPSIS

**kmc\_tools** compact \<inputdb\> \[input\_params\] \<output\>

## DESCRIPTION

This command removes counters from the database and stores only k-mers.

## 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

## EXAMPLE

```
kmc_tools compact wy_kmc2 -ci3 -cx1000 wy_kmc1
```

## AUTHOR

KMC was originally written by:

• Sebastian Deorowicz ( \<sebastian.deorowicz@polsl.pl\>)

• Marek Kokot

• Szymon Grabowski

• Agnieszka Debudaj-Grabysz

## COPYING

KMC is a free software distributed under GNU GPL3 licence for academic, research, and commercial use.
