pub struct HomologyRegion {
pub start1: i32,
pub end1: i32,
pub start2: i32,
pub end2: i32,
pub opt: f64,
pub overlapaa: i32,
pub extended: bool,
pub importance: f64,
pub rimportance: f64,
pub korh: u8,
pub nokori: i32,
}Expand description
A single local homology region between two sequences.
Replaces the C LocalHom linked-list node with a plain struct.
Collections of these are stored in a Vec rather than a linked list.
Fields§
§start1: i32Start position in sequence 1.
end1: i32End position in sequence 1.
start2: i32Start position in sequence 2.
end2: i32End position in sequence 2.
opt: f64Optimal alignment score for this region.
overlapaa: i32Overlap in amino acids.
extended: boolWhether this region was extended.
importance: f64Importance weight (used in consistency scoring).
rimportance: f64Reverse importance weight.
korh: u8‘k’ (keep) or ‘h’ (homolog) classification.
nokori: i32Remaining count.
Trait Implementations§
Source§impl Clone for HomologyRegion
impl Clone for HomologyRegion
Source§fn clone(&self) -> HomologyRegion
fn clone(&self) -> HomologyRegion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HomologyRegion
impl Debug for HomologyRegion
Source§impl Default for HomologyRegion
impl Default for HomologyRegion
Source§impl PartialEq for HomologyRegion
impl PartialEq for HomologyRegion
impl StructuralPartialEq for HomologyRegion
Auto Trait Implementations§
impl Freeze for HomologyRegion
impl RefUnwindSafe for HomologyRegion
impl Send for HomologyRegion
impl Sync for HomologyRegion
impl Unpin for HomologyRegion
impl UnsafeUnpin for HomologyRegion
impl UnwindSafe for HomologyRegion
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