pub struct ScoreArgs {
pub query: PathBuf,
pub reference: PathBuf,
pub symmetric: bool,
pub weight_match: u32,
pub weight_coverage: u32,
pub weight_order: u32,
}Expand description
Arguments for the score command
Fields§
§query: PathBufQuery file (the file you want to score) Supports: BAM, SAM, CRAM, FASTA, FAI, VCF, .dict, TSV, CSV
reference: PathBufReference file (the file to compare against) Supports: BAM, SAM, CRAM, FASTA, FAI, VCF, .dict, TSV, CSV
symmetric: boolAlso compute the reverse comparison (reference as query, query as reference). By default, scoring is asymmetric: it measures how well the query matches the reference. With –symmetric, both directions are computed.
weight_match: u32Weight for contig match score (0-100, default 70) How well query contigs match reference contigs
weight_coverage: u32Weight for coverage score (0-100, default 20) What fraction of reference contigs are covered by query
weight_order: u32Weight for order score (0-100, default 10) Whether contigs appear in the same order
Trait Implementations§
Source§impl Args for ScoreArgs
impl Args for ScoreArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl FromArgMatches for ScoreArgs
impl FromArgMatches for ScoreArgs
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.Auto Trait Implementations§
impl Freeze for ScoreArgs
impl RefUnwindSafe for ScoreArgs
impl Send for ScoreArgs
impl Sync for ScoreArgs
impl Unpin for ScoreArgs
impl UnwindSafe for ScoreArgs
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