Struct lt_fm_index::LtFmIndexConfig[][src]

pub struct LtFmIndexConfig { /* fields omitted */ }
Expand description

Configuration to generate LtFmIndex safely.

LtFmIndexConfig can safely generate all implementation types in the crate::use_case module through limitations of setting values.

  • Default Setting
    • Text with no noise (NucleotideOnly, AminoacidOnly)
    • Default kmer size
      • NucleotideOnly: 10
      • NucleotideWithNoise: 9
      • AminoacidOnly: 5
      • AminoacidWithNoise: 5
    • Sampling ratio is 2
    • Bwt interval is 64

Implementations

New Config for nucleotide

New Config for aminoacid

Text contains noise

Change kmer size for kmer count table

Kmer size allows the value not less than the length of the text and half the pointer width.

Change sampling ratio for suffix array

Sampling ratio allows the positive integer

Change bwt interval to 128 (default is 64)

Generate LtFmIndex with Text

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more

Checks if self is actually part of its subset T (and can be converted to it).

Use with care! Same as self.to_subset but without any property checks. Always succeeds.

The inclusion map: converts self to the equivalent element of its superset.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.