Class: Fastq::Read

Inherits:
Object
  • Object
show all
Defined in:
lib/fastq.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id, seq, qual) ⇒ Read

Returns a new instance of Read.



7
8
9
10
11
# File 'lib/fastq.rb', line 7

def initialize id, seq, qual
  @id = id
  @seq = seq
  @qual = qual
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



6
7
8
# File 'lib/fastq.rb', line 6

def id
  @id
end

#qualObject (readonly)

Returns the value of attribute qual.



6
7
8
# File 'lib/fastq.rb', line 6

def qual
  @qual
end

#seqObject (readonly)

Returns the value of attribute seq.



6
7
8
# File 'lib/fastq.rb', line 6

def seq
  @seq
end