Skip to content

Sync main with devel#29

Merged
gregorgorjanc merged 36 commits intomainfrom
devel
Feb 5, 2026
Merged

Sync main with devel#29
gregorgorjanc merged 36 commits intomainfrom
devel

Conversation

@gregorgorjanc
Copy link
Member

No description provided.

gregorgorjanc and others added 30 commits October 16, 2023 15:02
Add alternative allele probability input and MetaFounder support
Conditional statement added to remove error "NoneType object is not subscriptable".
Testing for an edge case with metafounders
Minor correction to allow the input of the alternative allele frequency by the user. This is now working!
Implementation of an error message if the user inputs a main_metafounder that does not start with "MF_".
Update to conditional statement for founders
Changed integer to a float to allow decimal place on input e.g 0.5, 0.45 etc. Previously was forced on input to be an integer (then later turned into a float).
Implementation details for metafounders were added through comments in pedigree.py.
Coding Comments on Metafounder Implementation
-Update segregation prob and error matrix for x chromsome
-Update log
-Change all to XChrMaleFlag
Corrected formatting for X chromosome's generateSegregation and errorMatrix entry.
Removed .copy()
Inclusion of phenotype information
AprilYUZhang and others added 6 commits October 16, 2025 13:20
Code to handle two different metafounders assigned to an individual.
Updating error messages and metafounder rules thanks to @RosCraddock! We can address the required flexibility for two diff MF for two founders later.
@gregorgorjanc gregorgorjanc merged commit f6cd2bc into main Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants