kmers

open fun kmers(kmerSize: Int = 21, bothStrands: Boolean = true, stepSize: Int = 1): KmerMultiSet

Extracts the kmer count from a nucleotide sequence NucSeq. In general kmers from both strands should be extracted, unless strand specificity is really known. No kmers that include an ambiguous base pair will be included Using stepSize subsets of the kmers can be sampled

Parameters

kmerSize

length of kmers to be extracted from the sequence

bothStrands

extract kmers from only the forward strand or both strands

stepSize

kmers are extracted from the first base going forward based on a given step