[Bio] / Sprout / ModelSaplingLoader.pm Repository:
ViewVC logotype

Diff of /Sprout/ModelSaplingLoader.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15, Mon Feb 28 20:27:17 2011 UTC revision 1.17, Mon May 2 17:28:09 2011 UTC
# Line 106  Line 106 
106    
107  # hash of ubiquitous compounds.  # hash of ubiquitous compounds.
108  use constant UBIQUITOUS => {  use constant UBIQUITOUS => {
109        cpd00001 => 'OH-',
110      cpd00002 => 'ATP',      cpd00002 => 'ATP',
111      cpd00008 => 'ADP',      cpd00003 => 'Nicotinamideadeninedinucleotide',
112        cpd00004 => 'Nicotinamideadeninedinucleotide-reduced',
113        cpd00005 => 'Nicotinamideadeninedinucleotidephosphate-reduced',
114        cpd00006 => 'Nicotinamideadeninedinucleotidephosphate',
115      cpd00007 => 'Oxygen',      cpd00007 => 'Oxygen',
116        cpd00008 => 'ADP',
117        cpd00009 => 'Orthophosphoric acid',
118      cpd00010 => 'CoenzymeA',      cpd00010 => 'CoenzymeA',
119        cpd00011 => 'Carbon dioxide',
120      cpd00012 => 'PPi',      cpd00012 => 'PPi',
     cpd15560 => 'Ubiquinone-8',  
     cpd15561 => 'Ubiquinol-8',  
     cpd15500 => 'Menaquinone',  
     cpd15499 => 'Menaquinol',  
     cpd00022 => 'Acetyl-CoA',  
121      cpd00018 => 'AMP',      cpd00018 => 'AMP',
122        cpd00020 => 'Pyruvic Acid',
123        cpd00022 => 'Acetyl-CoA',
124        cpd00025 => 'Hydrogen peroxide',
125        cpd00067 => 'H+',
126      cpd00971 => 'Sodium',      cpd00971 => 'Sodium',
127      cpd15352 => '2-Demethylmenaquinone',      cpd15352 => '2-Demethylmenaquinone',
128      cpd15353 => '2-Demethylmenaquinol'      cpd15353 => '2-Demethylmenaquinol',
129        cpd15499 => 'Menaquinol',
130        cpd15500 => 'Menaquinone',
131        cpd15560 => 'Ubiquinone-8',
132        cpd15561 => 'Ubiquinol-8',
133  };  };
134    
135  sub LoadModelFiles {  sub LoadModelFiles {
# Line 168  Line 177 
177          $self->PutR(IsTriggeredBy => $reaction, $role);          $self->PutR(IsTriggeredBy => $reaction, $role);
178      }      }
179      # Now we create the models.      # Now we create the models.
180      $ih = $self->CheckFile("$dir/ModelGenome.txt", qw(ModelID GenomeID));      $ih = $self->CheckFile("$dir/ModelGenome.txt", qw(ModelID Name GenomeID));
181      while (! eof $ih) {      while (! eof $ih) {
182          # Get the next model.          # Get the next model.
183          my ($model, $genome) = $self->ReadLine($ih);          my ($model, $name, $genome) = $self->ReadLine($ih);
184          # Create the model.          # Create the model.
185          $self->PutE(Model => $model);          $self->PutE(Model => $model);
186          # Connect it to the genome. Again, the genomes are created elsewhere.          # Connect it to the genome. Again, the genomes are created elsewhere.

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.17

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3