pub struct Eval {
pub mapped: PathBuf,
pub truth: Option<PathBuf>,
pub output: OutputPrefixOptions,
pub wiggle: u32,
}Expand description
Evaluate alignment accuracy of simulated reads.
Compares the true (simulated) positions of reads against their mapped positions in a BAM file. Reports mapping accuracy, mismapping rate, and unmapped rate stratified by MAPQ bin. Truth positions are parsed from encoded read names (default holodeck format).
Fields§
§mapped: PathBufBAM file of mapped reads to evaluate.
truth: Option<PathBuf>Optional golden BAM file with truth alignments. If omitted, truth positions are parsed from encoded read names.
output: OutputPrefixOptions§wiggle: u32Maximum distance (in bases) between the true and mapped start positions
of a read for it to be considered correctly mapped. Uses
|mapped_start - true_start| <= wiggle on the same contig.
Trait Implementations§
Source§impl Args for Eval
impl Args for Eval
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 CommandFactory for Eval
impl CommandFactory for Eval
Source§impl FromArgMatches for Eval
impl FromArgMatches for Eval
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.Source§impl Parser for Eval
impl Parser for Eval
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error.
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Freeze for Eval
impl RefUnwindSafe for Eval
impl Send for Eval
impl Sync for Eval
impl Unpin for Eval
impl UnsafeUnpin for Eval
impl UnwindSafe for Eval
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