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

Diff of /Sprout/SproutLoad.pm

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

revision 1.80, Wed Dec 20 20:04:58 2006 UTC revision 1.81, Wed Feb 21 13:21:42 2007 UTC
# Line 542  Line 542 
542                      # feature ID, the taxonomy, and the organism name.                      # feature ID, the taxonomy, and the organism name.
543                      my @keywords = ($genomeID, $featureID, $fig->genus_species($genomeID),                      my @keywords = ($genomeID, $featureID, $fig->genus_species($genomeID),
544                                      $fig->taxonomy_of($genomeID));                                      $fig->taxonomy_of($genomeID));
545                      # Get the functional assignment and aliases. This                      # Get the functional assignment and aliases.
546                      # depends on the feature type.                      my $assignment = $fig->function_of($featureID);
                     my $assignment;  
                     if ($type eq "peg") {  
                         $assignment = $fig->function_of($featureID);  
547                          # Create the aliases.                          # Create the aliases.
548                          for my $alias ($fig->feature_aliases($featureID)) {                          for my $alias ($fig->feature_aliases($featureID)) {
549                              $loadFeatureAlias->Put($featureID, $alias);                              $loadFeatureAlias->Put($featureID, $alias);
550                              push @keywords, $alias;                              push @keywords, $alias;
551                          }                          }
                     } else {  
                         # For other types, the assignment is the first (and ONLY) alias.  
                         ($assignment) = $fig->feature_aliases($featureID);  
                     }  
552                      Trace("Assignment for $featureID is: $assignment") if T(4);                      Trace("Assignment for $featureID is: $assignment") if T(4);
553                      # Break the assignment into words and shove it onto the                      # Break the assignment into words and shove it onto the
554                      # keyword list.                      # keyword list.

Legend:
Removed from v.1.80  
changed lines
  Added in v.1.81

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3