-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Added unit test of 'roh_mhmm()' in the simple case of supplying a genotype list, position list, and contig size. Does not test other functionality of 'roh_mhmm()', nor does it test other ROH functions. * By using 'allow_none=True' in call to 'is_accessible()' in 'roh_mhmm()', '_mhmm_predict_roh_state()' will simply skip masking inaccessible regions. This is the intended functionality when supplying 'contig_size' but not 'is_accessible'. Added unit test of 'roh_mhmm()' in the simple case of supplying a genotype list, position list, and contig size. Does not test other functionality of 'roh_mhmm()', nor does it test other ROH functions. * PEP8 formatting correction. * Edits to @olavur branch - properly handle is_accessible in poisson HMM func using position_windows - fix minor spelling errors in check func args - rename `eqw` variable for clarity - prefer np.zeros to generate gv for tests * satisfy PEP8 * Add text describing ROH hmm update include credits + issue no. * Update docs/release.rst Co-authored-by: Ólavur Mortensen <olavurmortensen@gmail.com> Co-authored-by: Alistair Miles <alimanfoo@googlemail.com>
- Loading branch information
1 parent
c697481
commit d25437d
Showing
3 changed files
with
44 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters