You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We may want to overload __add__ or __or__ operators on Cohort to allow merging two cohorts, because a cohort is essentially a set of individuals. The merge can succeed as long as there is no individual with the same ID present in both cohorts.
The text was updated successfully, but these errors were encountered:
The flip side of merging phenopackets is that we must do Q/C and functional annotation to go from phenopacket -> cohort, while if we merge Cohorts, we are already past that. So, the only thing to verify is that the variants are on the same build, HPO on the same version, and the sets of individuals are disjoint.
We may want to overload
__add__
or__or__
operators onCohort
to allow merging two cohorts, because a cohort is essentially a set of individuals. The merge can succeed as long as there is no individual with the same ID present in both cohorts.The text was updated successfully, but these errors were encountered: