pub struct FireOptions {Show 18 fields
pub input: InputBam,
pub out: String,
pub ont: bool,
pub human: bool,
pub yeast: bool,
pub extract: bool,
pub all: bool,
pub feats_to_text: bool,
pub skip_no_m6a: bool,
pub min_msp: usize,
pub min_ave_msp_size: i64,
pub width_bin: i64,
pub bin_num: i64,
pub best_window_size: i64,
pub use_5mc: bool,
pub min_msp_length_for_positive_fire_call: i64,
pub model: Option<String>,
pub fdr_table: Option<String>,
}Fields§
§input: InputBam§out: StringOutput file (BAM by default, table of MSP features if --feats-to-text is used, and bed9 + if `–extract`` is used)
ont: boolUse a ONT heuristic adjustment for FIRE calling. This adjusts the observed number of m6A counts by adding pseudo counts to account for the single stranded nature of ONT data.
human: boolUse a human model for FIRE calling
yeast: boolUse a yeast model for FIRE calling
extract: boolOutput just FIRE elements in bed9 format
all: boolWhen extracting bed9 format include all MSPs and nucleosomes
feats_to_text: boolOutput FIREs features for training in a table format
skip_no_m6a: boolDon’t write reads with no m6A calls to the output bam
min_msp: usizeSkip reads without at least N MSP calls
min_ave_msp_size: i64Skip reads without an average MSP size greater than N
width_bin: i64Width of bin for feature collection
bin_num: i64Number of bins to collect
best_window_size: i64Calculate stats for the highest X bp window within each MSP Should be a fair amount higher than the expected linker length.
use_5mc: boolUse 5mC data in FIREs
min_msp_length_for_positive_fire_call: i64Minium length of msp to call a FIRE
model: Option<String>Optional path to a model json file. If not provided ft will use the default model (recommended).
fdr_table: Option<String>Optional path to a FDR table
Trait Implementations§
Source§impl Args for FireOptions
impl Args for FireOptions
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 FireOptions
impl Debug for FireOptions
Source§impl Default for FireOptions
impl Default for FireOptions
Source§impl FromArgMatches for FireOptions
impl FromArgMatches for FireOptions
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 FireOptions
impl RefUnwindSafe for FireOptions
impl Send for FireOptions
impl Sync for FireOptions
impl Unpin for FireOptions
impl UnwindSafe for FireOptions
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
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.