Skip to content

Commit

Permalink
Changing ClinVar link-out to VCV entry instead of coordinates (#693)
Browse files Browse the repository at this point in the history
Closes: #693
Related-Issue: #693
Projected-Results-Impact: none
  • Loading branch information
stolpeo authored and holtgrewe committed Sep 27, 2022
1 parent 51b1dbd commit f105b2d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions HISTORY.rst
Expand Up @@ -88,6 +88,7 @@ End-User Summary
- Fixed smallvariant flags filter query (#502).
- Added flags `segregates`, `doesnt_segregate` and `no_disease_association` to file export (#502).
- Adding feature to enable and configure link-out to HGMD (#576).
- Changing ClinVar link-out to VCV entry instead of coordinates (#693).

Full Change List
================
Expand Down Expand Up @@ -140,6 +141,7 @@ Full Change List
- Adding regular task to sync ClinVar submission ``Individual`` sex from the one from the ``Case``.
- Fixing ClinVar export editor timing issues (#667, #668).
- Fixing hemizygous count display in fold-outs (#646).
- Changing ClinVar link-out to VCV entry instead of coordinates (#693).

------
v1.2.0
Expand Down
@@ -1,4 +1,4 @@
{% if entry.in_clinvar %}<a href="https://www.ncbi.nlm.nih.gov/clinvar/?term={{ entry.release }}%3A{{ entry.chromosome }}%3A{{ entry.start }}-{{ entry.end }}" target="_blank">{% endif %}
{% if entry.in_clinvar %}<a href="https://www.ncbi.nlm.nih.gov/clinvar/?term={{ entry.vcv }}" target="_blank">{% endif %}
<i
{% if entry.in_clinvar and entry.summary_pathogenicity_label %}
data-toggle="tooltip"
Expand Down
2 changes: 1 addition & 1 deletion variants/templates/variants/var_details/clinvar.html
Expand Up @@ -6,7 +6,7 @@
<h4 class="card-title">ClinVar for Variant</h4>
<small>
The local ClinVar copy has {{ clinvar|length }} record(s) for this variant.
<a href="https://www.ncbi.nlm.nih.gov/clinvar/?term={{ small_var.release }}%3A{{ small_var.chromosome }}%3A{{ small_var.start }}-{{ small_var.end }}" target="_blank">See all records in NCBI ClinVar.</a>
<a href="https://www.ncbi.nlm.nih.gov/clinvar/?term={{ clinvar.0.vcv }}" target="_blank">See all records in NCBI ClinVar.</a>
</small>
</div>
<div class="text-muted small p-2">
Expand Down

0 comments on commit f105b2d

Please sign in to comment.