module

Wgsim::Mutate::MutationEventBuilder

Converts internal mutation state into event-log records.

Keeping this separate from MutationSimulator makes a useful distinction for readers: the simulator decides what happened, while this builder decides how that event is written down.

Class methods

deletion(deleted_bases : Array(UInt8), reference_position : Int32, end_of_sequence : Bool = false) : MutationEvent
Source
insertion(reference_position : Int32, reference_base : UInt8, inserted_bases : Slice(UInt8)) : MutationEvent
Source
substitution(reference_position : Int32, reference_base : UInt8, alternate_base : UInt8) : MutationEvent
Source