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))
SourceInstance methods
fragment_start
Sourcefragment_start=(fragment_start : Int32)
Sourceidentifier
Sourceinsert_size
Sourceinsert_size=(insert_size : Int32)
Sourcemate_index
Sourcemate_index=(mate_index : Int32)
Sourcepair_index
Sourcepair_index=(pair_index : Int32)
Sourcequality_sequence
Sourcequality_sequence=(quality_sequence : Slice(UInt8))
Sourceread_name
Sourceread_name=(read_name : String)
Sourceread_sequence
Sourceread_sequence=(read_sequence : Slice(UInt8))
Sourceto_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.