[BioSQL-l] How to add a feature?

Hilmar Lapp hlapp at gnf.org
Thu Jun 2 12:39:55 EDT 2005


On Jun 2, 2005, at 5:42 AM, Marc Logghe wrote:

> Hi Martina,
> I don't know how it goes in BioJava but in BioPerl the flow looks like
> this:
> 1) create your feature
> 2) make it persistent

Just as a note, you don't need to make the feature persistent before 
adding it. Just add it to the persistent sequence object and then call 
$pseq->store().

	-hilmar

> 3) add it to your (persistent) sequence object
> 4) store the sequence object in the databse
> 5) commit if necessary
-- 
-------------------------------------------------------------
Hilmar Lapp                            email: lapp at gnf.org
GNF, San Diego, Ca. 92121              phone: +1-858-812-1757
-------------------------------------------------------------




More information about the BioSQL-l mailing list