-
Notifications
You must be signed in to change notification settings - Fork 47
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
Remove any variant type #5219
base: main
Are you sure you want to change the base?
Remove any variant type #5219
Conversation
multiple=True, | ||
help="Type of analysis", | ||
) | ||
@click.option("--rank-threshold", type=click.INT, default=5, help="With rank threshold lower than") | ||
@click.option("--variants-threshold", type=click.INT, help="With more variants than") | ||
@click.option( |
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.
New option, mutually exclusive with --keep-ctg
@@ -23,8 +24,18 @@ | |||
"Total variants", | |||
"Removed variants", | |||
] | |||
VARIANT_CATEGORIES = list(VARIANTS_TARGET_FROM_CATEGORY.keys()) + ["wts_outliers"] |
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.
["wts_outliers"] is added like that, because these variants are on another collection (omics_variant).
@@ -68,15 +86,16 @@ | |||
@with_appcontext | |||
def variants( | |||
user: str, | |||
case_id: list, | |||
case_id: 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.
These are all tuples, I've actually checked
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5219 +/- ##
=======================================
Coverage ? 84.41%
=======================================
Files ? 326
Lines ? 19860
Branches ? 0
=======================================
Hits ? 16765
Misses ? 3095
Partials ? 0 ☔ View full report in Codecov by Sentry. |
|
This PR adds a functionality or fixes a bug.
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: