Skip to content

Commit

Permalink
issue #1240 - add fix historical management command
Browse files Browse the repository at this point in the history
  • Loading branch information
davmlaw committed Jan 24, 2025
1 parent 9efd547 commit 55eeafd
Showing 1 changed file with 65 additions and 1 deletion.
66 changes: 65 additions & 1 deletion snpdb/templates/snpdb/data/view_vcf.html
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ <h3>Samples</h3>
</p>
{% endif %}
<p>
<label>Format</label>
<label>Special Format Fields</label>
<span>
<table>
<tr>
Expand Down Expand Up @@ -559,7 +559,71 @@ <h3>Samples</h3>
</div>
</p>
</fieldset>

{% if vcf.vcfinfo_set.exists or vcf.vcffilter_set.exists or vcf.vcfformat_set.exists %}
<fieldset class="form-fields">
{% if vcf.vcfinfo_set.exists %}
<p>
<label>INFO</label>
<table>
<tr>
<th>ID</th>
<th>Description</th>
</tr>

{% for vcf_info in vcf.vcfinfo_set.all %}
<tr>
<td>{{ vcf_info.identifier }}</td>
<td>{{ vcf_info.description }}</td>
</tr>
{% endfor %}
</table>
</p>
{% endif %}
{% if vcf.vcffilter_set.exists %}
<p>
<label>FILTER</label>
<table>
<tr>
<th>ID</th>
<th>Description</th>
</tr>

{% for vcf_filter in vcf.vcffilter_set.all %}
<tr>
<td>{{ vcf_filter.filter_id }}</td>
<td>{{ vcf_filter.description }}</td>
</tr>
{% endfor %}
</table>
</p>
{% endif %}
{% if vcf.vcfformat_set.exists %}
<p>
<label>FORMAT</label>
<table>
<tr>
<th>ID</th>
<th>Description</th>
</tr>

{% for vcf_format in vcf.vcfformat_set.all %}
<tr>
<td>{{ vcf_format.identifier }}</td>
<td>{{ vcf_format.description }}</td>
</tr>
{% endfor %}
</table>
</p>
{% endif %}
</fieldset>
{% endif %}

</div>




{% if somalier_enabled and vcf.cohort.somaliercohortrelate %}
<div id="vcf-relate">
<iframe width="100%" height="100%" src="{{ vcf.cohort.somaliercohortrelate.url }}"></iframe>
Expand Down

0 comments on commit 55eeafd

Please sign in to comment.