[Bioperl-l] load_seqdatabase.pl and 'each_Location' method

Hilmar Lapp hlapp@gnf.org
Thu, 22 Aug 2002 10:54:08 -0700


Correct. You need to grab and install the current developers release 1.1 (or a CVS snapshot if you're comfortable with that). Current bioperl-db will /not/ work with bioperl 1.0.x.

	-hilmar

> -----Original Message-----
> From: chris dagdigian [mailto:dag@sonsorol.org]
> Sent: Thursday, August 22, 2002 10:09 AM
> To: Dan Swan
> Cc: bioperl-l@bioperl.org
> Subject: Re: [Bioperl-l] load_seqdatabase.pl and 
> 'each_Location' method
> 
> 
> 
> I think this is the same error  I saw over the weekend when 
> re-tooling 
> my BioSQL install diary. What I found was that I needed to 
> grab either 
> bioperl-live or bioperl-db straight from the CVS repository. 
> The current 
> 'official' release was throwing these types of errors.
> 
> -Chris
> 
> 
> Dan Swan wrote:
> 
> >Hi bioperlers,
> >
> >I am trying to use load_seqdatabase.pl to populate a MySQL 
> BioSQL database
> >with genbank records.
> >
> >However I'm getting the following error:
> >
> >[dswan@ashtaroth scripts]$ ./load_seqdatabase.pl dantest2 dan.gb
> >Reading dan.gb
> >Can't locate object method "each_Location" via package
> >"Bio::Location::Simple" at
> >/usr/local/lib/perl5/site_perl/5.8.0/Bio/DB/BioSQL/SeqLocatio
> nAdaptor.pm
> >line 247, <GEN0> line 116.
> >
> >The line in question is in sub store :
> >
> >   foreach my $loc ( $location->each_Location ) {
> >
> >I'm using Bioperl 1.0.2 on perl 5.6.1 and 5.8.0 and getting the same
> >error.
> >
> >I notice there's a 'post-capetown' branch of SeqLocationAdaptor.pm
> >(Revision 1.15.2.1) in which sub store is different, but I don't
> >have the post-capetown branch of biosql-schema installed (I assume!).
> >
> >Has anyone else come across this?  I'm a bit stumped at how 
> to proceed.
> >
> >Dan
> >
> >_______________________________________________
> >Bioperl-l mailing list
> >Bioperl-l@bioperl.org
> >http://bioperl.org/mailman/listinfo/bioperl-l
> >  
> >
> 
> 
> -- 
> Chris Dagdigian, <dag@sonsorol.org>
> Bioteam.net - Independent Bio-IT & Informatics consulting
> Office: 617-666-6454, Mobile: 617-877-5498, Fax: 425-699-0193
> PGP KeyID: 83D4310E Yahoo IM: craffi Web: http://bioteam.net 
> 
> 
> 
> 
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l@bioperl.org
> http://bioperl.org/mailman/listinfo/bioperl-l
>