bioforensics / MicroHapulator

Tools for empirical microhaplotype calling, forensic interpretation, and simulation.
https://microhapulator.readthedocs.io/
Other
6 stars 1 forks source link

Implement new `contain` module #41

Closed standage closed 5 years ago

standage commented 5 years ago

This update implements a new contain module for calculating the proportion of alleles from one sample present in another sample. Closes #40. The update also introduces a --dry-run mode for the sim and mixture modules.

codecov-io commented 5 years ago

Codecov Report

Merging #41 into master will decrease coverage by 0.9%. The diff coverage is 82.35%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #41      +/-   ##
==========================================
- Coverage   98.39%   97.49%   -0.91%     
==========================================
  Files          18       20       +2     
  Lines         687      719      +32     
  Branches      133      136       +3     
==========================================
+ Hits          676      701      +25     
- Misses          5        9       +4     
- Partials        6        9       +3
Impacted Files Coverage Δ
microhapulator/cli/__init__.py 93.93% <100%> (+0.18%) :arrow_up:
microhapulator/cli/contain.py 100% <100%> (ø)
microhapulator/__init__.py 97.72% <100%> (-2.28%) :arrow_down:
microhapulator/cli/sim.py 100% <100%> (ø) :arrow_up:
microhapulator/cli/mixture.py 100% <100%> (ø) :arrow_up:
microhapulator/contain.py 100% <100%> (ø)
microhapulator/mixture.py 93.61% <25%> (-6.39%) :arrow_down:
microhapulator/sim.py 93.9% <25%> (-3.57%) :arrow_down:
... and 1 more

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 748cf4d...e7891fa. Read the comment docs.