[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.29, Mon Mar 13 19:19:37 2006 UTC revision 1.30, Sun Mar 26 12:35:21 2006 UTC
# Line 435  Line 435 
435      FeatureTranslation      FeatureTranslation
436      FeatureUpstream      FeatureUpstream
437      IsLocatedIn      IsLocatedIn
438        HasFeature
439    
440  =over 4  =over 4
441    
# Line 460  Line 461 
461      my $loadFeatureLink = $self->_TableLoader('FeatureLink');      my $loadFeatureLink = $self->_TableLoader('FeatureLink');
462      my $loadFeatureTranslation = $self->_TableLoader('FeatureTranslation');      my $loadFeatureTranslation = $self->_TableLoader('FeatureTranslation');
463      my $loadFeatureUpstream = $self->_TableLoader('FeatureUpstream');      my $loadFeatureUpstream = $self->_TableLoader('FeatureUpstream');
464        my $loadHasFeature = $self->_TableLoader('HasFeature');
465      # Get the maximum sequence size. We need this later for splitting up the      # Get the maximum sequence size. We need this later for splitting up the
466      # locations.      # locations.
467      my $chunkSize = $self->{sprout}->MaxSegment();      my $chunkSize = $self->{sprout}->MaxSegment();
# Line 480  Line 482 
482                  my ($featureID, $locations, undef, $type) = @{$featureData};                  my ($featureID, $locations, undef, $type) = @{$featureData};
483                  # Create the feature record.                  # Create the feature record.
484                  $loadFeature->Put($featureID, 1, $type);                  $loadFeature->Put($featureID, 1, $type);
485                    # Link it to the parent genome.
486                    $loadHasFeature->Put($genomeID, $featureID, $type);
487                  # Create the aliases.                  # Create the aliases.
488                  for my $alias ($fig->feature_aliases($featureID)) {                  for my $alias ($fig->feature_aliases($featureID)) {
489                      $loadFeatureAlias->Put($featureID, $alias);                      $loadFeatureAlias->Put($featureID, $alias);

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3