-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Representation of uncertainty in JSONs #386
Comments
This can be much improved upon resolution of nextstrain/augur#386. See that issue for more information.
Currently, the way augur exports confidence values for tips, it's largely impossible to know if a tip's trait which has 100% confidence is inferred or known (i.e. defined by the metadata). Since the majority of tips for which DTA is run have data, we assume that the value is provided. This can be much improved upon resolution of nextstrain/augur#386.
The issue I see here is that time tree confidences are not always inferred (for performance reasons). But augur refine exports |
Following up with two related (I think... 5 years later) requests:
|
Currently uncertainty in a trait, e.g. location for node X, is represented in augur along the lines of:
Temporal confidence is slightly different formatting, but conceptually identical. This is independent of the model employed.
Importantly, if node X had location "blue" (via metadata) then the output is indistinguishable to if it was inferred with 100% confidence as being in location "blue".
For this example ☝️ all nodes would look like
X
above, and auspice wouldn't know whether to say "Node A: inferred as blue with 100% confidence" or "Node A: blue". This is even more problematic with tip sampling dates, where we have some code in auspice to try to guess the true meaning:Proposed solution
Modify
augur traits
andaugur refine
to produce output where non-inferred nodes do not have associated confidences. This will then be carried throughaugur export {v1,v2}
. Auspice's v1->v2 JSON conversion function implement the code above to remove confidence values for tips it believes aren't inferred.The text was updated successfully, but these errors were encountered: