[BioSQL-l] update DBSeqRecords

Peter biopython at maubp.freeserve.co.uk
Wed Feb 13 10:55:21 UTC 2008


On Feb 13, 2008 9:39 AM, Andreas De Stefani <andreas.destefani at ucd.ie> wrote:
> Hi Guys,
>
> I was wondering if it is possible to update a single DBSeqRecord,
> without having to delete the whole sub database first...

Can't you do this?:
(1) start a new transaction
(2) delete the out of date sequence
(3) load the new sequence, e.g. with Biopython's load
(4) commit the transaction

I guess Biopython could have a method added to do this for you...
maybe update instead of load?

By the way - what version of Biopython are you using with BioSQL?
I've made quite a few changes in CVS and I would be keen for any heavy
users to try this (ideally before we make the next release of
Biopython).

Peter



More information about the BioSQL-l mailing list