Merged
Conversation
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).
Allow AAP to be non-integer
Implementation details for metafounders were added through comments in pedigree.py.
Coding Comments on Metafounder Implementation
Metafounders
-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
X chromosome functionality
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.