pub struct PileupOptions {Show 14 fields
pub input: InputBam,
pub rgn: Vec<String>,
pub bed: Option<String>,
pub out: String,
pub m6a: bool,
pub cpg: bool,
pub haps: bool,
pub keep_zeros: bool,
pub per_base: bool,
pub fiber_coverage: bool,
pub shuffle: Option<String>,
pub rolling_max: Option<usize>,
pub no_msp: bool,
pub no_nuc: bool,
}Fields§
§input: InputBam§rgn: Vec<String>Region string(s) to make a pileup of. e.g. chr1:1-1000 or chr1:1-1,000 Can be specified multiple times for multiple regions. If not provided will make a pileup of the whole genome
bed: Option<String>BED file with regions to query. If the BED file has a name column (4th column), the name will be added to each output line for that region.
out: StringOutput file
m6a: boolinclude m6A calls
cpg: boolinclude 5mC calls
haps: boolFor each column add two new columns with the hap1 and hap2 specific data.
keep_zeros: boolKeep zero coverage regions
per_base: boolWrite output one base at a time even if the values do not change
fiber_coverage: boolCalculate coverage starting from the first MSP/NUC to the last MSP/NUC position instead of the complete span of the read alignment.
shuffle: Option<String>Shuffle the fiber-seq data according to a bed file of the shuffled positions of the fiber-seq data
The bed file should have the following format: #chrom shuffled_start shuffled_end read_name original_start
rolling_max: Option<usize>Output a rolling max of the score column over X bases
no_msp: boolNo MSP columns
no_nuc: boolNo NUC columns
Implementations§
Source§impl PileupOptions
impl PileupOptions
Sourcepub fn effective_fiber_coverage(&self) -> bool
pub fn effective_fiber_coverage(&self) -> bool
--fire-filter bundles --fiber-coverage in addition to the three
filters. Callers should use this in place of reading fiber_coverage
directly so the bundle stays coherent.
Trait Implementations§
Source§impl Args for PileupOptions
impl Args for PileupOptions
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Debug for PileupOptions
impl Debug for PileupOptions
Source§impl From<&PileupOptions> for FireTrackOptions
impl From<&PileupOptions> for FireTrackOptions
Source§fn from(opts: &PileupOptions) -> Self
fn from(opts: &PileupOptions) -> Self
Source§impl From<&PileupOptions> for FiberseqPileupOptions
impl From<&PileupOptions> for FiberseqPileupOptions
Source§fn from(opts: &PileupOptions) -> Self
fn from(opts: &PileupOptions) -> Self
Source§impl FromArgMatches for PileupOptions
impl FromArgMatches for PileupOptions
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Auto Trait Implementations§
impl Freeze for PileupOptions
impl RefUnwindSafe for PileupOptions
impl Send for PileupOptions
impl Sync for PileupOptions
impl Unpin for PileupOptions
impl UnsafeUnpin for PileupOptions
impl UnwindSafe for PileupOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.