pub struct QcOpts {
pub input: InputBam,
pub out: String,
pub acf: bool,
pub acf_max_lag: usize,
pub acf_min_m6a: usize,
pub acf_max_reads: usize,
pub acf_sample_rate: f32,
pub m6a_per_msp: bool,
pub n_reads: Option<usize>,
}Fields§
§input: InputBam§out: StringOutput text file with QC metrics. The format is a tab-separated file with the following columns: “statistic\tvalue\tcount” where “statistic” is the name of the metric, “value” is the value of the metric, and “count” is the number of times the metric was observed.
acf: boolCalculate the auto-correlation function of the m6A marks in the fiber-seq data.
acf_max_lag: usizemaximum lag for the ACF calculation
acf_min_m6a: usizeMinimum number of m6A marks to use a read in the ACF calculation
acf_max_reads: usizemaximum number of reads to use in the ACF calculation
acf_sample_rate: f32After sampling the first “acf-max-reads” randomly sample one of every “acf-sample-rate” reads and replace one of the previous reads at random.
m6a_per_msp: boolIn the output include a measure of the number of m6A events per MSPs of a given size. The output format is: “m6a_per_msp_size\t{m6A count},{MSP size},{is a FIRE}\t{count}” e.g. “m6a_per_msp_size\t35,100,false\t100”
n_reads: Option<usize>Only process the first “n” reads in the input bam file.
Trait Implementations§
Source§impl Args for QcOpts
impl Args for QcOpts
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 FromArgMatches for QcOpts
impl FromArgMatches for QcOpts
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 QcOpts
impl RefUnwindSafe for QcOpts
impl Send for QcOpts
impl Sync for QcOpts
impl Unpin for QcOpts
impl UnwindSafe for QcOpts
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.