pub struct CodecConsensusOptions {Show 15 fields
pub min_input_base_quality: u8,
pub error_rate_pre_umi: u8,
pub error_rate_post_umi: u8,
pub min_reads_per_strand: usize,
pub max_reads_per_strand: Option<usize>,
pub min_duplex_length: usize,
pub single_strand_qual: Option<u8>,
pub outer_bases_qual: Option<u8>,
pub outer_bases_length: usize,
pub max_duplex_disagreements: usize,
pub max_duplex_disagreement_rate: f64,
pub cell_tag: Option<Tag>,
pub produce_per_base_tags: bool,
pub trim: bool,
pub min_consensus_base_quality: u8,
}Expand description
Options for CODEC consensus calling
Fields§
§min_input_base_quality: u8Minimum base quality to include in consensus
error_rate_pre_umi: u8Pre-UMI error rate (Phred scale)
error_rate_post_umi: u8Post-UMI error rate (Phred scale)
min_reads_per_strand: usizeMinimum number of read pairs required to form consensus per strand
max_reads_per_strand: Option<usize>Maximum number of read pairs to use per strand (downsample if exceeded)
min_duplex_length: usizeMinimum duplex overlap length (in bases)
single_strand_qual: Option<u8>Reduce quality of single-strand regions to this value (if set)
outer_bases_qual: Option<u8>Reduce quality of outer bases to this value (if set)
outer_bases_length: usizeNumber of outer bases to reduce quality for
max_duplex_disagreements: usizeMaximum number of duplex disagreements allowed
max_duplex_disagreement_rate: f64Maximum duplex disagreement rate allowed (0.0-1.0)
cell_tag: Option<Tag>Cell barcode tag (e.g., “CB”)
Whether to produce per-base tags (ad, ae, bd, be, etc.)
trim: boolWhether to quality-trim reads before consensus calling
min_consensus_base_quality: u8Minimum consensus base quality (output bases below this are masked to N)
Trait Implementations§
Source§impl Clone for CodecConsensusOptions
impl Clone for CodecConsensusOptions
Source§fn clone(&self) -> CodecConsensusOptions
fn clone(&self) -> CodecConsensusOptions
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CodecConsensusOptions
impl Debug for CodecConsensusOptions
Source§impl Default for CodecConsensusOptions
impl Default for CodecConsensusOptions
Source§fn default() -> CodecConsensusOptions
fn default() -> CodecConsensusOptions
Auto Trait Implementations§
impl Freeze for CodecConsensusOptions
impl RefUnwindSafe for CodecConsensusOptions
impl Send for CodecConsensusOptions
impl Sync for CodecConsensusOptions
impl Unpin for CodecConsensusOptions
impl UnsafeUnpin for CodecConsensusOptions
impl UnwindSafe for CodecConsensusOptions
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<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>
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>
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