Struct fibertools_rs::cli::CenterOptions
source · pub struct CenterOptions {
pub bam: String,
pub bed: String,
pub min_ml_score: u8,
pub dist: Option<i64>,
pub wide: bool,
pub reference: bool,
pub simplify: bool,
}
Fields§
§bam: String
Aligned Fiber-seq bam file.
bed: String
Bed 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 (or 6th) 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: u8
Minium score in the ML tag to include in the output
dist: Option<i64>
Set a maximum distance from the start of the motif to keep a feature
wide: bool
Provide data in wide format, one row per read
reference: bool
Return relative reference position instead of relative molecular position
simplify: bool
Replace the sequence output column with just “N”.
Trait Implementations§
source§impl Args for CenterOptions
impl Args for CenterOptions
source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
source§impl Debug for CenterOptions
impl Debug for CenterOptions
source§impl FromArgMatches for CenterOptions
impl FromArgMatches for CenterOptions
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 CenterOptions
impl PartialEq for CenterOptions
source§fn eq(&self, other: &CenterOptions) -> bool
fn eq(&self, other: &CenterOptions) -> bool
self
and other
values to be equal, and is used
by ==
.impl Eq for CenterOptions
impl StructuralPartialEq for CenterOptions
Auto Trait Implementations§
impl Freeze for CenterOptions
impl RefUnwindSafe for CenterOptions
impl Send for CenterOptions
impl Sync for CenterOptions
impl Unpin for CenterOptions
impl UnwindSafe for CenterOptions
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.