-
Notifications
You must be signed in to change notification settings - Fork 25
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
ecDNA simulator #240
ecDNA simulator #240
Conversation
adding binomial segregation to it. experimenting with BDFS
…n neutral model tests in notebooks
deleted unnecessary file (was just playing around with a copy of BirthDeathFitnessSimulator here, decided to go with the strategy implemented with mattjones315 in ecDNABirthDeathSimulator.py instead)
updated documentation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #240 +/- ##
==========================================
- Coverage 79.84% 79.77% -0.08%
==========================================
Files 90 91 +1
Lines 8173 8347 +174
==========================================
+ Hits 6526 6659 +133
- Misses 1647 1688 +41 ☔ View full report in Codecov by Sentry. |
Hey @colganwi -- I know that this PR is very much outside of the normal scope of Cassiopeia, but there are a few items here that are relevant to the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Just added a few comments.
Thanks so much for the review, @colganwi -- I believe I've addressed your comments and it looks like this is ready to be merged in! |
This PR implements a special simulator described in Hung*, Jones*, Wong*, Curtis* et al.
It extends the basic
BirthDeathFitnessSimulator
implemented Cassiopeia to simulate copy-numbers of extrachromosomal DNA (ecDNA) on top of the phylogeny. An arbitrary number of particles can be simulated according to various selection and co-segregation parameters.It also makes a few changes to the
BirthDeathFitnessSimulator
to support passing in an intermediate tree. This is especially relevant when users would like to simulate experiments with different phases - for example, drug-on and drug-off cases.Another miscellaneous change is the support for passing specific
lineage_profiles
for tree plotting.