Enum fibertools_rs::cli::Commands
source · pub enum Commands {
Extract {
bam: String,
reference: bool,
min_ml_score: u8,
m6a: Option<String>,
cpg: Option<String>,
msp: Option<String>,
nuc: Option<String>,
all: Option<String>,
quality: bool,
full_float: bool,
simplify: bool,
},
Center {
bam: String,
bed: String,
min_ml_score: u8,
wide: bool,
},
PredictM6A {
bam: String,
out: String,
keep: bool,
cnn: bool,
full_float: bool,
},
}Expand description
This structure contains all the subcommands for fiberseq-rs and their help descriptions.
Variants
Extract
Fields
bam: StringFiberseq bam file
reference: boolReport in reference sequence coordinates
min_ml_score: u8Minium score in the ML tag to include in the output
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
Extract fiberseq data into plain text files
Center
Fields
bam: StringFiberseq bam file, must be aligned and have an index
bed: StringBed file on which to center fiberseq reads. Data is adjusted to the start position of the bed file and corrected for strand if a 4th strand column is included
If you include strand information in the 4th column it will orient data accordingly and use the end position of bed record instead of the start if on the minus strand. This means that profiles of motifs in both the forward and minus orientation will align to the same central position.
min_ml_score: u8Minium score in the ML tag to include in the output
wide: boolProvide data in wide format, one row per read
This command centers fiberseq data around given reference positions. This is useful for making aggregate m6a and CpG observations, as well as visualization of SVs
PredictM6A
Fields
bam: StringBam HiFi file with kinetics
out: StringOutput bam file with m6A calls in new/extended MM and ML bam tags
keep: boolKeep hifi kinetics data
cnn: boolUse CNN model for prediction instead of XGBoost
full_float: boolAdd a bam tag (mp) with the full floating point predictions of the ML model
Predict m6A positions using HiFi kinetics data and encode the results in the MM and ML bam tags
Trait Implementations
sourceimpl FromArgMatches for Commands
impl FromArgMatches for Commands
sourcefn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
sourcefn 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>
sourcefn 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.sourcefn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
ArgMatches to self.sourceimpl Subcommand for Commands
impl Subcommand for Commands
sourcefn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
sourcefn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
sourcefn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommandAuto Trait Implementations
impl RefUnwindSafe for Commands
impl Send for Commands
impl Sync for Commands
impl Unpin for Commands
impl UnwindSafe for Commands
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
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>
self from the equivalent element of its
superset. Read morefn 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).fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.