-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python rebuild of dMLPA-reporting #3
Open
EKPayne
wants to merge
15
commits into
development
Choose a base branch
from
python_rebuild
base: development
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains 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
EKPayne
commented
Oct 18, 2024
- Initial rebuild of the dMLPA-reporting script originally written in R (https://github.com/moka-guys/dMLPA-reporting)
- PDF report generated from HTML and populated using Jinja2
- Includes alternative copy number calling for PMS2
- Error handling added
Adds more detailed information on the input files required.
connection port is changed from string to int.
Split upload directory for probe file and patient files. Created and output directory
This includes: - creation of html report template - parsing test data from results/excel file - converting copy number analysis script to python from original R script in https://github.com/moka-guys/dMLPA-reporting - Generating minimal pdf reports (from html template) per results/excel file - Updating backend.py to create zip of output files rather than of input files
Also corrects mistake of using "mean dosage quotient" as apposed to "dosage quotient" throughout.
Including: - One matplotlib generated graph per gene with identified CNV's - One summary table of probes associated with CNV's per gene.
1) Moving hardcoded elements to config.py 2) Removes generation of probe_df outside of the for loop 3) Updates report with version of app, genome build, warning message if not in production env 4) Adds reporting comment when no copy number variants are detected
- Alternative DQ ranges specified for PMS2 in config.py - Generates a different graph when reporting on PMS2
- Adds PMS2 reporting disclaimer - Adds exon 12 boundary demarcation - Renames categories used for PMS2 CN variants [Issue:]
Resolves conflicts from merging in PMS2_merged_categories
Error handling added: - Files submitted that don't match expected file naming for probe file and results file - Probe file submitted that doesn't meet expected file formatting CN Categories updated to 3dp to account for fact that dq in results file is rounded to 3dp by digital_mlpa script (see https://github.com/moka-guys/digital_mlpa)
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.