[Bioperl-l] Re: Bio::PrimarySeqI

Hilmar Lapp hilmarl@yahoo.com
Tue, 20 Feb 2001 00:54:58 -0800


Ewan Birney wrote:
> > > We need can-call-new. Some people (who are fronting databases) have
> > > very thin wrappers over database handles implementing PrimarySeq, and we
> > > shouldn't (in my view) burden them with having to catch ->new calls in a
> > > fancy way to handle trunc/revcom etc...
> > >
> >
> > Hmm. Do you mean people may have wrappers that do not implement a
> > new() method?
> 
> Nope - they have a new method, but the new method is for example
> 
>    $primary_seq_implementor =
>      Bio::EnsEMBL::DBSQL::DBPrimarySeq->new($database_handle,$db_id);
> 
> This new function cannot be used for trunc/revcom/translate.
> 
> (ie, the new is specific to the implementation)

Okay. I was too quick, which is immediately penalized. :)

	Hilmar
-- 
-----------------------------------------------------------------
Hilmar Lapp                              email: hlapp@gmx.net
GNF, San Diego, Ca. 92122                phone: +1 858 812 1757
-----------------------------------------------------------------