[−][src]Struct d4::D4FileBuilder
The builder that is used to build a D4 file
Implementations
impl D4FileBuilder
[src]
pub fn new<P: AsRef<Path>>(path: P) -> D4FileBuilder
[src]
Create a new D4 file builder
pub fn set_filter<T: Fn(&str, usize) -> bool + 'static>(
&mut self,
filter: T
) -> &mut Self
[src]
&mut self,
filter: T
) -> &mut Self
Set a chromosome filter lambda, this will be used to determine if the chromosome should be in the output
pub fn append_chrom<I: Iterator<Item = Chrom>>(
&mut self,
chrom_it: I
) -> &mut Self
[src]
&mut self,
chrom_it: I
) -> &mut Self
Append chromosomes to the chrom list
pub fn load_chrom_info_from_bam<P: AsRef<Path>>(
&mut self,
path: P
) -> Result<&mut Self>
[src]
&mut self,
path: P
) -> Result<&mut Self>
Load the chromosome information from a input BAM file
pub fn set_dictionary(&mut self, dict: Dictionary) -> &mut Self
[src]
Set the file's dictionary
pub fn dictionary(&self) -> &Dictionary
[src]
Get a reference to the dictionary
pub fn create<PT: PTableWriter, ST: STableWriter>(
&mut self
) -> Result<D4FileWriter<PT, ST>>
[src]
&mut self
) -> Result<D4FileWriter<PT, ST>>
Create the D4 file writer for this file
Auto Trait Implementations
impl !RefUnwindSafe for D4FileBuilder
impl !Send for D4FileBuilder
impl !Sync for D4FileBuilder
impl Unpin for D4FileBuilder
impl !UnwindSafe for D4FileBuilder
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> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
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>,