pub struct SimulateArgs {Show 18 fields
pub ref_fasta: String,
pub gtf: String,
pub out_prefixes: Vec<String>,
pub chrom: Option<String>,
pub circ_count: usize,
pub switching_event: usize,
pub circ_coverage: f64,
pub linear_coverage: f64,
pub scale: f64,
pub read_len: usize,
pub insert_len: usize,
pub insert_sd: f64,
pub insert_len_minor: usize,
pub insert_sd_minor: f64,
pub minor_insert_fraction: f64,
pub error_rate: f64,
pub exon_exclusive_rate: f64,
pub seed: u64,
}Expand description
Command-line options for the standalone simulator.
Defaults approximate a compact PE150 RNA-seq fixture. The circular and linear abundance knobs are coverage means; sampled values are converted into paired-end read-pair counts by the fixed formulas in the design document.
Fields§
§ref_fasta: StringReference genome FASTA.
gtf: StringSource GTF annotation used to choose circular and linear transcript exon chains.
out_prefixes: Vec<String>Output prefix; pass two prefixes to generate a matched switching pair.
chrom: Option<String>Optional chromosome filter, for example chr1.
circ_count: usizeNumber of circular RNA loci to simulate.
switching_event: usizeNumber of two-isoform circRNAs whose major isoform switches between two samples.
circ_coverage: f64Mean circRNA coverage; per-circ coverage is sampled with --scale.
linear_coverage: f64Mean linear transcript coverage used to size the background read set.
scale: f64Relative standard deviation for Gaussian coverage sampling.
read_len: usizeRead length for ordinary paired-end reads.
insert_len: usizeMean fragment span in transcript/circular coordinates.
insert_sd: f64Standard deviation of the primary fragment span distribution.
insert_len_minor: usizeMean fragment span for the minor long-fragment distribution.
insert_sd_minor: f64Standard deviation of the minor long-fragment distribution.
minor_insert_fraction: f64Fraction of fragments sampled from the minor long-fragment distribution.
error_rate: f64Per-base substitution probability for ordinary reads.
exon_exclusive_rate: f64Per-unique-exon probability of marking an exon coordinate circRNA-exclusive.
seed: u64Deterministic seed controlling annotation sampling, isoforms and reads.
Trait Implementations§
Source§impl Args for SimulateArgs
impl Args for SimulateArgs
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
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for SimulateArgs
impl Clone for SimulateArgs
Source§fn clone(&self) -> SimulateArgs
fn clone(&self) -> SimulateArgs
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl CommandFactory for SimulateArgs
impl CommandFactory for SimulateArgs
Source§impl Debug for SimulateArgs
impl Debug for SimulateArgs
Source§impl FromArgMatches for SimulateArgs
impl FromArgMatches for SimulateArgs
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>
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>
ArgMatches to self.Source§impl Parser for SimulateArgs
impl Parser for SimulateArgs
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, 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 SimulateArgs
impl RefUnwindSafe for SimulateArgs
impl Send for SimulateArgs
impl Sync for SimulateArgs
impl Unpin for SimulateArgs
impl UnsafeUnpin for SimulateArgs
impl UnwindSafe for SimulateArgs
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