[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.44, Sun Jun 25 07:51:04 2006 UTC revision 1.45, Sun Jun 25 07:53:37 2006 UTC
# Line 1442  Line 1442 
1442              Trace("Processing $genomeID.") if T(3);              Trace("Processing $genomeID.") if T(3);
1443              # Get all of the features for this genome. The only method that does this is              # Get all of the features for this genome. The only method that does this is
1444              # all_features_detailed, which returns extra baggage that we discard.              # all_features_detailed, which returns extra baggage that we discard.
1445              my @fids = map { $_->[0] } $fig->all_features_detailed($genomeID);              my $featureData = $fig->all_features_detailed($genomeID);
1446                my @fids = map { $_->[0] } @{$featureData};
1447              Trace(scalar(@fids) . " features found for genome $genomeID.") if T(3);              Trace(scalar(@fids) . " features found for genome $genomeID.") if T(3);
1448              # Loop through the feature IDs.              # Loop through the feature IDs.
1449              for my $fid (@fids) {              for my $fid (@fids) {
1450                  # Get the group for this feature.                  # Get the group for this feature.
1451                  my $synonym = $fig->maps_to_id($fid);                  my $synonym = $fig->maps_to_id($fid);
                 Trace("$synonym is synonym of $fid.") if T(4);  
1452                  # Only proceed if the synonym is a real group.                  # Only proceed if the synonym is a real group.
1453                  if ($synonym ne $fid) {                  if ($synonym ne $fid) {
1454                      $loadSynonymGroup->Put($synonym);                      $loadSynonymGroup->Put($synonym);

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.45

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3