Class: Bio::GFFbrowser::FastaRecord
- Inherits:
-
Object
- Object
- Bio::GFFbrowser::FastaRecord
- Defined in:
- lib/bio/db/gff/gff3fasta.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#seq ⇒ Object
readonly
Returns the value of attribute seq.
Instance Method Summary collapse
- #entry_id ⇒ Object
-
#initialize(id, seq) ⇒ FastaRecord
constructor
A new instance of FastaRecord.
- #to_s ⇒ Object
Constructor Details
#initialize(id, seq) ⇒ FastaRecord
Returns a new instance of FastaRecord.
10 11 12 13 |
# File 'lib/bio/db/gff/gff3fasta.rb', line 10 def initialize id, seq @id = id @seq = seq end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
8 9 10 |
# File 'lib/bio/db/gff/gff3fasta.rb', line 8 def id @id end |
#seq ⇒ Object (readonly)
Returns the value of attribute seq.
8 9 10 |
# File 'lib/bio/db/gff/gff3fasta.rb', line 8 def seq @seq end |
Instance Method Details
#entry_id ⇒ Object
15 16 17 |
# File 'lib/bio/db/gff/gff3fasta.rb', line 15 def entry_id @id end |
#to_s ⇒ Object
19 20 21 |
# File 'lib/bio/db/gff/gff3fasta.rb', line 19 def to_s @seq end |