-
Notifications
You must be signed in to change notification settings - Fork 6
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
from_ms raises dendropy.utility.error.UltrametricityError #30
Comments
Sigh - I think this basically means conversion will never work for ms. Unless we have sufficient precision on the branch lengths the whole strategy fails because we rely on being able to uniquely identify nodes by their times. If we only have three digits of precision, then that's not going to work. |
Yeah, it does seem problematic. Annoyingly, the ms sources have this hardcoded to 3 decimal places. In most cases, I think
|
Maybe I'm missing something unique regarding converting these ms newicks, but the new |
This is a separate issue to the ultrametricity thing @benjeffery. The assumption we're making about nodes (in the tree sequence sense) in ms output @benjeffery is that they're uniquely identified by their times. There can only be one coalescence event at one time in the coalescent, so this is a good assumption (for ms at least, probably not for other programs using ms output). If the branch lenghts aren't output with high precision, then this won't work. We'll have no way of identifying the tree sequence nodes in different trees, so we'd end up with a JBOT (if we supported it). |
Yuck! I get it now. Not much point in putting any of effort into |
Well, ms output may be problematic, but there are a range of other programs that output ms format. In particular, |
It seems the precision of the branch lengths are not sufficient. The "precision"
-p
parameter has no effect on this.The text was updated successfully, but these errors were encountered: