Class: Bio::FastaFormat
- Inherits:
-
Object
- Object
- Bio::FastaFormat
- Defined in:
- lib/qu/utils.rb
Overview
A patch for BioRuby FastaFormat class
Instance Method Summary collapse
- #description ⇒ Object (also: #desc)
- #entry_name ⇒ Object
Instance Method Details
#description ⇒ Object Also known as: desc
134 135 136 |
# File 'lib/qu/utils.rb', line 134 def description @definition.split[1..-1].join(' ') end |
#entry_name ⇒ Object
130 131 132 |
# File 'lib/qu/utils.rb', line 130 def entry_name @definition.split.first.chomp(',').gsub(/,/, '.') end |