Method: Bio::Nexus::CharactersBlock#get_sequence

Defined in:
lib/bio/db/nexus.rb

#get_sequence(row) ⇒ Object

Returns the characters in the matrix at row ‘row’ as Bio::Sequence object. Column 0 of the matrix is set as the definition of the Bio::Sequence object.


Arguments:

  • (required) row: Integer

Returns

Bio::Sequence



1073
1074
1075
# File 'lib/bio/db/nexus.rb', line 1073

def get_sequence( row )
  create_sequence( get_characters_string( row ), get_row_name( row )  )
end