Class: Bio::FastaFormat

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

Overview

A patch for BioRuby FastaFormat class

Instance Method Summary collapse

Instance Method Details

#descriptionObject Also known as: desc



134
135
136
# File 'lib/qu/utils.rb', line 134

def description
  @definition.split[1..-1].join(' ')
end

#entry_nameObject



130
131
132
# File 'lib/qu/utils.rb', line 130

def entry_name
  @definition.split.first.chomp(',').gsub(/,/, '.')
end