Problems with IM Model
@mufernando is already working on this.
Since Aug 13, 2024.
Assessment
This issue has not been assessed yet.
Description
The IM model has a few issues:
- Currently the parameters are
stdpopsim.IsolationWithMigration(NA, N1, N2, T, M12, M21), but the actual populations are 0 == pop1, 1 == pop2, 2 = ancestral pop. It would be less confusing if we hadstdpopsim.IsolationWithMigration(N0, N1, NA, T, M01, M10), and the populations then at least matched their indexes in the final tree sequence. - The population indexes aren't documented in the output
- What direction of time is the migration rate M01/M10 going in?
- There's a redundant sentence at the start of the docstring (same for PiecewiseConstantSize).
In general, I think these models would be better off defined in msprime -- see https://github.com/tskit-dev/msprime/pull/1025/ for a proposal.
It's probably still good to have an interface to them here in stdpopsim though.
- Dominant language
- Python
- Stars
- 144
- Forks
- 100
- Avg merge
- 2h 44m
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from popsim-consortium/stdpopsim
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
popsim-consortium/stdpopsim#1857 · 2 comments ·
-
update CI Open
popsim-consortium/stdpopsim#1865 · 1 comment · 1 assignee ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
popsim-consortium/stdpopsim#1861 · 10 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
popsim-consortium/stdpopsim#1845 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 52/100
popsim-consortium/stdpopsim#1841 ·
All issues in popsim-consortium/stdpopsim
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100