pub struct IndexCompare;Expand description
Splice-signal comparator for BSJ flanking sequences.
A BTreeMap is used deliberately so shift offsets are iterated in ascending
order, matching the ordering assumptions in later validator logic.
Implementations§
Source§impl IndexCompare
impl IndexCompare
Sourcepub fn index_compare(
end_string1: &str,
end_string2: &str,
) -> BTreeMap<i32, String>
pub fn index_compare( end_string1: &str, end_string2: &str, ) -> BTreeMap<i32, String>
Compares flanking sequences for nuclear-chromosome splice motifs.
end_string1: Sequence flanking the predicted upstream site (acceptor side).end_string2: Sequence flanking the predicted downstream site (donor side).
Returns a map of shift offsets to a formatted string containing:
offset, strand, donor_signal, acceptor_signal.
Auto Trait Implementations§
impl Freeze for IndexCompare
impl RefUnwindSafe for IndexCompare
impl Send for IndexCompare
impl Sync for IndexCompare
impl Unpin for IndexCompare
impl UnsafeUnpin for IndexCompare
impl UnwindSafe for IndexCompare
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more