bioforensics / MicroHapulator

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

Refactor genotype simulation and sequencing code #45

Closed standage closed 5 years ago

standage commented 5 years ago

This update makes sweeping changes to the genotype simulation and sequencing code.

This update also replaced all references to microhapulator.cli.parse_args() with microhapulator.cli.get_parser().parse_args(). The former is used to configure runtime logging, which for some reason causes issues in a testing environment.

Closes #44.


codecov-io commented 5 years ago

Codecov Report

Merging #45 into master will increase coverage by 0.66%. The diff coverage is 97.23%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #45      +/-   ##
==========================================
+ Coverage   97.69%   98.35%   +0.66%     
==========================================
  Files          22       24       +2     
  Lines         780      789       +9     
  Branches      145      146       +1     
==========================================
+ Hits          762      776      +14     
+ Misses          9        5       -4     
+ Partials        9        8       -1
Impacted Files Coverage Δ
microhapulator/cli/__init__.py 94.28% <100%> (+0.16%) :arrow_up:
microhapulator/panel.py 98.06% <100%> (+1.31%) :arrow_up:
microhapulator/cli/sim.py 100% <100%> (ø) :arrow_up:
microhapulator/cli/mix.py 100% <100%> (ø)
microhapulator/cli/seq.py 100% <100%> (ø)
microhapulator/mix.py 100% <100%> (ø)
microhapulator/sim.py 100% <100%> (+6.09%) :arrow_up:
microhapulator/__init__.py 97.82% <100%> (+0.04%) :arrow_up:
microhapulator/genotype.py 100% <100%> (ø) :arrow_up:
microhapulator/seq.py 93.82% <93.82%> (ø)
... and 5 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 51cb32c...c503467. Read the comment docs.