Goal
Provide a warning or an error to the user when a phenotype penetrance probability file is used incorrectly. For example, where the rows of the phenotype penetrance probability file do not sum to 1.
Proposed approach
When reading in the phenotype penetrance probability file, check that the rows sum to 1 (or very nearly). If they do not, produce an error to the user identifying the row. Instruct the user to correct or not include phenotypes.
Scope
pedigree.py file only.
Done when
Once change has been completed in tinyhouse and the submodule updated in AlphaPeel
Goal
Provide a warning or an error to the user when a phenotype penetrance probability file is used incorrectly. For example, where the rows of the phenotype penetrance probability file do not sum to 1.
Proposed approach
When reading in the phenotype penetrance probability file, check that the rows sum to 1 (or very nearly). If they do not, produce an error to the user identifying the row. Instruct the user to correct or not include phenotypes.
Scope
pedigree.py file only.
Done when
Once change has been completed in tinyhouse and the submodule updated in AlphaPeel