From: Hilmar L. <hl...@ne...> - 2011-10-27 22:47:29
|
Let me just add here that there is no requirement that every metadata attribute available for querying through PhyloWS is also a column in some database table, or an attribute for which the database stores a value. It is up to phylogenetic data providers how to resolve a PhyloWS query, and there is no reason that the TreeBASE CQL to SQL mapper couldn't translate a query for hasBranchLengths=true (as an example) into SQL that would filter results to exclude trees that don't have branch lengths. -hilmar On Oct 27, 2011, at 6:35 PM, William Piel wrote: > > On Oct 27, 2011, at 2:12 PM, Carl Boettiger wrote: > >> I think the primary thing I noticed was that I couldn't identify if >> a tree had branch-length information without downloading the actual >> data file. > > hmm.. The database itself does not store a flag to indicate whether > a tree has or has not any branch-lengths. But it has been our > intention to comply more fully with the PhyloWS specs and provide > URIs to all objects, including nodes. Hence, presumably there could > eventually be a query like this: > > /phylows/node/find?query=brlen>0&recordSchema=tree > > Is that what you have in mind? > > Alternatively, perhaps it would be better to pre-calculate and store > metadata separately, like "longest root to tip path", "tree > balance", "mean clade support", etc. > > bp > > > ------------------------------------------------------------------------------ > The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning@Cisco Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev_______________________________________________ > Treebase-devel mailing list > Tre...@li... > https://lists.sourceforge.net/lists/listinfo/treebase-devel -- =========================================================== : Hilmar Lapp -:- Durham, NC -:- informatics.nescent.org : =========================================================== |