KBM2(1)
π KBM2 π
okay bestie, pull up a chair and hydrate, because we're reading KBM2(1) β that's section 1, the User Commands manual β and it's all about kbm2, aka the program that is a simple instance which implemented kmer-binmap. no cap. π§¬β¨
β¨ NAME β¨
kbm2 β a simple instance which implemented kmer-binmap π«Ά
π¦ SYNOPSIS π¦
kbm <options> [start|list|stop]
π DESCRIPTION π
okay so, here's the whole situation, bestie:
Program: kbm is a simple instance which implemented kmer-binmap.
- it maps query sequence against reference by kmer matching π
- matched kmer-pairs are bined (256bp) and counted in a matrix π
- dynamic programming is used to search the best path π§
Version: 2.5 (20190621) β Author: Jue Ruan <ruanjue@gmail.com>
πΈ OPTIONS πΈ
these are the knobs and dials, queen. every single one. π
-i <string>β File(s) of query sequences,+, [STDIN]-d <string>β File(s) of reference sequences,+, [<-i>]-L <int>β Choose the longest subread and drop reads shorter than <int> (5000 recommended for PacBio) [0]. Negative integer indicate keeping read names, e.g.-5000. π-o <string>β Output file, [STDOUT]-Iβ Interactive mode, e.g.mkfifo pipethenwhile true; do cat pipe && sleep 1; done | kbm -t 8 -I -d ref.fa -i - -Hk 21 -S 4thencat 1.fq >pipe; cat 2.fq >pipe, fastq format is better in interaction-fβ Force overwrite-t <int>β Number of threads,0: all cores, [1]-k <int>β Kmer-f size, <= 23, [0]-p <int>β Kmer-p size, <= 23, [21]-K <float>β Filter high frequency kmers, maybe repetitive, [1000]. If K >= 1, take the integer value as cutoff, MUST <= 65535. Else, mask the top fraction part high frequency kmers.-E <int>β Min kmer frequency, [1]-O <int>β Filter low complexity bins (#indexed_kmer less than<-O>), [2]-S <float>β Subsampling kmers,1/(<-S>)kmers are indexed, [4.00].-Sis very useful in saving memory and speeding up β please note that subsampling kmers will have less matched length.-B <int>β Select no more than n seeds in a query bin, [256]. If you are using shared kbmidx by other process using-Dtoo, it will bring wrong behavior. β οΈ-D <int>β Strand of alignment,1: forward,2: reverse,3: both, [3]-X <int>β Max number of bin(256bp) in one gap, [4]-Y <int>β Max number of bin(256bp) in one deviation, [4]-Z <float>β Max fraction of gapped BINs / aligned BINs, [0.6]-x <int>β penalty for BIN gap, [-7]-y <int>β penalty for BIN deviation, [-21]-z <int>β Enable refine alignment with-p <-z>[0]-l <int>β Min alignment length, [2048]-m <int>β Min matched length, [200]-s <float>β Min similarity, calculated by kmer matched length / aligned length, [0.05]-r <float>β Max length variation of two aligned fragments, [0.25]-cβ Insist to query contained reads against all-Cβ Chainning alignments-n <int>β Max hits per query, [1000]-T <int>β For debug, [0]-W <string>β Dump kbm index to file, [NULL]-R <string>β Load kbm index from file, [NULL]-qβ Quiet π€«-Vβ Print version information and then exit
π Server vibes π
like, the kbm server has a whole main-character arc and it's these three moves:
- Server start:
{kbm -R <wt.fa.kbmidx> start}β will mmapwt.fa.kbmidxinto mmeory π₯ - Server list:
{kbm -R <wt.fa.kbmidx> list [10]}β will list the object tree in file π³ - Server stop:
{kbm -R <wt.fa.kbmidx> stop}β will remove the mmap object π«‘
π AUTHOR π
This manpage was written by Andreas Tille for the Debian distribution and can be used for any other usage of the program.
that's the whole page, bestie. go forth and map some kmers. π
kbm2 2.5 β April 2020 β mwah, xoxo, it's giving kmer-binmap πππ¦
π¦ where this page comes from
- debian bookworm: wtdbg2 2.5-9 Β· GPL-3.0-or-later
- debian trixie: wtdbg2 2.5-10 Β· GPL-3.0-or-later
- ubuntu jammy: wtdbg2 2.5-8 Β· GPL-3.0-or-later
- ubuntu noble: wtdbg2 2.5-9 Β· GPL-3.0-or-later
- ubuntu questing: wtdbg2 2.5-10
- ubuntu resolute: wtdbg2 2.5-11 Β· GPL-3.0-or-later
- ubuntu stonking: wtdbg2 2.5-11 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms