pub struct Alignment {
pub score: f32,
pub positions: Vec<AlignedPosition>,
pub cons_start: u8,
pub cons_end: u8,
pub confidence_score: f32,
pub max_confidence_score: f32,
pub query_start: usize,
pub query_end: usize,
}Expand description
Result of aligning a sequence to a consensus
Fields§
§score: f32Alignment score
positions: Vec<AlignedPosition>Aligned positions (length == query length; flanking residues are Insertion())
cons_start: u8First aligned consensus position (IMGT position number)
cons_end: u8Last aligned consensus position (IMGT position number)
confidence_score: f32Sum of scores at confidence-relevant positions (occupancy > 0.5)
max_confidence_score: f32Sum of max possible scores at confidence-relevant positions
query_start: usize0-based index of the first antibody residue in the query (0 when no prefix)
query_end: usize0-based index of the last antibody residue in the query (query.len()-1 when no suffix)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Alignment
impl<'de> Deserialize<'de> for Alignment
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Alignment
impl RefUnwindSafe for Alignment
impl Send for Alignment
impl Sync for Alignment
impl Unpin for Alignment
impl UnsafeUnpin for Alignment
impl UnwindSafe for Alignment
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