-
Notifications
You must be signed in to change notification settings - Fork 86
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
species QC to ChlRei #1067
species QC to ChlRei #1067
Conversation
OK, so we are disagreeing on the mutation rate estimates @aays. The Ness 2015 et al, gives me a genome-wide mutation rate that is: 9.63 * 1e-10. Where did you find the per chromosome mutation rate? If not cited then I believe you should also upload it to figshare and change the citation source for the mutation rate (I can do that). Thank you. |
I think that @aays has, at this link, and it's cited already? (ps nice job tracking that down, @aays!) |
ah my bad, I think I was reviewing the first version of his PR. |
147b452
to
ae0d988
Compare
Codecov Report
@@ Coverage Diff @@
## main #1067 +/- ##
=======================================
Coverage 99.52% 99.52%
=======================================
Files 92 91 -1
Lines 2934 2941 +7
Branches 350 354 +4
=======================================
+ Hits 2920 2927 +7
Misses 6 6
Partials 8 8
Continue to review full report at Codecov.
|
OK I think I am done here, @petrelharp you can merge this if you will! |
closes #890 |
tests/test_ChlRei.py
Outdated
def test_qc_population_size(self): | ||
assert self.species.population_size == -1 | ||
assert self.species.population_size == 1.4 * 1e-7 | ||
|
||
@pytest.mark.skip("Generation time QC not done yet") |
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.
whoops, you've still got a skipped QC test here?
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.
Ah, I see - no reference for this to check yet.
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.
oh wait - I see
stdpopsim.Citation(
author="Vitova et al.",
year=2011,
doi="https://doi.org/10.1007/s00425-011-1427-7",
reasons={stdpopsim.CiteReason.GEN_TIME},
),
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.
hm, but I don't see a natural generation time in that paper on a quick skim anyhow
tests/test_ChlRei.py
Outdated
print("This is the mutation rate") | ||
print(self.genome.get_chromosome(name).mutation_rate) |
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.
print("This is the mutation rate") | |
print(self.genome.get_chromosome(name).mutation_rate) |
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.
whats is the change here? spacing?
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.
Ah, sorry - I was suggesting you delete the print( )
s, since they looked like they were just left over from debugging?
I don’t fond it either.
On Thu, 28 Oct 2021 at 16.23, Peter Ralph ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In tests/test_ChlRei.py
<#1067 (comment)>
:
> def test_qc_population_size(self):
- assert self.species.population_size == -1
+ assert self.species.population_size == 1.4 * 1e-7
@pytest.mark.skip("Generation time QC not done yet")
hm, but I don't see a natural generation time in that paper on a quick
skim anyhow
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1067 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB3WMCL5PHIS6FSIO7L4643UJHLOTANCNFSM5G3CWA7A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
--
Postdoctoral Researcher
Dept. of Ecology and Evolutionary biology
University of California - Los Angeles (UCLA) - United States
Phone: +1 (310) 593-1637
E-mail: ***@***.***
https://izabelcavassim.github.io/
Linkedin profile
<https://www.linkedin.com/profile/view?id=350503047&trk=nav_responsive_tab_profile>
|
OK @aays , I am almost there, I just need to find out where you got the generation time from. Once you do give me the citation I will finish my modifications. |
Very sorry for not getting to this sooner, the past two days were a bit more hectic than I'd have liked! Thanks very much for your comments and review so far @izabelcavassim and @petrelharp. The generation time was calculated from Vitova et al's estimate of the doubling time at 20 degrees Celsius of 0.10 mitoses / h (p. 604 in the paper, listed as 'doubling / h'). From that, I obtained 876 generations per year (0.10 doublings/h * 24 h * 365 days) hence 1/876 as the generation time. C. reinhardtii can also undergo meiosis, but is expected to have a meiotic cycle once every ~840 generations (e.g. only once a year) based on this work of ours. This is the best data I know of on C. reinhardtii's generation time, I'm afraid. Please let me know if this sounds reasonable! |
Ok - so it should be clear somewhere that generation time is time between mitotic divisions. And, since mutation rate and recombination rate are in units of "per generation", are those correct here? |
also, don't we assume generation time to be in years? |
They are! Mutation rate was calculated directly from MA experiments, but the recombination rates listed here are population recombination rates (e.g. Ne * r calculated from genetic diversity) instead of estimates from lab crosses. I elaborated how I dealt with facultative sex a bit further in #863, reproduced here:
So these are still technically per-generation per-bp recombination rates (e.g. the Re: generation time, given the above calculation of 876 doublings in a year I set the generation time to 1/876 years, following how the generation time was set for E. coli (26280 doublings per year yielding a 1/26280 generation time). |
updated based on comments in popsim-consortium#1067
52dc0c2
to
c4923b7
Compare
ok @petrelharp made the edits you suggested and fixed a tiny thing on the generation time reference. I guess you can merge when you will. |
Awesome, thanks! |
QC for Chlamydomonas reinhardtii #890, #863, #950
@aays Can you explain where you got your generation time from? For now I don't know the source.
Thanks.