class Bio::Taxonomy

This is general Taxonomy class.

Attributes

authority[RW]

is used to keep the authority, such as 'J. G. Cooper, 1863', associated with the 'scientific_name'.

code[RW]

pattern = [a-zA-Z0-9_]{2,10} Can refer to any code/abbreviation/mnemonic, such as Bsu for Bacillus subtilis.

common_names[RW]

An array of strings

rank[RW]

value comes from list: domain kingdom, subkingdom, branch, infrakingdom, superphylum, phylum, subphylum, infraphylum, microphylum, superdivision, division, subdivision, infradivision, superclass, class, subclass, infraclass, superlegion, legion, sublegion, infralegion, supercohort, cohort, subcohort, infracohort, superorder, order, suborder, superfamily, family, subfamily, supertribe, tribe, subtribe, infratribe, genus, subgenus, superspecies, species, subspecies, variety, subvariety, form, subform, cultivar, unknown, other

scientific_name[RW]
synonyms[RW]

An array of strings. Holds synonyms for scientific names or common names.

Public Class Methods

new() click to toggle source
# File lib/bio/db/phyloxml/phyloxml_elements.rb, line 63
def initialize
  @common_names = []
  @synonyms = []
end