-
Notifications
You must be signed in to change notification settings - Fork 3
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
add raredisease pedigree check #3687
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! A bit confused over certain parts of the code.
Thank you all for your comments @ChrOertlin, @islean, after multiple discussions with @diitaz93 and @jemten we have decided to keep the code as is, and add test functions to make sure it works as intended. I have marked most conversations as resolved. We can refactor the nextflow QC code in the future, or turn it into a microservice where we have it outside of cg. |
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 🚀
Description
The RareDisease requires an additional metric from the multiQC data file with respect to the other Nextflow pipelines, which is the pedigree check. This is a pair-wise sample metric, meaning there is a value for every pair of samples combination in the case. To parse them, the method
get_multiqc_json_metrics
fromNfAnalysisAPI
is overridden inRarediseaseAnalysisAPI
.Added
Changed
Fixed
How to prepare for test
us
paxa
How to test
Do nano /home/proj/stage/analysis/cases/funkitten/multiqc/multiqc_data/multiqc_data.json and MEDIAN_TARGET_COVERAGE set to 26 for all three samples
Do
cg workflow raredisease metrics-deliver funkitten
with MEDIAN_TARGET_COVERAGE set to 26.Do
sed -i 's/"parent_error_ped_check": "False",/"parent_error_ped_check": "True",/g' /home/proj/stage/analysis/cases/funkitten/multiqc/multiqc_data/multiqc_data.json
Do
cg workflow raredisease metrics-deliver funkitten
Expected test outcome
Check that there are no errors, and command completes as expected.
When setting parent error to True, the command should fail. Error needs to be propagated to trailblazer
See that the check is visible in the deliverables.yaml file:
Review
Thanks for filling in who performed the code review and the test!
This version is a
Implementation Plan