pub struct CorrectConfig {
pub k: usize,
pub min_cov: i32,
pub win_multi_ec: i32,
pub qual_threshold: u8,
pub max_end_ext: i32,
pub max_path_diff: i32,
pub max_heap: usize,
pub drop_unique_kmer: bool,
pub discard_uncorrectable: bool,
pub fasta_out: bool,
}Expand description
Configuration for one correction run. Field names and defaults are the
BFC 0.1 bfc_opt_init values (-k 33, -c 3, -w 10, -q 20, the
fixed w_* penalty weights, max_path_diff 15, max_heap 100,
max_end_ext 5). The w_* weights are not exposed on the CLI — BFC
marks them “cannot be changed on command line”; we keep that contract.
Fields§
§k: usize§min_cov: i32§win_multi_ec: i32§qual_threshold: u8§max_end_ext: i32§max_path_diff: i32§max_heap: usize§drop_unique_kmer: bool§discard_uncorrectable: bool§fasta_out: boolTrait Implementations§
Source§impl Clone for CorrectConfig
impl Clone for CorrectConfig
Source§fn clone(&self) -> CorrectConfig
fn clone(&self) -> CorrectConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CorrectConfig
impl Debug for CorrectConfig
Auto Trait Implementations§
impl Freeze for CorrectConfig
impl RefUnwindSafe for CorrectConfig
impl Send for CorrectConfig
impl Sync for CorrectConfig
impl Unpin for CorrectConfig
impl UnsafeUnpin for CorrectConfig
impl UnwindSafe for CorrectConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more