pub enum SequenceReadPairOrientation {
    F1R2,
    F2R1,
    R1F2,
    R2F1,
    F1F2,
    R1R2,
    F2F1,
    R2R1,
    None,
}
Expand description

Representation of sequence read pair orientation (e.g. F1R2 means that the forward read comes first on the reference contig, followed by the reverse read, on the same contig).

This enum can be pretty-printed into a readable string repesentation:

use bio_types::sequence::SequenceReadPairOrientation;

// format into string
println!("{}", SequenceReadPairOrientation::F1R2);
// obtain string via `AsRef<&'static str>`
assert_eq!(SequenceReadPairOrientation::R1F2.as_ref(), "R1F2");

Variants

F1R2

F2R1

R1F2

R2F1

F1F2

R1R2

F2F1

R2R1

None

Trait Implementations

Converts this type into a shared reference of the (usually inferred) input type.

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

Formats the value using the given formatter. 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.

The resulting type after obtaining ownership.

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

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

Converts the given value to a String. 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.