[BioRuby] [Wg-phyloinformatics] Bioruby PhyloXML: method for iterating to the next tree, without returning anything
Hilmar Lapp
hlapp at gmx.net
Wed Jun 17 22:26:49 UTC 2009
On Jun 15, 2009, at 11:57 AM, Christian M Zmasek wrote:
> Although, it will only be useful if the order of the trees is known
> beforehand (i.e. you know you want the 5th tree).
Right - I recognize that this would be useful for your unit testing,
but frankly I'm not sure what the "normal" use case for this function
would be.
> Something to think about (if you have enough time): Since trees in
> phyloxml can have names and/or ids -- what about having the parser
> return trees with a matching name/id? E.g. from a file with 100 trees
> return those named "erk gene tree".
I agree, being able to pass a filter function (e.g., one that accepts
the unparsed XML and returns true or false?) would indeed be pretty
useful.
-hilmar
--
===========================================================
: Hilmar Lapp -:- Durham, NC -:- hlapp at gmx dot net :
===========================================================
More information about the BioRuby
mailing list