struct Wgsim::ReferenceBase

Overview

One emitted base in the mutated reference sequence.

Insertions are attached to the preceding reference nucleotide so the original coordinate system stays visible while building the output FASTA.

Defined in:

wgsim/reference_base.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(nucleotide : UInt8, mutation_type : Wgsim::MutationType, insertion : Slice(UInt8) | Nil = nil) #

[View source]

Instance Method Detail

def insertion : Slice(UInt8) | Nil #

[View source]
def insertion=(insertion : Slice(UInt8) | Nil) #

[View source]
def mutation_type : MutationType #

[View source]
def mutation_type=(mutation_type : MutationType) #

[View source]
def nucleotide : UInt8 #

[View source]
def nucleotide=(nucleotide : UInt8) #

[View source]