pub struct Orf {
pub id: String,
pub strand: CodingStrand,
pub start: usize,
pub length: usize,
pub frame: usize,
pub codons: usize,
pub protein: String,
pub start_codon: String,
pub stop_codon: String,
pub wraps_origin: bool,
}Expand description
One complete open reading frame (start codon through stop codon).
Fields§
§id: String§strand: CodingStrand§start: usizeLowest forward-reference position covered; with length it may wrap the origin.
length: usizeBases including the stop codon.
frame: usizeOffset of the 5′ codon base from the 5′ end of its strand, modulo 3
(start % 3 forward), matching six_frames offsets.
codons: usizeAmino acids, excluding the stop.
protein: String§start_codon: String§stop_codon: String§wraps_origin: boolTrait Implementations§
impl Eq for Orf
impl StructuralPartialEq for Orf
Auto Trait Implementations§
impl Freeze for Orf
impl RefUnwindSafe for Orf
impl Send for Orf
impl Sync for Orf
impl Unpin for Orf
impl UnsafeUnpin for Orf
impl UnwindSafe for Orf
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