KEGGDB
ALL_REAC ';'
# File lib/bio/db/kegg/enzyme.rb, line 83 def all_reac field_fetch('ALL_REAC') end
CLASS
# File lib/bio/db/kegg/enzyme.rb, line 68 def classes lines_fetch('CLASS') end
COFACTOR
# File lib/bio/db/kegg/enzyme.rb, line 116 def cofactors field_fetch('COFACTOR').split(/\s*;\s*/) end
Returns a Hash of the DB name and an Array of entry IDs in DBLINKS field.
# File lib/bio/db/kegg/enzyme.rb, line 23 def dblinks_as_hash; super; end
DBLINKS
# File lib/bio/db/kegg/enzyme.rb, line 161 def dblinks_as_strings lines_fetch('DBLINKS') end
DISEASE
# File lib/bio/db/kegg/enzyme.rb, line 141 def diseases lines_fetch('DISEASE') end
ENTRY
# File lib/bio/db/kegg/enzyme.rb, line 46 def entry field_fetch('ENTRY') end
# File lib/bio/db/kegg/enzyme.rb, line 50 def entry_id entry[/EC (\S+)/, 1] end
Returns a Hash of the organism ID and an Array of entry IDs in GENES field.
# File lib/bio/db/kegg/enzyme.rb, line 38 def genes_as_hash; super; end
# File lib/bio/db/kegg/enzyme.rb, line 136 def genes_as_strings lines_fetch('GENES') end
INHIBITOR
# File lib/bio/db/kegg/enzyme.rb, line 111 def inhibitors field_fetch('INHIBITOR').split(/\s*;\s*/) end
# File lib/bio/db/kegg/enzyme.rb, line 87 def iubmb_reactions all_reac.sub(/;\s*\(other\).*/, '').split(/\s*;\s*/) end
# File lib/bio/db/kegg/enzyme.rb, line 91 def kegg_reactions reac = all_reac if reac[/\(other\)/] reac.sub(/.*\(other\)\s*/, '').split(/\s*;\s*/) else [] end end
MOTIF
# File lib/bio/db/kegg/enzyme.rb, line 146 def motifs lines_fetch('MOTIF') end
NAME
# File lib/bio/db/kegg/enzyme.rb, line 59 def names field_fetch('NAME').split(/\s*;\s*/) end
# File lib/bio/db/kegg/enzyme.rb, line 54 def obsolete? entry[/Obsolete/] ? true : false end
Returns a Hash of the orthology ID and definition in ORTHOLOGY field.
# File lib/bio/db/kegg/enzyme.rb, line 33 def orthologs_as_hash; super; end
# File lib/bio/db/kegg/enzyme.rb, line 131 def orthologs_as_strings lines_fetch('ORTHOLOGY') end
Returns a Hash of the pathway ID and name in PATHWAY field.
# File lib/bio/db/kegg/enzyme.rb, line 28 def pathways_as_hash; super; end
# File lib/bio/db/kegg/enzyme.rb, line 126 def pathways_as_strings lines_fetch('PATHWAY') end
PRODUCT
# File lib/bio/db/kegg/enzyme.rb, line 106 def products field_fetch('PRODUCT').split(/\s*;\s*/) end
# File lib/bio/db/kegg/enzyme.rb, line 78 def reaction field_fetch('REACTION') end
STRUCTURES
# File lib/bio/db/kegg/enzyme.rb, line 151 def structures unless @data['STRUCTURES'] @data['STRUCTURES'] = fetch('STRUCTURES').sub(/(PDB: )*/,'').split(/\s+/) end @data['STRUCTURES'] end
Generated with the Darkfish Rdoc Generator 2.
COMMENT