Struct noodles_cram::record::Record [−][src]
pub struct Record { /* fields omitted */ }
Expand description
A CRAM record.
Implementations
pub fn try_into_sam_record(
&self,
reference_assembly: &[Record],
reference_sequences: &ReferenceSequences,
compression_header: &CompressionHeader
) -> Result<Record>
pub fn try_into_sam_record(
&self,
reference_assembly: &[Record],
reference_sequences: &ReferenceSequences,
compression_header: &CompressionHeader
) -> Result<Record>
Converts this CRAM record to a SAM record.
Returns the CRAM flags.
This is also called the CRAM bit flags or compression bit flags.
Returns the reference sequence ID.
This is also called the reference ID. It is the position of the reference sequence in the SAM header.
Returns the read length.
Returns the alignment start position.
This value is 1-based.
Returns the alignment end position.
This value is 1-based.
Returns the read group ID.
This is also simply called the read group. It is the position of the read group in the SAM header.
Returns the read name.
This may be the original read name or a generated one.
Returns the next mate flags.
This is also call the next mate bit flags.
Returns the reference sequence ID of the next fragment.
It is the position of the reference sequence in the SAM header.
Returns the alignment start position of the next mate.
This value is 1-based.
Returns the template size.
Returns the distance to the next fragment.
This is the number of records to the next fragment within a slice.
Returns the tag dictionary.
Returns the mapping quality.
Returns the per-base quality scores.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Record
impl UnwindSafe for Record
Blanket Implementations
Mutably borrows from an owned value. Read more