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,
dist: Option<i64>,
wide: bool,
},
PredictM6A {
bam: String,
out: String,
keep: bool,
min_ml_score: Option<u8>,
all_calls: bool,
xgb: bool,
cnn: bool,
semi: bool,
full_float: bool,
batch_size: usize,
},
ClearKinetics {
bam: String,
out: String,
},
Completions {
shell: Shell,
},
Man {},
}Expand description
This structure contains all the subcommands for fiberseq-rs and their help descriptions.
Variants§
Extract
Fields
Extract fiberseq data into plain text files
Center
Fields
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 the strand is indicated in the 6th column of the bed file. The 4th column will also be checked for the strand but only after the 6th is.
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.
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
min_ml_score: Option<u8>Set a minimum ML score to keep on instead of using the model specific minimum ML score.
Predict m6A positions using HiFi kinetics data and encode the results in the MM and ML bam tags
ClearKinetics
Remove HiFi kinetics tags from the input bam file
Completions
Make command line completions
Man
Fields
Make a man page for fibertools-rs
Writes file for man to stdout.
Trait Implementations§
source§impl FromArgMatches for Commands
impl FromArgMatches for Commands
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<'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.source§impl PartialEq<Commands> for Commands
impl PartialEq<Commands> for Commands
source§impl Subcommand for Commands
impl Subcommand for Commands
source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
source§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommandimpl Eq for Commands
impl StructuralEq for Commands
impl StructuralPartialEq for Commands
Auto Trait Implementations§
impl RefUnwindSafe for Commands
impl Send for Commands
impl Sync for Commands
impl Unpin for Commands
impl UnwindSafe for Commands
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
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>
self from the equivalent element of its
superset. Read more§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).§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.