Skip to content
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

TS-GRG: Consider support for infinite-sites modeled mutations #25

Open
dcdehaas opened this issue Oct 16, 2024 · 0 comments
Open

TS-GRG: Consider support for infinite-sites modeled mutations #25

dcdehaas opened this issue Oct 16, 2024 · 0 comments

Comments

@dcdehaas
Copy link
Member

msprime supports discrete_genome=False for sim_mutations(), which causes the positions of the mutations to be in floating point. GRG initially supported the Mutation position to be double, which would have allowed this to work when converting a tree-seq to a GRG. At some point we changed the position to be an integer.

Just an interesting use-case to consider. One possibility is to map the resulting mutations from TS onto the integer number line. Another is to consider re-adding (optional) floating point support in GRG positions (probably by just adding a special getter that would interpret the value as float)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant