-
Notifications
You must be signed in to change notification settings - Fork 46
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
Fix #4909 - Tavtigian Bayesian point sums #4920
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4920 +/- ##
==========================================
- Coverage 84.80% 84.78% -0.03%
==========================================
Files 320 320
Lines 19335 19370 +35
==========================================
+ Hits 16397 16422 +25
- Misses 2938 2948 +10 ☔ View full report in Codecov by Sentry. |
@@ -112,15 +114,6 @@ <h4>Evidence of {{ category }}</h4> | |||
</div> | |||
{% endblock %} | |||
|
|||
{% macro preview() %} |
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.
unused...
prediction(str): in ['uncertain_significance','benign','likely_benign', | ||
'likely_pathogenic','pathogenic'] | ||
def get_acmg_criteria(acmg_terms: set) -> tuple: |
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.
Refactored slightly to have one function to sort the terms, that can be reused by both the Richards and the Tavtigian classifier.
* Fix #4906 - warn on potentially conflicting ACMG terms. * add a tuple, sort, and simplify slightly * add test * typo * Update scout/constants/acmg.py Co-authored-by: Chiara Rasi <rasi.chiara@gmail.com> * Update scout/utils/acmg.py Co-authored-by: Chiara Rasi <rasi.chiara@gmail.com> --------- Co-authored-by: Chiara Rasi <rasi.chiara@gmail.com>
Quality Gate passedIssues Measures |
This PR adds a functionality: Bayesian point sums for an alternative ACMG classification, and temperature for VUS.
Ok! I will brush up the visuals and add some tests, but kinda looks promising! 🌶️
Testing on cg-vm1 server (Clinical Genomics Stockholm)
Prepare for testing
scout-stage
and the server iscg-vm1
.ssh <USER.NAME>@cg-vm1.scilifelab.se
sudo -iu hiseq.clinical
ssh localhost
podman ps
systemctl --user stop scout.target
systemctl --user start scout@<this_branch>
systemctl --user status scout.target
scout-stage
) to be used for testing by other users.Testing on hasta server (Clinical Genomics Stockholm)
Prepare for testing
ssh <USER.NAME>@hasta.scilifelab.se
us; paxa -u <user> -s hasta -r scout-stage
. You can also use the WSGI Pax app available at https://pax.scilifelab.se/.conda activate S_scout; pip freeze | grep scout-browser
bash /home/proj/production/servers/resources/hasta.scilifelab.se/update-tool-stage.sh -e S_scout -t scout -b <this_branch>
us; scout --version
paxa
procedure, which will release the allocated resource (scout-stage
) to be used for testing by other users.How to test:
Expected outcome:
The functionality should be working
Take a screenshot and attach or copy/paste the output.
Review: