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

Mallard demographic model #883

Merged
merged 1 commit into from
Apr 15, 2021

Conversation

petrelharp
Copy link
Contributor

@petrelharp petrelharp commented Apr 9, 2021

Here's a demographic model for AnaPla from Lavretsky et al.!

@jeromekelleher
Copy link
Member

Can you rebase please @petrelharp, #826 has been merged.

@codecov
Copy link

codecov bot commented Apr 9, 2021

Codecov Report

Merging #883 (6b3d7bb) into main (8e3f9df) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #883   +/-   ##
=======================================
  Coverage   99.21%   99.21%           
=======================================
  Files          80       81    +1     
  Lines        2537     2558   +21     
  Branches      290      290           
=======================================
+ Hits         2517     2538   +21     
  Misses         10       10           
  Partials       10       10           
Impacted Files Coverage Δ
stdpopsim/catalog/AnaPla/__init__.py 100.00% <100.00%> (ø)
stdpopsim/catalog/AnaPla/demographic_models.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8e3f9df...6b3d7bb. Read the comment docs.

@petrelharp
Copy link
Contributor Author

This isn't ready for review because we don't actually have the correct ancestral pop size, but it should be a good example for how to do a demographic model PR.

@petrelharp petrelharp force-pushed the mallard_demog branch 2 times, most recently from 7715866 to 1bac5bb Compare April 14, 2021 03:53
@petrelharp petrelharp marked this pull request as ready for review April 14, 2021 03:53
@petrelharp
Copy link
Contributor Author

I got the missing number from the authors - I think this is ready to go.

Copy link
Member

@jeromekelleher jeromekelleher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Member

@apragsdale apragsdale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Just the commented out mutation rate, as the PR to handle that has been merged

],
generation_time=4,
model=model,
# mutation_rate=4.83e-9,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be uncommented now, I think - and will be checked in QC!

@petrelharp petrelharp merged commit 64854db into popsim-consortium:main Apr 15, 2021
@petrelharp
Copy link
Contributor Author

Argh, I forgot to update the parameter table.

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

Successfully merging this pull request may close these issues.

3 participants