Class: Chem::KEGG::KeggCompound
- Inherits:
-
Object
- Object
- Chem::KEGG::KeggCompound
- Includes:
- MDL::MdlMolParser, Molecule, Enumerable
- Defined in:
- lib/chem/db/kegg.rb
Constant Summary collapse
- @@entries =
{}
Constants included from Molecule
Molecule::DESCRIPTORNAME, Molecule::ELEMNUM, Molecule::EpsHeader, Molecule::MDLCountLineFormat, Molecule::MDLHeaderLine2Format
Instance Attribute Summary collapse
-
#entry ⇒ Object
Returns the value of attribute entry.
Attributes included from MDL::MdlMolParser
Attributes included from Molecule
#cdk2atom, #cdk_mol, #name, #ob_mol, #source
Attributes included from Graph
Instance Method Summary collapse
-
#initialize ⇒ KeggCompound
constructor
A new instance of KeggCompound.
Methods included from MDL::MdlMolParser
#date_time, #dimensional_codes, #open, #parse, #program_name
Methods included from Molecule
#-, #adjacent_index, #assign_2d_geometry, #bit_mat, #box_size, #breadth_first_search, #canonical_ring, #cdk_BCUT, #cdk_CPSA, #cdk_RotatableBondsCount, #cdk_calc_descriptor, #cdk_calc_descriptors, #cdk_find_all_rings, #cdk_fingerprint, #cdk_gasteiger_marsili_partial_charges, #cdk_generate_2D, #cdk_generate_randomly, #cdk_generate_vicinity, #cdk_hose_code, #cdk_hueckel, #cdk_mcs, #cdk_properties, #cdk_rule_of_file, #cdk_save_as, #cdk_setup, #cdk_sssr, #cdk_wiener_numbers, #cdk_xlogp, #composition, #connected?, #deep_dup, #delete, #delete_bond, #depth_first_search, #divide, #f_dfs, #find_smallest_ring, #find_sssr, #fingerprint, #generate_pubchem_subskey, #hilight, #induced_sub, #match, #match_by_ullmann, #method_missing, #molecular_weight, #n_hydrogen, #ob_export_as, #ob_save_as, #oxidation_number, #pubchem_subskeys, #remove_hydrogens!, #save, #save_as_mdl, #save_as_pdf, #subset_in_composition?, #to_cansmi, #to_eps, #to_inchi, #to_sybyl, #typ_str, #use_open_babel
Methods included from Graph
#adjacent_to, #clustering_coefficient, #each, #morgan, #terminal_nodes
Constructor Details
#initialize ⇒ KeggCompound
Returns a new instance of KeggCompound.
236 237 238 239 |
# File 'lib/chem/db/kegg.rb', line 236 def initialize @nodes = [] @edges = [] end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Chem::Molecule
Instance Attribute Details
#entry ⇒ Object
Returns the value of attribute entry.
234 235 236 |
# File 'lib/chem/db/kegg.rb', line 234 def entry @entry end |