struct Wgsim::Sequencing::FastqRecord

Overview

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.

Defined in:

wgsim/sequencing/fastq_record.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(read_name : String, pair_index : Int32, fragment_start : Int32, insert_size : Int32, mate_index : Int32, read_sequence : Slice(UInt8), quality_sequence : Slice(UInt8)) #

[View source]

Instance Method Detail

def fragment_start : Int32 #

[View source]
def fragment_start=(fragment_start : Int32) #

[View source]
def identifier : String #

[View source]
def insert_size : Int32 #

[View source]
def insert_size=(insert_size : Int32) #

[View source]
def mate_index : Int32 #

[View source]
def mate_index=(mate_index : Int32) #

[View source]
def pair_index : Int32 #

[View source]
def pair_index=(pair_index : Int32) #

[View source]
def quality_sequence : Slice(UInt8) #

[View source]
def quality_sequence=(quality_sequence : Slice(UInt8)) #

[View source]
def read_name : String #

[View source]
def read_name=(read_name : String) #

[View source]
def read_sequence : Slice(UInt8) #

[View source]
def read_sequence=(read_sequence : Slice(UInt8)) #

[View source]
def to_s(io : IO) #
Description copied from struct Struct

Same as #inspect(io).


[View source]
def to_s : String #
Description copied from class Object

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.


[View source]