[Biojava-dev] Dynamic features and sequences in BJX

Richard Holland richard.holland at ebi.ac.uk
Thu Mar 23 09:22:01 UTC 2006


Yes.

And in addition, if you do reference its symbols, then only the part you
reference will be loaded.

cheers,
Richard

On Wed, 2006-03-22 at 16:19 -0500, Michael Heuer wrote:
> Richard Holland wrote:
> 
> > I've managed to do some testing and bugfixing and I think you'll find
> > that dynamically-loaded features and sequence portions should now work.
> >
> > This means that when using FeatureFilter objects to load features, you
> > only get the features you want loaded as they are (mostly) filtered at
> > database level, and that these features will not drag the entire
> > sequence out of the db until you query their symbols, and even then
> > you'll only get the portion you request. If you do wish to work with the
> > features and edit the underlying sequence or load it permanently, then
> > you need to use fullyLoadRichSequence() in BioSQLRichSequenceDB.
> 
> So if I pull out a sequence and iterate over its features, as long as I
> don't call any of the SymbolList methods on it or on any of the features,
> the symbols will never be populated from the database?
> 
> Very cool.
> 
>    michael
> 
-- 
Richard Holland
European Bioinformatics Institute
Wellcome Trust Genome Campus, Hinxton
Cambridge CB10 1SD, UK
Tel: +44-(0)1223-494416
---------------




More information about the biojava-dev mailing list