Make "Show variants present only in unaffected" checked by default
See original GitHub issueDear developers,
We continue using Scout in teaching and I have rolled forward to the latest code. To not break our lab, I need to have “Show variants present only in unaffected” checked by default in the “Clinical SNV and INDELs” page.
This page is controlled in scout/server/blueprints/variants/templates/variants/utils.html
but I do not know if there is a way update the html to pass a setting to automatically have it checked when the page loads.
{% macro filter_form_footer(form, result_size, total_variants, more_variants, page, nvars) %}
<div class="card-footer text-center">
<input type="hidden" id="expand_search" name="expand_search">
<div class="row">
<div class="col-4">
<div class="form-check d-flex justify-content-start">
{{ form.hide_dismissed(class="form-check-input") }}
{{ form.hide_dismissed.label(class="form-check-label ms-2") }}
</div>
<div class="form-check d-flex justify-content-start">
{{ form.show_unaffected(class="form-check-input") }}
{{ form.show_unaffected.label(class="form-check-label ms-2", **{'data-bs-toggle': 'tooltip', 'title':'This filter applies only to cases with more than one sample. When this is unchecked, only variants that are predicted by callers to be present in an affected individual genotype are shown.'}) }}
</div>
</div>
<div class="col-4 d-flex justify-content-center">
Filter returns {{result_size}} / {{ total_variants }} variants.
</div>
<div class="col-4 d-flex justify-content-end">
Showing {%if more_variants %}page {{page}}{%else%}last page{% endif %} with {{nvars}} variants.
</div>
</div>
</div>
{% endmacro %}
Can someone please help?
Issue Analytics
- State:
- Created a year ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
BIO182 Chapter 19 MasteringBiology Homework - Quizlet
Sort the items according to whether they may be found only in free virus particles, only in uninfected host cells, or in both...
Read more >Configure build variants | Android Developers
This page shows you how you can configure build variants to create different versions of your app from a single project and how...
Read more >Standards and Guidelines for the Interpretation of Sequence ...
The variant classification approach described in this paper is meant to be applicable to variants in all Mendelian genes whether identified by single...
Read more >Variant Effect Predictor Results - Ensembl
By default, the results for five variants are shown. Note that since a variant can overlap multiple transcripts, the table will often show...
Read more >VariantStudio™ 3.0 Software Guide - Support Illumina
This column is displayed only when View. All Samples is selected. Gene. The name of the gene. Variant. Lists the reference allele and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We use the platform differently from how it is used in a true clinical setting.
In our case, we only have a few hand-crafted variants per case that students are stepping through to observe genotypes across pedigrees and verify how they match pathologies and patterns of inheritance and the affected individuals and such. I just want to make sure all variants are shown per default.
Perhaps we can introduce a new settings option on the institute page, so that it applies only to your institute