Struct fibertools_rs::cli::ExtractOptions
source · pub struct ExtractOptions {
pub bam: String,
pub reference: bool,
pub molecular: bool,
pub min_ml_score: u8,
pub m6a: Option<String>,
pub cpg: Option<String>,
pub msp: Option<String>,
pub nuc: Option<String>,
pub all: Option<String>,
pub quality: bool,
pub full_float: bool,
pub simplify: bool,
}Fields§
§bam: StringInput fiberseq bam file. If no path is provided extract will read bam data from stdin.
reference: boolReport in reference sequence coordinates
molecular: boolReport positions in the molecular sequence coordinates
min_ml_score: u8Minium score in the ML tag to include in the output
m6a: Option<String>Output path for m6a bed12
cpg: Option<String>Output path for 5mC (CpG, primrose) bed12
msp: Option<String>Output path for methylation sensitive patch (msp) bed12
nuc: Option<String>Output path for nucleosome bed12
all: Option<String>Output path for a tabular format including “all” fiberseq information in the bam
quality: boolInclude per base quality scores in “fiber_qual”
full_float: boolAdd the full floating point predictions of the ML model
simplify: boolSimplify output by remove fiber sequence
Trait Implementations§
source§impl Args for ExtractOptions
impl Args for ExtractOptions
source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the [
ArgGroup::id][crate::ArgGroup::id] for this set of argumentssource§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
source§impl Debug for ExtractOptions
impl Debug for ExtractOptions
source§impl FromArgMatches for ExtractOptions
impl FromArgMatches for ExtractOptions
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>
Assign values from
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>
Assign values from
ArgMatches to self.source§impl PartialEq for ExtractOptions
impl PartialEq for ExtractOptions
source§fn eq(&self, other: &ExtractOptions) -> bool
fn eq(&self, other: &ExtractOptions) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for ExtractOptions
impl StructuralPartialEq for ExtractOptions
Auto Trait Implementations§
impl RefUnwindSafe for ExtractOptions
impl Send for ExtractOptions
impl Sync for ExtractOptions
impl Unpin for ExtractOptions
impl UnwindSafe for ExtractOptions
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
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.