-
Notifications
You must be signed in to change notification settings - Fork 6
Subtree methods need to return source references #163
Comments
So, any source that touches any node in the returned tree? Source X may support one node in the returned tree, but reject a bunch of others. This could be confusing. For example, a microbes tree may disagree with the rooting of metazoa, but because it agrees with some trivial terminal clade it will be returned as a source for the whole tree. Or am I making this harder than it should be? Just a list? Easy-peasy. |
Alternatively, node-specific supporting sources is possible, but could become a large file... |
Just to make it more complicated: are we interested in sources that support actual edges in the returned tree (i.e. source passes through both the parent and child node)? For sparse trees, there may be no such supporting sources (well, maybe taxonomy). |
What are we doing now for arguson? On Fri, Feb 6, 2015 at 11:31 AM, Joseph W. Brown notifications@github.com
|
The idea is this: Any tree that's returned constitutes a set of claims Edges are not claims; the claims are things like A and B are closer to one Jonathan On Fri, Feb 6, 2015 at 11:31 AM, Joseph W. Brown notifications@github.com
|
Pinging this issue again. Does the new synthesis format make it easier to return sources? |
It sure should. This is what
https://github.com/OpenTreeOfLife/opentree/wiki/Open-Tree-of-Life-APIs-v3#conflict-api-response-node-fields
is about. The section claims to be about conflict but it is equally about
support.
tm-lite has to ingest the annotations file in any case, so whenever it
generates a tree, it can look up the support for every node in the subtree,
finding any supported_by and partial_path_of annotations, which are marked
with input trees.
|
Please explicitly describe how you want these data presented. |
Are there design decisions made about this? Gathering the data is easy; how do you want it returned Arguson is a possible model. |
Design hasn't happened yet. I have assigned this issue to me and will hand it back to you when it's time to implement something. |
Pinging this issue again. It came up during the Phylotastic call today - they are returning OpenTree trees from the Couple of design questions:
|
Yes, I think just a list of study ids as additional result, and then maybe On Thu, May 5, 2016 at 6:13 PM, Karen Cranston notifications@github.com
|
To clarify, which of the following are you suggesting:
|
1.
|
As Joseph says the implementation is pretty straightforward once we decide |
I am mostly concerned with providing a citation list along with a subtree so that data contributors get credit. People can request arguson if they want gory details. Also, given this use case, I think we should at least consider returning more information than our internal study identifier. As for which types of annotations get included in the list? Definitely support, and definitely not terminal, resolve*, or conflict. Not sure about partial_path... maybe not? |
Treemachine doesn't have access to any 'more information'; only OTI has the
DOI and reference. (well, and phylesystem.) Having a single service that
returns both kinds of information could be done, but it's an architectural
nightmare (errors, testing, configuration, deployment...) given the way
things are designed now. Is two method calls really out of the question?
They would simply be passing the list through, they wouldn't have to
process it in any way. That is, I imagine a new OTI call that's
specifically for this purpose.
|
rather than make treemachine call out to OTI, I guess it could scan
phylesystem, or load a file prepared for it by some script. that would
work, but again makes things more fragile (installing peyotl, rerunning the
script when a new tree is deployed, etc.)
|
I am going to send an email to the opentreeoflife group to see what people think. We also want to implement this through the tree browser 'download subtree' link, where requiring a second call would be really awkward. (Although, I suppose that the browser already has the supporting list, so could add that to the download fairly easily). |
Yes, or it would be easy for the tree browser to fetch the main subtree, then fetch and incorporate more information. |
Waiting to hear back from @kcranston on the outcome of the consultation. |
Since the PR was posted for a while, and is now merged, I take it that the solution that I implemented is satisfactory. I'm closing the issue. |
Followon issue is here: OpenTreeOfLife/oti#54 |
When someone uses the API to get phylogenetic information such as a subtree or subtended tree, it's important to relay the sources of that information, so that they can (a) check it (b) learn more (c) cite it. Sources are also important as for us to acknowledge the contribution (with gratitude).
This should be done compatibly, either with new methods returning both the tree and the sources, with a parameter specifying that both be returned instead of just the tree, or with separate methods that return just the sources.
The text was updated successfully, but these errors were encountered: