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

flat (0) maps for non-existing chrom maps #33

Conversation

jgallowa07
Copy link
Member

@jgallowa07 jgallowa07 commented Mar 12, 2019

Simple fix for defining a recombination map across all chromosomes on a species genome.

@codecov

This comment has been minimized.

@codecov
Copy link

codecov bot commented Mar 12, 2019

Codecov Report

Merging #33 into master will increase coverage by 2.6%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master      #33     +/-   ##
=========================================
+ Coverage   94.32%   96.92%   +2.6%     
=========================================
  Files           8        8             
  Lines         282      293     +11     
  Branches       14       16      +2     
=========================================
+ Hits          266      284     +18     
+ Misses         13        5      -8     
- Partials        3        4      +1
Impacted Files Coverage Δ
stdpopsim/genomes.py 97.5% <100%> (+9.26%) ⬆️
stdpopsim/genetic_maps.py 92.13% <100%> (+5.23%) ⬆️

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 003a5cb...9b5c479. Read the comment docs.

@jgallowa07 jgallowa07 force-pushed the define_recombination_map_behavior branch 2 times, most recently from 6f2cd92 to 1ec4b98 Compare March 12, 2019 21:23
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.

This is a good start @jgallowa07, but we need to be a lot more careful about the corner cases. See the comments above (sorry, I should have made them part of the review).

tests/test_homo_sapiens.py Outdated Show resolved Hide resolved
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.

Looking good, thanks @jgallowa07. A few more minor changes and I think we're there.

stdpopsim/genetic_maps.py Outdated Show resolved Hide resolved
stdpopsim/genomes.py Outdated Show resolved Hide resolved
tests/test_homo_sapiens.py Outdated Show resolved Hide resolved
tests/test_homo_sapiens.py Outdated Show resolved Hide resolved
tests/test_homo_sapiens.py Outdated Show resolved Hide resolved
@jgallowa07
Copy link
Member Author

@petrelharp @andrewkern does this look good to you?

@andrewkern
Copy link
Member

looks good @jgallowa07!

@andrewkern andrewkern merged commit 0cb7b3a into popsim-consortium:master Mar 14, 2019
@jgallowa07 jgallowa07 deleted the define_recombination_map_behavior branch March 15, 2019 16:42
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.

None yet

4 participants