diff --git a/CHANGELOG.md b/CHANGELOG.md index b834f2fe..01f4cca1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Make target bed file optional for WGS mode (Issue [#375](https://github.com/nf-core/raredisease/issues/375)) [#395](https://github.com/nf-core/raredisease/pull/395) - Added constraints to block the pipeline from running CollectWgsMetrics on WES samples [#396](https://github.com/nf-core/raredisease/pull/396) - Updated modules from nf-core [#412](https://github.com/nf-core/raredisease/pull/412) +- If present, remove duplicate entries in probands and upd_children in the meta. [#420](https://github.com/nf-core/raredisease/pull/420) ### `Updated` diff --git a/workflows/raredisease.nf b/workflows/raredisease.nf index 1d1d8ddd..a3e1050d 100644 --- a/workflows/raredisease.nf +++ b/workflows/raredisease.nf @@ -650,8 +650,8 @@ def create_case_channel(List rows) { case_info.father = father case_info.mother = mother - case_info.probands = probands - case_info.upd_children = upd_children + case_info.probands = probands.unique() + case_info.upd_children = upd_children.unique() case_info.id = rows[0].case_id return case_info