-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add mirrored haplotype frequency inference (#181)
* Fix bug with phase_snps and chrnotation * Allow mhBAF values above 0.5 * Fixed genotype_snps error message * Set merging to 0 by default just to make sure * Update default value in ArgParsing * Repeat clustering 10 times per K * Added 'restarts' option to cluster_bins * Add sample subsetting to cluster-bins * Add warnings for low tau * Updated plotting to respect mhBAF * diploidbaf now requires all samples to be close to 0.5 * Update plotting for mhbaf * Fix count_alleles error in error msg * Update compute_cn 'clonal' argument parsing * Minor update to docstring * Add -pthread flag to CMakeLists * Fix issue with sexchroms in combine_counts_fw * Update test data for mirror/mhbaf * Trim trailing whitespace * Formatting and unused imports * More formatting * Add correction for haplotype switching on chromosome arms * Update default silhouette score to avoid no-solution issues * Update tests (add new bb column for haplotype correction) * Source file formatting * Minor change to code formatting * Bump minor version number to 1.2 * Count haplotype switches using imbal. samples only * Fix doubled log messages
- Loading branch information
Showing
19 changed files
with
10,068 additions
and
9,660 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" | |
|
||
[project] | ||
name = "hatchet" | ||
version = "1.1.2" | ||
version = "1.2.1" | ||
authors = [ | ||
{ name="Simone Zaccaria", email="[email protected]" }, | ||
{ name="Ben Raphael", email="[email protected]" }, | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
__version__ = '1.1.2' | ||
__version__ = '1.2.1' | ||
|
||
import os.path | ||
from importlib.resources import path | ||
|
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
Oops, something went wrong.