public class KmerMap
KmerMap provides high efficiency in both speed and memory efficiency for storing and counting kmers. It is backed with a primitive hashmap. All kmers are encoded into Longs, so only kmers upto to 32bp in length can be stored.
public KmerMap(@NotNull java.lang.String sequence, int kmerSize, int stepSize, @Nullable java.lang.Character kmerPrefix, int refRangeId, @NotNull KmerMapType mapType)
KmerMap provides high efficiency in both speed and memory efficiency for storing and counting kmers. It is backed with a primitive hashmap. All kmers are encoded into Longs, so only kmers upto to 32bp in length can be stored.
protected void addDNASeqToMap(@NotNull java.lang.String dna)
@NotNull public it.unimi.dsi.fastutil.longs.LongSet kmersAsLongSet()
@NotNull public kotlin.Array[] kmersAsLongArray()
@NotNull public java.util.List<java.lang.Long> kmersAsLongList()
@NotNull public java.util.Set<java.lang.String> kmersAsDNA()
@NotNull public kotlin.sequences.Sequence<java.lang.Long> kmerLongSequence()
@NotNull public kotlin.sequences.Sequence<java.lang.String> kmerDNASequence()
public int size()
public int get(long kmer)
public int get(@NotNull java.lang.String kmerSeq)
@NotNull public kotlin.sequences.Sequence<kotlin.Pair> asSequence()
@NotNull public kotlin.sequences.Sequence<kotlin.Pair> asDNASequence()
@NotNull public NonExistentClass toString()
@NotNull public NonExistentClass toStringLong()
public int getKmerSize()
public int getStepSize()
@Nullable public java.lang.Character getKmerPrefix()
public int getRefRangeId()
@NotNull public KmerMapType getMapType()