pub struct Simulate {Show 20 fields
pub reference: ReferenceOptions,
pub vcf: VcfOptions,
pub bed: BedOptions,
pub output: OutputPrefixOptions,
pub seed: SeedOptions,
pub coverage: f64,
pub read_length: usize,
pub fragment_mean: usize,
pub fragment_stddev: usize,
pub min_fragment_length: usize,
pub single_end: bool,
pub adapter_r1: String,
pub adapter_r2: String,
pub min_error_rate: f64,
pub max_error_rate: f64,
pub golden_bam: bool,
pub golden_vcf: bool,
pub simple_names: bool,
pub compression: u8,
pub threads: usize,
}Expand description
Simulate sequencing reads from a reference genome.
Generates paired-end or single-end FASTQ files with optional ground-truth BAM and VCF outputs for benchmarking alignment and variant calling pipelines. Variants are applied from an input VCF to construct haplotype sequences, and reads are sampled with a position-dependent Illumina error model.
Fields§
§reference: ReferenceOptions§vcf: VcfOptions§bed: BedOptions§output: OutputPrefixOptions§seed: SeedOptions§coverage: f64Mean sequencing coverage depth.
read_length: usizeLength of each read in bases.
fragment_mean: usizeMean insert size (outer distance between read pair ends).
fragment_stddev: usizeStandard deviation of the insert size distribution.
min_fragment_length: usizeMinimum fragment length in bases; sampled lengths below this are clamped up. Fragments shorter than the read length are padded with adapter sequence. Must be at least 1.
single_end: boolGenerate single-end reads instead of paired-end.
adapter_r1: StringAdapter sequence appended to read 1 when the fragment is shorter than the read length.
adapter_r2: StringAdapter sequence appended to read 2 when the fragment is shorter than the read length.
min_error_rate: f64Minimum per-base error rate, applied at the start of reads.
max_error_rate: f64Maximum per-base error rate, applied at the end of reads.
golden_bam: boolWrite a ground-truth BAM file with correct alignments.
golden_vcf: boolWrite a ground-truth VCF annotated with simulated coverage.
simple_names: boolUse simple read names (holodeck:N) instead of encoding truth
coordinates in the read name.
compression: u8BGZF compression level (0-12). Lower values are faster with larger output files; higher values produce smaller files at the cost of speed. Level 0 is no compression; 1 is fastest; 12 is maximum compression.
threads: usizeNumber of threads for parallel BGZF output compression.
Trait Implementations§
Source§impl Args for Simulate
impl Args for Simulate
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 CommandFactory for Simulate
impl CommandFactory for Simulate
Source§impl FromArgMatches for Simulate
impl FromArgMatches for Simulate
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.