pub struct SamRecord {
pub qname: String,
pub flag: u16,
pub rname: String,
pub pos: i32,
pub mapq: u8,
pub cigar: String,
pub rnext: String,
pub pnext: i32,
pub tlen: i32,
pub seq: Vec<Nuc>,
pub qual: Vec<u8>,
pub opt: Vec<SamOpt>,
}Expand description
A SAM record
Fields§
§qname: StringQuery name
flag: u16Bitwise flag
rname: StringReference name
pos: i32Position (1-based)
mapq: u8Mapping quality
cigar: StringCIGAR string
rnext: StringReference name of mate
pnext: i32Position of mate
tlen: i32Template length
seq: Vec<Nuc>Sequence
qual: Vec<u8>Quality scores
opt: Vec<SamOpt>Optional fields
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SamRecord
impl RefUnwindSafe for SamRecord
impl Send for SamRecord
impl Sync for SamRecord
impl Unpin for SamRecord
impl UnsafeUnpin for SamRecord
impl UnwindSafe for SamRecord
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