In terms of the tskit stats mode, tstrait implements the site version. Would it be helpful to also implement branch mode and mutation mode (see tskit-dev/tskit#3299)?
We should think about the API for this - specifically on how to prepare trait information data frame and how that will be used downstream. Current setup works with causal sites and causal alleles. branch mode should work with, well, branches - so, will all branches have an effect or just branches with mutations at causal sites or branches in the data frame!? mutation mode should work with mutations, I guess with those with effect given the data frame!!
@petrelharp @jeromekelleher do you have any thoughts about this?
@iozkaraca might be able to take this extension forwards.
In terms of the
tskitstats mode,tstraitimplements thesiteversion. Would it be helpful to also implementbranchmode andmutationmode (see tskit-dev/tskit#3299)?We should think about the API for this - specifically on how to prepare trait information data frame and how that will be used downstream. Current setup works with causal sites and causal alleles.
branchmode should work with, well, branches - so, will all branches have an effect or just branches with mutations at causal sites or branches in the data frame!?mutationmode should work with mutations, I guess with those with effect given the data frame!!@petrelharp @jeromekelleher do you have any thoughts about this?
@iozkaraca might be able to take this extension forwards.