Expand description
§use-alignment
Primitive alignment metadata vocabulary.
use-alignment models alignment data and metadata only. It can store aligned text with gaps and numeric scores, but it does not implement Needleman-Wunsch, Smith-Waterman, BLAST, scoring matrices, or actual alignment.
use use_alignment::{AlignedSequence, AlignmentKind, AlignmentScore, AlignmentSummary};
let aligned = AlignedSequence::new("ACG-T").unwrap();
let summary = AlignmentSummary::new(AlignmentKind::Pairwise).with_score(AlignmentScore::new(12.5));
assert_eq!(aligned.aligned_len(), 5);
assert_eq!(summary.kind(), &AlignmentKind::Pairwise);Structs§
- Aligned
Sequence - A non-empty aligned sequence string that may contain gaps.
- Alignment
Id - A non-empty alignment identifier.
- Alignment
Score - A numeric alignment score.
- Alignment
Summary - Summary metadata for an alignment.
Enums§
- Alignment
Kind - A descriptive alignment kind.
- Alignment
Value Error - Error returned by alignment vocabulary constructors.