pub struct AlignQuantOptions {Show 28 fields
pub bam: PathBuf,
pub output_dir: PathBuf,
pub lib_type: String,
pub em: EmOptions,
pub range_factorization_bins: u32,
pub score_exp: f64,
pub transcripts: Option<PathBuf>,
pub no_error_model: bool,
pub seq_bias: bool,
pub gc_bias: bool,
pub pos_bias: bool,
pub incompat_prior: f64,
pub fld_mean: f64,
pub fld_sd: f64,
pub fld_max: usize,
pub forgetting_factor: f64,
pub init_uniform: bool,
pub sig_digits: u32,
pub num_error_bins: usize,
pub discard_orphans: bool,
pub bias_speed_samp: usize,
pub num_aux_model_samples: u64,
pub no_bias_length_threshold: bool,
pub gc_bins: usize,
pub cond_gc_bins: usize,
pub skip_quant: bool,
pub num_pre_aux_model_samples: u64,
pub progress: Option<Arc<ProgressCounters>>,
}Expand description
Options for alignment-based quantification.
Fields§
§bam: PathBufBAM of alignments to the transcriptome (records grouped by read name)
output_dir: PathBufoutput directory
lib_type: Stringlibrary type string (recorded in output)
em: EmOptionsEM/VBEM options
range_factorization_bins: u32range-factorization bins (0 disables)
score_exp: f64soft-weight decay applied to alignment-score differences
transcripts: Option<PathBuf>transcriptome FASTA (-t); required to train the alignment error model
no_error_model: booldisable the alignment error model (salmon’s --noErrorModel)
seq_bias: boolenable sequence-specific bias correction (--seqBias)
gc_bias: boolenable fragment-GC bias correction (--gcBias)
pos_bias: boolenable positional bias correction (--posBias)
incompat_prior: f64weight multiplier for orientation-incompatible alignments; 0 drops them
(salmon’s default ignoreIncompat behavior)
fld_mean: f64fragment-length distribution prior mean, SD, and max tracked length
(--fldMean / --fldSD / --fldMax)
fld_sd: f64§fld_max: usize§forgetting_factor: f64online-phase forgetting factor (--forgettingFactor, salmon default 0.65)
init_uniform: boolinitialize the EM uniformly instead of with the online-estimate-blended
warm start (--initUniform)
sig_digits: u32significant digits for the EffectiveLength and NumReads columns of
quant.sf (--sigDigits, salmon default 3)
num_error_bins: usizenumber of read-position bins in the alignment error model
(--numErrorBins, salmon default 4)
discard_orphans: booldrop orphan (single-mate) placements in a paired library instead of
fragment-length-penalizing them (--discardOrphans, alignment mode)
bias_speed_samp: usizefragment-length sampling stride for the GC bias convolution
(--biasSpeedSamp, default 5)
num_aux_model_samples: u64online-phase auxiliary-model training window (--numAuxModelSamples,
default 5,000,000)
no_bias_length_threshold: booldisable the lower barrier on bias-corrected effective lengths
(--noBiasLengthThreshold)
gc_bins: usizeGC bias model bin counts (--numGCBins × --conditionalGCBins, 25×3)
cond_gc_bins: usize§skip_quant: boolskip abundance estimation + quant.sf, emitting only eq-classes,
library type, and metadata (salmon’s --skipQuant)
num_pre_aux_model_samples: u64fragments processed before the FLD aux model is applied
(salmon’s --numPreAuxModelSamples; prior hardcoded value 5,000)
progress: Option<Arc<ProgressCounters>>Optional shared progress counters. When Some, the BAM pass reports
processed/mapped fragment counts here as it runs so the caller can drive
a live progress display. None (the default) disables sharing.
Implementations§
Trait Implementations§
Source§impl Clone for AlignQuantOptions
impl Clone for AlignQuantOptions
Source§fn clone(&self) -> AlignQuantOptions
fn clone(&self) -> AlignQuantOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for AlignQuantOptions
impl RefUnwindSafe for AlignQuantOptions
impl Send for AlignQuantOptions
impl Sync for AlignQuantOptions
impl Unpin for AlignQuantOptions
impl UnsafeUnpin for AlignQuantOptions
impl UnwindSafe for AlignQuantOptions
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.