class Wgsim::Sequence::Core

Included Modules

Defined in:

wgsim/sequence/core.cr

Constructors

Instance Method Summary

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) #

[View source]

Instance Method Detail

def average_depth : Float64 #

[View source]
def average_depth=(average_depth : Float64) #

[View source]
def distance : Int32 #

[View source]
def distance=(distance : Int32) #

[View source]
def error_rate : Float64 #

[View source]
def error_rate=(error_rate : Float64) #

[View source]
def error_rate_to_quality_char(e : Float64) : Char #

[View source]
def generate_pair_sequence(target_seq, position, insert_size, flip : Bool) : Tuple(Slice(UInt8), Slice(UInt8)) #

[View source]
def generate_sequencing_error(sequence : Slice(UInt8)) : Slice(UInt8) #

[View source]
def max_ambiguous_ratio : Float64 #

[View source]
def max_ambiguous_ratio=(max_ambiguous_ratio : Float64) #

[View source]
def next_bool(*args, **options) #

[View source]
def next_bool(*args, **options, &) #

[View source]
def rand(*args, **options) #

[View source]
def rand(*args, **options, &) #

[View source]
def randn(*args, **options) #

[View source]
def randn(*args, **options, &) #

[View source]
def random_insert_size : Int32 #

[View source]
def random_position(contig_length : Int, insert_size : Int) : Int32 #

[View source]
def run(name, sequence, &) #

[View source]
def size_left : Int32 #

[View source]
def size_left=(size_left : Int32) #

[View source]
def size_right : Int32 #

[View source]
def size_right=(size_right : Int32) #

[View source]
def std_deviation : Int32 #

[View source]
def std_deviation=(std_deviation : Int32) #

[View source]