Class: Bio::KEGG::KGML::Reaction

Inherits:
Object
  • Object
show all
Defined in:
lib/bio/db/kegg/kgml.rb

Overview

Bio::KEGG::KGML::Reaction contains a reaction element in the KGML.

Instance Attribute Summary collapse

Instance Attribute Details

#altObject

alt element (Hash)



500
501
502
# File 'lib/bio/db/kegg/kgml.rb', line 500

def alt
  @alt
end

#idObject

ID of this reaction (Integer or nil)



474
475
476
# File 'lib/bio/db/kegg/kgml.rb', line 474

def id
  @id
end

#nameObject Also known as: entry_id

KEGG-stype ID string of this reaction (String or nil) ('name' attribute in 'reaction' element)



478
479
480
# File 'lib/bio/db/kegg/kgml.rb', line 478

def name
  @name
end

#productsObject

Products. Each product name is the KEGG-style ID string. (Array containing String objects, or nil)



497
498
499
# File 'lib/bio/db/kegg/kgml.rb', line 497

def products
  @products
end

#substratesObject

Substrates. Each substrate name is the KEGG-style ID string. (Array containing String objects, or nil)



493
494
495
# File 'lib/bio/db/kegg/kgml.rb', line 493

def substrates
  @substrates
end

#typeObject Also known as: direction

type of this reaction (String or nil). Normally “reversible” or “irreversible”. ('type' attribute in 'reaction' element)



486
487
488
# File 'lib/bio/db/kegg/kgml.rb', line 486

def type
  @type
end