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
I've just found that I would like this behaviour for the workbooks.
Obviously, as a hack we could simply add the start and end positions then throw away the flanking regions. A stupid idea because it doesn't save on the calculation time, but it would serve as a reasonable way of running the tests.
How easy do you think it will be @petrelharp - is it something I can set a project student or @savitakartik on (I think she's looking at focussed stats along the genome)?
It's not totally straightforward as it would require top-to-bottom changes in the stats API. IIRC we use a custom tree iterator for the stats API so it's not just a case of calling tree.seek(start). You'd need to update the code for each of the branch, site and node stats (like this function) to skip ahead and break off at the appropriate points, and the code is quite subtle so it would need to be done carefully.
Activity
hyanwong commentedon Jun 14, 2022
I've just found that I would like this behaviour for the workbooks.
Obviously, as a hack we could simply add the start and end positions then throw away the flanking regions. A stupid idea because it doesn't save on the calculation time, but it would serve as a reasonable way of running the tests.
petrelharp commentedon Jun 15, 2022
This should not be a hard thing to do, but will take a bit of time.
hyanwong commentedon Jun 15, 2022
How easy do you think it will be @petrelharp - is it something I can set a project student or @savitakartik on (I think she's looking at focussed stats along the genome)?
jeromekelleher commentedon Jun 15, 2022
It's not totally straightforward as it would require top-to-bottom changes in the stats API. IIRC we use a custom tree iterator for the stats API so it's not just a case of calling
tree.seek(start). You'd need to update the code for each of the branch, site and node stats (like this function) to skip ahead and break off at the appropriate points, and the code is quite subtle so it would need to be done carefully.hyanwong commentedon Jun 15, 2022
I didn't realise about the custom iterator. That does make it much harder, thanks for the info.
jeromekelleher commentedon Jul 7, 2023
Closing in favour of #2782