Wgsim::Sequencing::ReadPairSimulator
Inherits Wgsim::Dna < Reference < Object
Constants
MAX_INSERT_SIZE_RESAMPLINGS = 10000
PROGRESS_REPORT_COUNT = 10
Constructors
new(average_depth : Float64, mean_insert_size : Int32, insert_size_std_dev : Int32, read1_length : Int32, read2_length : Int32, error_rate : Float64, max_ambiguous_ratio : Float64, seed : UInt64 | Nil = nil)
SourceInstance methods
average_depth
Sourceaverage_depth=(average_depth : Float64)
Sourcebuild_read_pair_sequences(contig_sequence, fragment_start, insert_size, read1_starts_at_fragment_left : Bool) : Tuple(Slice(UInt8), Slice(UInt8))
Sourceerror_rate
Sourceerror_rate=(error_rate : Float64)
Sourceinsert_size_std_dev
Sourceinsert_size_std_dev=(insert_size_std_dev : Int32)
Sourcemax_ambiguous_ratio
Sourcemax_ambiguous_ratio=(max_ambiguous_ratio : Float64)
Sourcemean_insert_size
Sourcemean_insert_size=(mean_insert_size : Int32)
Sourcenext_bool(*args, **options)
Sourcenext_bool(*args, **options, &)
Sourcerand(*args, **options)
Sourcerand(*args, **options, &)
Sourcerandn(*args, **options)
Sourcerandn(*args, **options, &)
Sourceread1_length
Sourceread1_length=(read1_length : Int32)
Sourceread2_length
Sourceread2_length=(read2_length : Int32)
Sourcesample_fragment_start(contig_length : Int, insert_size : Int) : Int32
Sourcesample_insert_size(contig_length : Int32) : Int32
Sourcesimulate_read_pairs(sequence_name, sequence, &)
Source