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 simplify: bool,
}
Fields§
§bam: String
Input fiberseq bam file. If no path is provided extract will read bam data from stdin.
reference: bool
Report in reference sequence coordinates
molecular: bool
Report positions in the molecular sequence coordinates
min_ml_score: u8
Minium 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: bool
Include per base quality scores in “fiber_qual”
simplify: bool
Simplify output by remove fiber sequence
Trait Implementations§
source§impl Args for ExtractOptions
impl Args for ExtractOptions
source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'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 Freeze for ExtractOptions
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§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>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moresource§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).source§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.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.