[−][src]Struct bam_builder::ReadFragSpecBuilder
Builder for ReadFragSpec.
Implementations
impl ReadFragSpecBuilder[src]
pub fn name(&mut self, value: String) -> &mut Self[src]
Name of the read, will be filled in by BamBuilder::next_name by default.
pub fn bases(&mut self, value: String) -> &mut Self[src]
Sequence bases, will be filled in by BamBuilder::random_bases by default.
pub fn quals(&mut self, value: String) -> &mut Self[src]
Quality string, will be based on the BamBuilder::base_quality by default.
pub fn contig(&mut self, value: i32) -> &mut Self[src]
Reference contig if mapped, defaults to unmapped.
pub fn start(&mut self, value: i64) -> &mut Self[src]
0-based location on reference contig if mapped. defaults to unmapped.
pub fn unmapped(&mut self, value: bool) -> &mut Self[src]
true if unmapped, defaults to true.
pub fn cigar(&mut self, value: String) -> &mut Self[src]
Alignment, defaults to all M if mapped or * if unmapped.
pub fn mapq(&mut self, value: u8) -> &mut Self[src]
map quality of the read, defaults to 60 if mapped, * if unmapped.
pub fn strand(&mut self, value: Strand) -> &mut Self[src]
Strand the read maps to, defaults to wrappers::Strand::Plus.
pub fn attrs(&mut self, value: HashMap<String, AuxType>) -> &mut Self[src]
Tags for the read, defaults to none.
pub fn build(&self) -> Result<ReadFragSpec, String>[src]
Trait Implementations
impl Clone for ReadFragSpecBuilder[src]
pub fn clone(&self) -> ReadFragSpecBuilder[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Default for ReadFragSpecBuilder[src]
pub fn default() -> ReadFragSpecBuilder[src]
Auto Trait Implementations
impl RefUnwindSafe for ReadFragSpecBuilder[src]
impl Send for ReadFragSpecBuilder[src]
impl Sync for ReadFragSpecBuilder[src]
impl Unpin for ReadFragSpecBuilder[src]
impl UnwindSafe for ReadFragSpecBuilder[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,