Skip to content

Commit 23f4d95

Browse files
committed
CHANGELOG
1 parent 2a91782 commit 23f4d95

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

CHANGELOG.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,15 @@ Please add a new candidate release at the top after changing the latest one. Fee
88

99
Try to use the following format:
1010

11+
## [unreleased]
12+
### Changed
13+
- Changed to use PS-tag instead of intervals to check for variants in phase with `genmod models --phased` ([#197](https://github.com/Clinical-Genomics/genmod/pull/197))
14+
- Refactored the implementation of `check_compounds()` to improve maintainability ([#197](https://github.com/Clinical-Genomics/genmod/pull/197))
15+
### Fixed
16+
- KeyError when running `genmod models --phased` with multiple individuals ([#197](https://github.com/Clinical-Genomics/genmod/pull/197))
17+
1118
## [3.10.2]
12-
### Fixed
19+
### Fixed
1320
- Add scoring normalisation for flag lookup mode ([#177](https://github.com/Clinical-Genomics/genmod/pull/177))
1421
- Fix crash on test for missing annotation key for phased mode ([#178](https://github.com/Clinical-Genomics/genmod/pull/178))
1522
- Bugfixes related to multiprocessing stability and error handling ([#183](https://github.com/Clinical-Genomics/genmod/pull/183) and [#186](https://github.com/Clinical-Genomics/genmod/pull/186))
@@ -33,7 +40,7 @@ Try to use the following format:
3340
- Fixed sorting of variants ([#152](https://github.com/Clinical-Genomics/genmod/pull/152))
3441
- genmod annotate for mitochondrial variants when using the `chrM` notation ([#157](https://github.com/Clinical-Genomics/genmod/pull/157))
3542
- Fix linting issues ([#154](https://github.com/Clinical-Genomics/genmod/issues/154))
36-
- genmod models adds headers to VCF even if it contains no variants ([#160](https://github.com/Clinical-Genomics/genmod/pull/160))
43+
- genmod models adds headers to VCF even if it contains no variants ([#160](https://github.com/Clinical-Genomics/genmod/pull/160))
3744

3845
## [3.9]
3946
- Fixed wrong models when chromosome X was named `chrX` and not `X` ([#135](https://github.com/Clinical-Genomics/genmod/pull/135))

genmod/annotate_models/models/compound_model.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,12 @@ def check_compounds(variant_1: dict, variant_2: dict, family, phased: bool) -> b
3737
Args:
3838
variant_1, variant_2: Variants in a potential compound pair
3939
family: A family object with the individuals
40-
intervals: A interval tree that describes the phased intervals
4140
phased: A bool that tells if the individuals are phased
4241
4342
Returns:
4443
bool: depending on if the pair follow the rules stated above
4544
4645
"""
47-
# Check in all individuals what genotypes that are in the trio based of the individual picked.
4846
logger = logging.getLogger(__name__)
4947
for individual_id, individual in family.individuals.items():
5048
logger.debug("Check compounds for individual {0}".format(individual_id))

0 commit comments

Comments
 (0)