[BioSQL-l] How to get a Seq object from Bio::DB::Persistent::Seq

Daniel Lang daniel.lang at biologie.uni-freiburg.de
Wed Jun 2 04:44:51 EDT 2004


Hi,
I'm retrieving sequences out of a biosql db using Bio::DB::Query's...
When calling the next_object function on the QueryResult, you get the
persistence object for seq.
I want to copy the object into a fresh seq object, to add new data and
store it afterwarts as a new entry with a different namespace.
The solution I´m using now is quite awkward...I copy it using SeqIO:(
Is there a method to retrieve seq objects directly?

Additionally, I'm quite confused by the mapping of bioperl objects to
biosql tables(e.g. for generating a Bio:Query with datacollections):
connections like bioenty<->seqI are obvious, but the rest?
Is there a something like a overview list of the object mapping?

A example script for Query and Constraints would be great:)

Thanks in advance

Daniel


-- 

Daniel Lang
University of Freiburg, Plant Biotechnology
Sonnenstr. 5, D-79104 Freiburg
phone: +49 761 203 6988
homepage:  http://www.plant-biotech.net/
e-mail: daniel.lang at biologie.uni-freiburg.de

#################################################
 >REALITY.SYS corrupted: Reboot universe? (Y/N/A)
#################################################

Join MOSS 2004 in Freiburg, Germany from September 12th - 15th:
registration and information @ http://www.plant-biotech.net/moss2004






More information about the BioSQL-l mailing list