[Bioperl-l] SeqI interface
Hilmar Lapp
lapp@gnf.org
Thu, 08 Feb 2001 16:54:39 -0800
Jason Stajich wrote:
>
> On Thu, 8 Feb 2001, Ewan Birney wrote:
>
> > On Thu, 8 Feb 2001, Jason Stajich wrote:
> >
> > > Shouldn't methods like primary_seq, annotation, add_SeqFeature be part of
> > > the SeqI interface? They are part of Seq.pm.
> > > I'm trying to be sure that I provide a complete implementation of
> > > Bio::SeqI in Bio::CorbaClient::Seq.
> >
> > primary_seq and annotation - yes
> okay I'll include them in the SeqI definition.
Hmm. Why primary_seq() in the interface? The only reason this method
exists in Seq.pm is that it delegates to a PrimarySeq object, right?
Maybe I'm missing something here, maybe it's even in the IDL. In any
way, it's trivial to implement, non-delegating classes could just
return $self. (I assume SeqI inherits off PrimarySeqI, right?)
Hilmar
--
-------------------------------------------------------------
Hilmar Lapp email: lapp@gnf.org
GNF, San Diego, Ca. 92121 phone: +1-858-812-1757
-------------------------------------------------------------