pub struct CallPeaksOptions {Show 20 fields
pub input: InputBam,
pub shuffled: Option<String>,
pub out: String,
pub max_cov: Option<i32>,
pub min_cov: Option<i32>,
pub sd_cov: f64,
pub max_fdr: f64,
pub min_fire_frac: Option<f64>,
pub min_fire_frac_filter: f64,
pub min_frac_accessible: f64,
pub window_size: usize,
pub min_frac_overlap: f64,
pub min_reciprocal_overlap: f64,
pub high_reciprocal_overlap: f64,
pub max_grouping_iterations: usize,
pub fdr_table: Option<String>,
pub fdr_table_out: Option<String>,
pub include_nuc_msp: bool,
pub haps: bool,
pub min_fire_coverage: i32,
}Fields§
§input: InputBam§shuffled: Option<String>BED file with shuffled fiber positions (from bedtools shuffle) If not provided, will use all positions as real data (no FDR calculation)
out: StringOutput BED file with called peaks
max_cov: Option<i32>Maximum coverage threshold for filtering (optional)
min_cov: Option<i32>Minimum coverage threshold for filtering (optional)
sd_cov: f64Number of standard deviations from median coverage to use for filtering (default: 5) If set, will calculate median +/- (sd_cov * std_dev) and use those as min/max coverage This overrides –max-cov and –min-cov if those are not explicitly set
max_fdr: f64Maximum FDR threshold for peak calling (ignored if –min-fire-frac is set)
min_fire_frac: Option<f64>Minimum fraction of fibers with FIREs required to call a peak If set, skips FDR calculation and uses this threshold instead For example, 0.5 means at least 50% of fibers must have a FIRE at the peak position
min_fire_frac_filter: f64Minimum fraction of fibers with FIREs required as an additional filter (applied WITH FDR) Unlike –min-fire-frac, this is applied in addition to FDR filtering, not instead of it For example, 0.3 means at least 30% of fibers must have a FIRE AND FDR must be <= max_fdr
min_frac_accessible: f64Minimum fraction of accessible bases in peak
window_size: usizeRolling window size for finding local maxima (in base pairs)
min_frac_overlap: f64Minimum fraction of overlapping FIRE elements for merging peaks (Phase 2)
min_reciprocal_overlap: f64Minimum reciprocal overlap for merging peaks (Phase 3)
high_reciprocal_overlap: f64High reciprocal overlap threshold for initial merging (Phase 1)
max_grouping_iterations: usizeMaximum number of grouping iterations for merging
fdr_table: Option<String>Skip the FDR table generation and use existing table
fdr_table_out: Option<String>Output the FDR table to this file
include_nuc_msp: boolInclude nucleosome and MSP coverage in pileup (default: only FIRE coverage)
haps: boolInclude haplotype-specific calls
min_fire_coverage: i32Minimum FIRE coverage required to calculate a score (default: 4)
Trait Implementations§
Source§impl Args for CallPeaksOptions
impl Args for CallPeaksOptions
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 CallPeaksOptions
impl Debug for CallPeaksOptions
Source§impl FromArgMatches for CallPeaksOptions
impl FromArgMatches for CallPeaksOptions
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 CallPeaksOptions
impl RefUnwindSafe for CallPeaksOptions
impl Send for CallPeaksOptions
impl Sync for CallPeaksOptions
impl Unpin for CallPeaksOptions
impl UnsafeUnpin for CallPeaksOptions
impl UnwindSafe for CallPeaksOptions
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.