struct

Wgsim::Sequencing::FastqRecord

Inherits Struct < Value < Object

One FASTQ read emitted by the paired-end simulator.

The identifier includes fragment coordinates so a student can trace a read back to the simulated DNA fragment it came from.

Constructors

new(read_name : String, pair_index : Int32, fragment_start : Int32, insert_size : Int32, mate_index : Int32, read_sequence : Slice(UInt8), quality_sequence : Slice(UInt8))
Source

Instance methods

fragment_start
Source
fragment_start=(fragment_start : Int32)
Source
identifier
Source
insert_size
Source
insert_size=(insert_size : Int32)
Source
mate_index
Source
mate_index=(mate_index : Int32)
Source
pair_index
Source
pair_index=(pair_index : Int32)
Source
quality_sequence
Source
quality_sequence=(quality_sequence : Slice(UInt8))
Source
read_name
Source
read_name=(read_name : String)
Source
read_sequence
Source
read_sequence=(read_sequence : Slice(UInt8))
Source
to_s(io : IO)

Same as #inspect(io).

Source
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source