class Wgsim::Sequence::Core
- Wgsim::Sequence::Core
- Reference
- Object
Included Modules
Defined in:
wgsim/sequence/core.crConstructors
Instance Method Summary
- #average_depth : Float64
- #average_depth=(average_depth : Float64)
- #distance : Int32
- #distance=(distance : Int32)
- #error_rate : Float64
- #error_rate=(error_rate : Float64)
- #error_rate_to_quality_char(e : Float64) : Char
- #generate_pair_sequence(target_seq, position, insert_size, flip : Bool) : Tuple(Slice(UInt8), Slice(UInt8))
- #generate_sequencing_error(sequence : Slice(UInt8)) : Slice(UInt8)
- #max_ambiguous_ratio : Float64
- #max_ambiguous_ratio=(max_ambiguous_ratio : Float64)
- #next_bool(*args, **options)
- #next_bool(*args, **options, &)
- #rand(*args, **options)
- #rand(*args, **options, &)
- #randn(*args, **options)
- #randn(*args, **options, &)
- #random_insert_size : Int32
- #random_position(contig_length : Int, insert_size : Int) : Int32
- #run(name, sequence, &)
- #size_left : Int32
- #size_left=(size_left : Int32)
- #size_right : Int32
- #size_right=(size_right : Int32)
- #std_deviation : Int32
- #std_deviation=(std_deviation : Int32)
Instance methods inherited from module Wgsim::CoreUtils
perform_substitution(base : UInt8, i : Int) : UInt8
perform_substitution,
reverse_complement(sequence : Slice(UInt8)) : Slice(UInt8)
reverse_complement
Constructor Detail
def self.new(average_depth : Float64, distance : Int32, std_deviation : Int32, size_left : Int32, size_right : Int32, error_rate : Float64, max_ambiguous_ratio : Float64, seed : UInt64 | Nil = nil)
#
Instance Method Detail
def generate_pair_sequence(target_seq, position, insert_size, flip : Bool) : Tuple(Slice(UInt8), Slice(UInt8))
#