sigalign-core 0.2.1

A core crate for sigalign
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use super::{
    QueryAlignment,
    TargetAlignment,
};

impl QueryAlignment {
    pub fn count_alignments(&self) -> usize {
        self.0.iter().map(|x| x.count_alignments()).sum()
    }
}
impl TargetAlignment {
    pub fn count_alignments(&self) -> usize {
        self.alignments.len()
    }
}