Method: Bio::EMBLDB::Common#oc
- Defined in:
- lib/bio/db/embl/common.rb
#oc ⇒ Object
returns contents in the OC line.
-
Bio::EMBLDB::Common#oc -> [ <organism class String>* ]
OC Line; organism classification (>=1)
OC Eukaryota; Alveolata; Apicomplexa; Piroplasmida; Theileriidae;
OC Theileria.
203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'lib/bio/db/embl/common.rb', line 203 def oc unless @data['OC'] begin @data['OC'] = fetch('OC').sub(/.$/,'').split(/;/).map {|e| e.strip } rescue NameError nil end end @data['OC'] end |