Bio::DB::Persistent::PrimarySeq - Proxy object for database PrimarySeq representations


Give standard usage here


This is a proxy object which will ferry calls to/from database for the heavy stuff (sequence data) while it stores the simple attributes in memory. This object is obtained from a DBAdaptor.


Mailing Lists

User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to one of the Bioperl mailing lists. Your participation is much appreciated.


Please direct usage questions or support issues to the mailing list:

rather than to the module maintainer directly. Many experienced and reponsive experts will be able look at the problem and quickly address it. Please include a thorough description of the problem with code and data examples if at all possible.

Reporting Bugs

Report bugs to the Bioperl bug tracking system to help us keep track the bugs and their resolution. Bug reports can be submitted via email or the web:

AUTHOR - Hilmar Lapp, Ewan Birney

Email hlapp at Based in idea largely on Bio::DB::Seq by Ewan Birney.

Describe contact details here


The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _

Overridden methods


 Title   : primary_key
 Usage   : $obj->primary_key($newval)
 Function: Get/set the primary key value.

           We override this here from PersistentObjectI in order to
           propagate the primary key to a possibly attached PrimarySeq
           object if PrimarySeqI is implemented by composition.

 Example : 
 Returns : value of primary_key (a scalar)
 Args    : new value (a scalar, optional)