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
{{ message }}
Repository navigation
Simplify should update ids in Individual.parents #1136
After simplification the individual.parent ids need to be remapped.
I'm assuming here that any reference to a parent individual that has been removed is removed from the parent array?
changed the title [-]Simplify should update individual ids in `Individual.parents`[/-][+]Simplify should update ids in `Individual.parents`[/+]on Jan 25, 2021
If the data mode is consitent (i.e., the pedigree and genetic information agree) it should all take care of itself, and we just need to remap the IDs, and then remove any individuals that are not the parent of anyone.
We should think about how to deal with having pedigree information that disagrees with the genetic information though, and whether this is somethings we can detect at input time, and if not, if we should deal with it during simplify.
Activity
[-]Simplify should update individual ids in `Individual.parents`[/-][+]Simplify should update ids in `Individual.parents`[/+]jeromekelleher commentedon Jan 25, 2021
If the data mode is consitent (i.e., the pedigree and genetic information agree) it should all take care of itself, and we just need to remap the IDs, and then remove any individuals that are not the parent of anyone.
We should think about how to deal with having pedigree information that disagrees with the genetic information though, and whether this is somethings we can detect at input time, and if not, if we should deal with it during simplify.
benjeffery commentedon Mar 12, 2021
Closed by #1186