struct
Wgsim::ReferenceBase
- Wgsim::ReferenceBase
- Struct
- Value
- Object
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.crConstructors
Instance Method Summary
- #insertion : Slice(UInt8) | Nil
- #insertion=(insertion : Slice(UInt8) | Nil)
- #mutation_type : MutationType
- #mutation_type=(mutation_type : MutationType)
- #nucleotide : UInt8
- #nucleotide=(nucleotide : UInt8)
Constructor Detail
def self.new(nucleotide : UInt8, mutation_type : Wgsim::MutationType, insertion : Slice(UInt8) | Nil = nil)
#