You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of the changes for tsinfer 1.0, I think we should add the ability to date the inferred trees by adding a dependency on tsdate. The motivation for doing this is that it's reasonably involved doing the full tsinfer+tsdate pipeline correctly, requiring multiple pre and postprocessing steps to get the best performance. As most people probably want to date their ARGs, then we should make it easy for them to do it as well as possible.
Similarly for doing multiple rounds of tsinfer based on inferred dates.
How we structure the APIs etc is something to figure out, but I'm sure we can manage it.
The text was updated successfully, but these errors were encountered:
Yep, discussing just now with @jeromekelleher and this seems sensible to me.
One suggestion is that tsinfer.date(ts_in, ts_out) is another step, just like tsinfer.match_samples(sd, ts_in). I think by default this should carry out something internally like:
We need to think about the API, e.g. if we require a mutation rate (or if it is absent, whether we simply return an undated tree sequence).
That would be a good way to maintain backward compatibility - if mutation_rate is suppled to tsinfer.infer then the additional dating step is done, otherwise same as we have now.
As part of the changes for tsinfer 1.0, I think we should add the ability to date the inferred trees by adding a dependency on tsdate. The motivation for doing this is that it's reasonably involved doing the full tsinfer+tsdate pipeline correctly, requiring multiple pre and postprocessing steps to get the best performance. As most people probably want to date their ARGs, then we should make it easy for them to do it as well as possible.
Similarly for doing multiple rounds of tsinfer based on inferred dates.
How we structure the APIs etc is something to figure out, but I'm sure we can manage it.
The text was updated successfully, but these errors were encountered: