pub struct IdentifyArgs {
pub input: PathBuf,
pub input_format: Option<InputFormat>,
pub max_matches: usize,
pub exact_only: bool,
pub catalog: Option<PathBuf>,
pub hierarchical: bool,
pub missing_contig_handling: MissingContigHandling,
pub weight_match: u32,
pub weight_coverage: u32,
pub weight_order: u32,
}Fields§
§input: PathBufInput file (BAM, SAM, CRAM, FASTA, FAI, VCF, .dict, TSV, or CSV) Use ‘-’ for stdin (expects header text)
input_format: Option<InputFormat>Input format (auto-detected by default)
max_matches: usizeNumber of matches to show
exact_only: boolOnly show exact or near-exact matches
catalog: Option<PathBuf>Path to custom catalog file
hierarchical: boolUse hierarchical catalog format (required when –catalog points to a hierarchical catalog)
missing_contig_handling: MissingContigHandlingHow to handle references with contigs missing from FASTA (e.g., CHM13 MT which uses standard rCRS mitochondria)
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 IdentifyArgs
impl Args for IdentifyArgs
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 IdentifyArgs
impl FromArgMatches for IdentifyArgs
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 IdentifyArgs
impl RefUnwindSafe for IdentifyArgs
impl Send for IdentifyArgs
impl Sync for IdentifyArgs
impl Unpin for IdentifyArgs
impl UnwindSafe for IdentifyArgs
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