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

Diff of /Sprout/FeatureSaplingLoader.pm

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

revision 1.7, Wed Nov 25 21:00:45 2009 UTC revision 1.8, Wed Dec 16 01:45:19 2009 UTC
# Line 27  Line 27 
27      use HyperLink;      use HyperLink;
28      use AliasAnalysis;      use AliasAnalysis;
29      use LoaderUtils;      use LoaderUtils;
30        use Digest::MD5;
31      use base 'BaseSaplingLoader';      use base 'BaseSaplingLoader';
32    
33  =head1 Sapling Feature Load Group Class  =head1 Sapling Feature Load Group Class
# Line 241  Line 242 
242                  $proteinSequence = FIG::translate($dna, undef, 1);                  $proteinSequence = FIG::translate($dna, undef, 1);
243              }              }
244              # Compute the ID.              # Compute the ID.
245              $proteinID = ERDB::DigestKey($proteinSequence);              $proteinID = $sapling->ProteinID($proteinSequence);
246              # Create the protein record.              # Create the protein record.
247              $self->PutE(ProteinSequence => $proteinID, sequence => $proteinSequence);              $self->PutE(ProteinSequence => $proteinID, sequence => $proteinSequence);
248              $self->PutR(IsProteinFor => $proteinID, $fid);              $self->PutR(IsProteinFor => $proteinID, $fid);

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3