18 Aug 22:52
Bio::Annotation issues with BioSQL
From: Mark Johnson <johnsonm <at> gmail.com>
Subject: Bio::Annotation issues with BioSQL
Newsgroups: gmane.comp.lang.perl.bio.general
Date: 2008-08-18 20:53:48 GMT
Subject: Bio::Annotation issues with BioSQL
Newsgroups: gmane.comp.lang.perl.bio.general
Date: 2008-08-18 20:53:48 GMT
I'm presently refactoring an in-house protein annotation pipeline
and converting it to use BioSQL as a data store. I've noticed some
slightly screwy behavior with regard to how some of the
Bio::Annotation classes are handled:
-Instances of Bio::Annotation::SimpleValue and
Bio::Annotation::StructuredValue attached to the annotation collection
for a sequence feature (Bio::SeqFeature::Generic) are converted to
tags/values on the feature.
-Instances of Bio::AnnotationDBLink with attached comments loose the comment.
I'm storing and retrieving things thusly:
my $dbadp = Bio::DB::BioDB->new(
-database => 'biosql',
-user => $user',
-pass => $pass,
-dbname => $ora_instance,
-driver => 'Oracle'
);
my $adp = $dbadp->get_object_adaptor("Bio::SeqI");
my $seq = Bio::Seq->new(
-id => 'DEBUG001',
-accession_number => 'DBG001',
-desc => 'Debug Sequence',
-seq => 'GATTACA',
-namespace => 'DEBUG',
);
(Continue reading)
RSS Feed