lt-fm-index 0.7.1

FM-index using k-mer lookup table for exact pattern matching
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use thiserror::Error;

/// Error type for building `LtFmIndex`.
#[derive(Debug, Error)]
pub enum BuildError {
    /// Index is over the maximum count of block
    #[error("Maximum index of block is {0}, but input is {1}.")]
    IndexCountOver(u32, u32),
    /// Invalid lookup table k-mer size
    #[error("Lookup table kmer size must be a positive integer")]
    LookupTableKmerSize,
    /// Invalid suffix array sampling ratio
    #[error("Suffix array sampling ratio must be a positive integer")]
    SuffixArraySamplingRatio,
}