Skip to main content

AlignQuantOptions

Struct AlignQuantOptions 

Source
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: PathBuf

BAM of alignments to the transcriptome (records grouped by read name)

§output_dir: PathBuf

output directory

§lib_type: String

library type string (recorded in output)

§em: EmOptions

EM/VBEM options

§range_factorization_bins: u32

range-factorization bins (0 disables)

§score_exp: f64

soft-weight decay applied to alignment-score differences

§transcripts: Option<PathBuf>

transcriptome FASTA (-t); required to train the alignment error model

§no_error_model: bool

disable the alignment error model (salmon’s --noErrorModel)

§seq_bias: bool

enable sequence-specific bias correction (--seqBias)

§gc_bias: bool

enable fragment-GC bias correction (--gcBias)

§pos_bias: bool

enable positional bias correction (--posBias)

§incompat_prior: f64

weight multiplier for orientation-incompatible alignments; 0 drops them (salmon’s default ignoreIncompat behavior)

§fld_mean: f64

fragment-length distribution prior mean, SD, and max tracked length (--fldMean / --fldSD / --fldMax)

§fld_sd: f64§fld_max: usize§forgetting_factor: f64

online-phase forgetting factor (--forgettingFactor, salmon default 0.65)

§init_uniform: bool

initialize the EM uniformly instead of with the online-estimate-blended warm start (--initUniform)

§sig_digits: u32

significant digits for the EffectiveLength and NumReads columns of quant.sf (--sigDigits, salmon default 3)

§num_error_bins: usize

number of read-position bins in the alignment error model (--numErrorBins, salmon default 4)

§discard_orphans: bool

drop orphan (single-mate) placements in a paired library instead of fragment-length-penalizing them (--discardOrphans, alignment mode)

§bias_speed_samp: usize

fragment-length sampling stride for the GC bias convolution (--biasSpeedSamp, default 5)

§num_aux_model_samples: u64

online-phase auxiliary-model training window (--numAuxModelSamples, default 5,000,000)

§no_bias_length_threshold: bool

disable the lower barrier on bias-corrected effective lengths (--noBiasLengthThreshold)

§gc_bins: usize

GC bias model bin counts (--numGCBins × --conditionalGCBins, 25×3)

§cond_gc_bins: usize§skip_quant: bool

skip abundance estimation + quant.sf, emitting only eq-classes, library type, and metadata (salmon’s --skipQuant)

§num_pre_aux_model_samples: u64

fragments 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§

Source§

impl AlignQuantOptions

Source

pub fn new(bam: PathBuf, output_dir: PathBuf) -> Self

Trait Implementations§

Source§

impl Clone for AlignQuantOptions

Source§

fn clone(&self) -> AlignQuantOptions

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for AlignQuantOptions

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<SS, SP> SupersetOf<SS> for SP
where SS: SubsetOf<SP>,

Source§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
Source§

fn is_in_subset(&self) -> bool

Checks if self is actually part of its subset T (and can be converted to it).
Source§

fn to_subset_unchecked(&self) -> SS

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
Source§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V