Enum googapis::google::genomics::v1::cigar_unit::Operation [−][src]
#[repr(i32)]
pub enum Operation {
Unspecified,
AlignmentMatch,
Insert,
Delete,
Skip,
ClipSoft,
ClipHard,
Pad,
SequenceMatch,
SequenceMismatch,
}
Expand description
Describes the different types of CIGAR alignment operations that exist. Used wherever CIGAR alignments are used.
Variants
An alignment match indicates that a sequence can be aligned to the
reference without evidence of an INDEL. Unlike the
SEQUENCE_MATCH
and SEQUENCE_MISMATCH
operators,
the ALIGNMENT_MATCH
operator does not indicate whether the
reference and read sequences are an exact match. This operator is
equivalent to SAM’s M
.
The insert operator indicates that the read contains evidence of bases
being inserted into the reference. This operator is equivalent to SAM’s
I
.
The delete operator indicates that the read contains evidence of bases
being deleted from the reference. This operator is equivalent to SAM’s
D
.
The skip operator indicates that this read skips a long segment of the
reference, but the bases have not been deleted. This operator is commonly
used when working with RNA-seq data, where reads may skip long segments
of the reference between exons. This operator is equivalent to SAM’s
N
.
The soft clip operator indicates that bases at the start/end of a read
have not been considered during alignment. This may occur if the majority
of a read maps, except for low quality bases at the start/end of a read.
This operator is equivalent to SAM’s S
. Bases that are soft
clipped will still be stored in the read.
The hard clip operator indicates that bases at the start/end of a read
have been omitted from this alignment. This may occur if this linear
alignment is part of a chimeric alignment, or if the read has been
trimmed (for example, during error correction or to trim poly-A tails for
RNA-seq). This operator is equivalent to SAM’s H
.
The pad operator indicates that there is padding in an alignment. This
operator is equivalent to SAM’s P
.
This operator indicates that this portion of the aligned sequence exactly
matches the reference. This operator is equivalent to SAM’s =
.
This operator indicates that this portion of the aligned sequence is an
alignment match to the reference, but a sequence mismatch. This can
indicate a SNP or a read error. This operator is equivalent to SAM’s
X
.
Implementations
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Operation
impl UnwindSafe for Operation
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more