paf

Enum Tag

Source
pub enum Tag {
Show 17 variants tp(Type), cm(Type), s1(Type), s2(Type), NM(Type), MD(Type), AS(Type), SA(Type), ms(Type), nn(Type), ts(Type), cg(Type), cs(Type), dv(Type), de(Type), rl(Type), zd(Type),
}
Expand description

Enum representing the possible types of tags.

Variants§

§

tp(Type)

Type of aln: P/primary, S/secondary and I,i/inversion.

§

cm(Type)

Number of minimizers on the chain.

§

s1(Type)

Chaining score.

§

s2(Type)

Chaining score of the best secondary chain.

§

NM(Type)

Total number of mismatches and gaps in the alignment.

§

MD(Type)

To generate the ref sequence in the alignment.

§

AS(Type)

DP alignment score.

§

SA(Type)

List of other supplementary alignments.

§

ms(Type)

DP score of the max scoring segment in the alignment.

§

nn(Type)

Number of ambiguous bases in the alignment.

§

ts(Type)

Transcript strand (splice mode only).

§

cg(Type)

CIGAR string.

§

cs(Type)

Difference string.

§

dv(Type)

Approximate per-base sequence divergence.

§

de(Type)

Gap-compressed per-base sequence divergence.

§

rl(Type)

Length of query regions harboring repetitive seeds.

§

zd(Type)

ZD?

Implementations§

Source§

impl Tag

Source

pub fn parse(tag: &str, value: Type) -> Result<Self>

Parse a tag from a string.

Trait Implementations§

Source§

impl Debug for Tag

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl Freeze for Tag

§

impl RefUnwindSafe for Tag

§

impl Send for Tag

§

impl Sync for Tag

§

impl Unpin for Tag

§

impl UnwindSafe for Tag

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> 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, 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.