[Bioperl-l] Bioperl-db: Added -flat_only option to find_by_query()

Hilmar Lapp hlapp at gnf.org
Tue Jun 8 13:08:49 EDT 2004


Disregard if you aren't using bioperl-db.

This option was previously only available with find_by_unique_key(). 
You can now pass it to find_by_query() as well. -flat_only means 
retrieved objects will not get their children retrieved and attached.

E.g., when retrieving a Bio::SeqI object, there won't be features nor 
annotation with this flag set to true when you get the found object(s) 
returned. This is useful to save time if you aren't going to query 
those attributes anyway in your script.

	-hilmar
-- 
-------------------------------------------------------------
Hilmar Lapp                            email: lapp at gnf.org
GNF, San Diego, Ca. 92121              phone: +1-858-812-1757
-------------------------------------------------------------



More information about the Bioperl-l mailing list