Struct fibertools_rs::cli::PredictM6AOptions
source · pub struct PredictM6AOptions {
pub bam: String,
pub out: String,
pub nucleosome_length: i64,
pub combined_nucleosome_length: i64,
pub min_distance_added: i64,
pub distance_from_end: i64,
pub allowed_m6a_skips: i64,
pub keep: bool,
pub min_ml_score: Option<u8>,
pub all_calls: bool,
pub batch_size: usize,
}Fields§
§bam: StringBam HiFi file with kinetics
out: StringOutput bam file with m6A calls in new/extended MM and ML bam tags
nucleosome_length: i64Minium nucleosome length
combined_nucleosome_length: i64Minium nucleosome length when combining over a single m6A
min_distance_added: i64Minium distance needed to add to an already existing nuc by crossing an m6a
distance_from_end: i64Minimum distance from the end of a fiber to call a nucleosome or MSP
allowed_m6a_skips: i64Most m6A events we can skip over to get to the nucleosome length when using D-segment algorithm. 2 is often a good value, negative values disable D-segment for the simple caller.
keep: boolKeep hifi kinetics data
min_ml_score: Option<u8>Set a minimum ML score to keep on instead of using the model specific minimum ML score.
all_calls: boolKeep all m6A calls regardless of how low the ML value is
batch_size: usizeNumber of reads to include in batch prediction
Increasing improves GPU performance at the cost of memory.
Trait Implementations§
source§impl Args for PredictM6AOptions
impl Args for PredictM6AOptions
source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
source§impl Debug for PredictM6AOptions
impl Debug for PredictM6AOptions
source§impl Default for PredictM6AOptions
impl Default for PredictM6AOptions
source§impl FromArgMatches for PredictM6AOptions
impl FromArgMatches for PredictM6AOptions
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.source§impl PartialEq for PredictM6AOptions
impl PartialEq for PredictM6AOptions
source§fn eq(&self, other: &PredictM6AOptions) -> bool
fn eq(&self, other: &PredictM6AOptions) -> bool
self and other values to be equal, and is used
by ==.impl Eq for PredictM6AOptions
impl StructuralPartialEq for PredictM6AOptions
Auto Trait Implementations§
impl Freeze for PredictM6AOptions
impl RefUnwindSafe for PredictM6AOptions
impl Send for PredictM6AOptions
impl Sync for PredictM6AOptions
impl Unpin for PredictM6AOptions
impl UnwindSafe for PredictM6AOptions
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<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
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>
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.