use-alignment 0.1.0

Primitive alignment metadata vocabulary for RustUse
Documentation
  • Coverage
  • 100%
    30 out of 30 items documented1 out of 22 items with examples
  • Size
  • Source code size: 11.22 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 725.74 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 4s Average build duration of successful builds.
  • all releases: 4s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-bioinformatics
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

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);