Enum seq_geom_parser::GeomPiece
source · pub enum GeomPiece {
Barcode(GeomLen),
Umi(GeomLen),
Discard(GeomLen),
ReadSeq(GeomLen),
Fixed(NucStr),
}
Expand description
The pieces of geometry (types) we currently support.
Variants§
Barcode(GeomLen)
A cellular barcode
Umi(GeomLen)
A unique molecular identifier
Discard(GeomLen)
Sequence that will be discarded
ReadSeq(GeomLen)
Biological read sequence
Fixed(NucStr)
A fixed sequence anchor / motif
Implementations§
source§impl GeomPiece
impl GeomPiece
sourcepub fn is_fixed_len(&self) -> bool
pub fn is_fixed_len(&self) -> bool
This method returns true if the current GeomPiece has a fixed length (either FixedLen or a Fixed(NucStr)), and false otherwise.
sourcepub fn is_bounded(&self) -> bool
pub fn is_bounded(&self) -> bool
This method returns true if the current GeomPiece has a bounded length (either Bounded, BoundedRange, or a Fixed(NucStr)), and false otherwise.
sourcepub fn is_complex(&self) -> bool
pub fn is_complex(&self) -> bool
This method returns true if the current GeomPiece is “complex” (either BoundedRange, or a Fixed(NucStr)), and false otherwise.