Skip to main content

SamConfig

Struct SamConfig 

Source
pub struct SamConfig {
Show 22 fields pub print_as: bool, pub print_xs: bool, pub print_ys: bool, pub print_x0: bool, pub print_x1: bool, pub print_xn: bool, pub print_xm: bool, pub print_xo: bool, pub print_xg: bool, pub print_nm: bool, pub print_md: bool, pub print_yf: bool, pub print_yd: bool, pub print_yt: bool, pub print_zs: bool, pub print_nh: bool, pub print_hi: bool, pub print_nm_genome: bool, pub print_md_number: bool, pub print_jm: bool, pub print_ji: bool, pub full_ref: bool,
}
Expand description

SAM output configuration

Fields§

§print_as: bool

Print AS:i: alignment score

§print_xs: bool

Print XS:i: secondary alignment score

§print_ys: bool

Print YS:i: mate alignment score

§print_x0: bool

Print X0:i: number of best alignments

§print_x1: bool

Print X1:i: number of suboptimal alignments

§print_xn: bool

Print XN:i: number of Ns in reference

§print_xm: bool

Print XM:i: number of mismatches

§print_xo: bool

Print XO:i: number of gap opens

§print_xg: bool

Print XG:i: number of gap extensions

§print_nm: bool

Print NM:i: edit distance

§print_md: bool

Print MD:Z: mismatch string

§print_yf: bool

Print YF:Z: mate alignment flags

§print_yd: bool

Print YD:i: mate distance

§print_yt: bool

Print YT:Z: mate type

§print_zs: bool

Print ZS:Z: strand

§print_nh: bool

Print NH:i: hit count

§print_hi: bool

Print HI:i: hit index

§print_nm_genome: bool

Print nM:i: genome mismatches

§print_md_number: bool

Print MD:n: mismatch as number

§print_jm: bool

Print jM:i: junction mismatch

§print_ji: bool

Print jI:i: junction insertions

§full_ref: bool

Print full ref coords

Trait Implementations§

Source§

impl Clone for SamConfig

Source§

fn clone(&self) -> SamConfig

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SamConfig

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for SamConfig

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.