---
name: "kmerresistance"
section: "1"
platform: "linux"
package: "kmerresistance"
version: "2.2.0-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/kmerresistance"
---

# kmerresistance(1)

correlates mapped genes with the predicted species of WGS samples

## NAME

kmerresistance - correlates mapped genes with the predicted species of WGS samples

## SYNOPSIS

## DESCRIPTION

KmerResistance correlates mapped genes with the predicted species of WGS samples, where this this allows for identification of genes in samples which have been poorly sequenced or high accuracy predictions for samples with contamination. KmerResistance has one dependency, namely KMA to perform the mapping, which is also freely available.

## OPTIONS

- **-i**

  Input/query file name                                   REQUIRED

- **-o**

  Output file                                             REQUIRED

- **-t\_db**

  Template DB                                             REQUIRED

- **-s\_db**

  Species DB                                              REQUIRED

- **-id**

  ID threshhold                   70.0

- **-dct**

  Depth correction threshhold     0.1

- **-kma**

  alternative KMA         kma

### KMA options:

- **-i**

  Input/query file name           None            REQUIRED

- **-o**

  Output file                     None            REQUIRED

- **-t\_db**

  Template DB                     None            REQUIRED

- **-k**

  Kmersize                        16

- **-e**

  evalue                          0.05

- **-delta**

  Align in pieces of delta        511

- **-mem\_mode**

  Use kmers to choose best template, and save memory       False

- **-ex\_mode**

  Searh kmers exhaustively        False

- **-deCon**

  Remove contamination            False

- **-dense**

  Do not allow insertions in assembly                     False

- **-ref\_fsa**

  Consensus sequnce will have "n" instead of gaps        False

- **-matrix**

  Print assembly matrix           False

- **-mp**

  Minimum phred score             30

- **-5p**

  Cut a constant number of nucleotides from the 5 prime.   0

- **-Sparse**

  Run KmerFinder                  False

- **-ID**

  Minimum ID                      1.0%

- **-ss**

  Sparse sorting (q,c,d)          q

- **-shm**

  Use shared DB made by kma\_shm   0 (lvl)

- **-swap**

  Swap DB to disk                 0 (lvl)

- **-1t1**

  Skip HMM                        False

- **-boot**

  Bootstrap sequence              False

- **-mrs**

  Minimum alignment score, normalized to alignment length  0.5

- **-reward**

  Score for match                 1

- **-penalty**

  Penalty for mismatch            **-2**

- **-gapopen**

  Penalty for gap opening         **-3**

- **-gapextend**

  Penalty for gap extension       **-1**

- **-h**

  Shows this help message

## EXAMPLES

Mapping reads against resistance genes:

-

    kmerresistance -i sample\_1.fastq sample\_2.fastq -o out -t\_db ResFinder -s\_db bacteria

## AUTHOR

This manpage was written by Andreas Tille for the Debian distribution and can be used for any other usage of the program.
