Abstract Sparse Kmer Set
abstract class AbstractSparseKmerSet(val kmerSize: Int, val bothStrands: Boolean, val stepSize: Int, val keepMinOnly: Boolean) : AbstractKmerSet
Represents some AbstractKmerSet where most of the unique kmers of kmerSize are not represented. The maximum number of kmers cannot exceed MAX_VALUE of Int.
Inheritors
Functions
Link copied to clipboard
Generates kmers from a nucleotide sequence and adds those kmers to this set.
Link copied to clipboard
Returns the number of ambiguous kmers in the set.
Link copied to clipboard
Link copied to clipboard
Hashes the longs in the set based on their even nucleotides and their odd nucleotides, placing each long into two bins. Returns this map of bins.
Link copied to clipboard
Returns the minimum hamming distance between the query kmer and all kmers in this map
Link copied to clipboard
Returns the total length of sequence(s) used to generate this set.