[InterMine Dev] Multiple Locations
alex at intermine.org
Thu Sep 1 17:15:18 BST 2011
Just from looking at the model:
You could store the bio-entities you create over the course of
processing the GFF3 file in a map/hash of some sort,
and if you find a second location, add it to
the locations collection to the pre-existing bio-entity. Obviously
this would mean you would need to hold off writing out/storing the
objects until the GFF3 had been entirely processed, and this would
also increase memory demands obviously.
I'm sure Julie could give you a more detailed answer when she gets
back from holiday.
On Thu, Sep 01, 2011 at 09:38:12AM -0500, Vallejos, Andrew wrote:
> If I wanted to create a BioEntity with multiple collections within a
> GFF3 Handler, how would I do that? Currently the GFF3 parser creates 1
> bioentity per GFF3 line. But if I had 2 GFF3 lines with the same ID,
> and I wanted to create 2 locations for that object how would I do that?
> Andrew Vallejos M.S.
> Web Developer II
> Biotechnology and Bioengineering Center
> Medical College of Wisconsin
> avallejos at mcw.edu
> dev mailing list
> dev at intermine.org
More information about the dev