[Bio] / DeJonghStuff / map_model_to_kegg.pl Repository:
ViewVC logotype

Diff of /DeJonghStuff/map_model_to_kegg.pl

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

revision 1.2, Wed Nov 16 22:01:06 2005 UTC revision 1.3, Thu Jan 12 19:53:18 2006 UTC
# Line 149  Line 149 
149          else          else
150          {          {
151              print "\t No EC found\n";              print "\t No EC found\n";
152            }
153    
154              # try matching on compounds          # also try matching on compounds
155              my @compounds = keys %{$reaction_2_substrates{$rabbrev}};              my @compounds = keys %{$reaction_2_substrates{$rabbrev}};
156              push @compounds, keys %{$reaction_2_products{$rabbrev}};              push @compounds, keys %{$reaction_2_products{$rabbrev}};
157              my %cids;              my %cids;
# Line 191  Line 192 
192                      }                      }
193                  }                  }
194              }              }
         }  
195    
196          my %reaction_scores = %{score_reactions($rabbrev, keys %check_reactions)};          my %reaction_scores = %{score_reactions($rabbrev, keys %check_reactions)};
197    
# Line 202  Line 202 
202              $reaction_abbrev_2_id{$rabbrev} = \@reaction_list;              $reaction_abbrev_2_id{$rabbrev} = \@reaction_list;
203              print "\t reaction list: @reaction_list\n";              print "\t reaction list: @reaction_list\n";
204    
205              if (@reaction_list == 1)              if (@reaction_list == 1 && $reaction_scores{$reaction_list[0]} == 0)
206              {              {
207                  my $kegg_rev = $fig->reversible($reaction_list[0]);                  my $kegg_rev = $fig->reversible($reaction_list[0]);
208                  if ($kegg_rev == $reversibility{$rabbrev})                  if ($kegg_rev == $reversibility{$rabbrev})

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3