pub struct Record { /* private fields */ }
Expand description

A CRAM record.

Implementations

Converts an alignment record to a CRAM record.

Converts this CRAM record to a SAM record.

This assumes this record is fully resolved.

Returns a builder to create a record from each of its fields.

Returns the BAM flags.

This is also called the BAM bit flags.

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 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 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 read bases.

Returns the read features.

Trait Implementations

Returns the read name. Read more

Returns the associated reference sequence.

Returns the flags.

Returns the start position.

Calculates the alignment span over the reference sequence.

Returns the mapping quality.

Returns the CIGAR operations.

Returns the associated reference sequence of the mate.

Returns the start position of the mate.

Returns the template length.

Returns the sequence.

Returns the quality scores.

Returns the data fields.

Calculates the end position. Read more

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

Should always be Self

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.