scout-browser 4.89__py3-none-any.whl → 4.89.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- scout/__version__.py +1 -1
- scout/adapter/mongo/hgnc.py +1 -1
- scout/parse/panel.py +16 -3
- scout/server/blueprints/cases/templates/cases/case_report.html +5 -3
- scout/server/templates/report_base.html +59 -1
- {scout_browser-4.89.dist-info → scout_browser-4.89.2.dist-info}/METADATA +1 -1
- {scout_browser-4.89.dist-info → scout_browser-4.89.2.dist-info}/RECORD +11 -11
- {scout_browser-4.89.dist-info → scout_browser-4.89.2.dist-info}/LICENSE +0 -0
- {scout_browser-4.89.dist-info → scout_browser-4.89.2.dist-info}/WHEEL +0 -0
- {scout_browser-4.89.dist-info → scout_browser-4.89.2.dist-info}/entry_points.txt +0 -0
- {scout_browser-4.89.dist-info → scout_browser-4.89.2.dist-info}/top_level.txt +0 -0
scout/__version__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "4.89"
|
1
|
+
__version__ = "4.89.2"
|
scout/adapter/mongo/hgnc.py
CHANGED
@@ -335,7 +335,7 @@ class GeneHandler(object):
|
|
335
335
|
Returns:
|
336
336
|
alias_genes(dict): {<hgnc_alias>: {'true': <hgnc_id>, 'ids': {<hgnc_id_1>, <hgnc_id_2>, ...}}}
|
337
337
|
"""
|
338
|
-
|
338
|
+
|
339
339
|
# Collect one entry for each alias symbol that exists
|
340
340
|
alias_genes = {}
|
341
341
|
|
scout/parse/panel.py
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
import logging
|
4
4
|
from datetime import datetime
|
5
|
-
from typing import Dict,
|
5
|
+
from typing import Dict, Optional
|
6
6
|
|
7
7
|
from scout.constants import (
|
8
8
|
INCOMPLETE_PENETRANCE_MAP,
|
@@ -383,7 +383,7 @@ def parse_panel_app_panel(
|
|
383
383
|
return gene_panel
|
384
384
|
|
385
385
|
|
386
|
-
def get_omim_panel_genes(genemap2_lines, mim2gene_lines, alias_genes):
|
386
|
+
def get_omim_panel_genes(genemap2_lines: list, mim2gene_lines: list, alias_genes: dict):
|
387
387
|
"""Return all genes that should be included in the OMIM-AUTO panel
|
388
388
|
Return the hgnc symbols
|
389
389
|
|
@@ -424,6 +424,19 @@ def get_omim_panel_genes(genemap2_lines, mim2gene_lines, alias_genes):
|
|
424
424
|
break
|
425
425
|
|
426
426
|
if hgnc_id_info:
|
427
|
-
|
427
|
+
if hgnc_id_info["true"]:
|
428
|
+
hgnc_id = hgnc_id_info["true"]
|
429
|
+
elif len(hgnc_id_info.get("ids", ())) == 1:
|
430
|
+
hgnc_id = list(hgnc_id_info["ids"])[0]
|
431
|
+
LOG.warning(
|
432
|
+
"Gene symbol %s does not exist: using an apparently unique alias for hgnc_id %s",
|
433
|
+
hgnc_symbol,
|
434
|
+
hgnc_id,
|
435
|
+
)
|
436
|
+
else:
|
437
|
+
LOG.warning(
|
438
|
+
"Gene symbol %s does not exist, and as an alias it is not unique", hgnc_symbol
|
439
|
+
)
|
440
|
+
yield {"hgnc_id": hgnc_id, "hgnc_symbol": hgnc_symbol}
|
428
441
|
else:
|
429
442
|
LOG.warning("Gene symbol %s does not exist", hgnc_symbol)
|
@@ -1099,7 +1099,9 @@
|
|
1099
1099
|
<td>
|
1100
1100
|
<ul>
|
1101
1101
|
{% for disease_term in gene.disease_terms %}
|
1102
|
-
<li class="d-flex align-items-baseline"><span class="badge bg-secondary m-1">{{ disease_term._id}}</span> <span>{{ disease_term.description }} {
|
1102
|
+
<li class="d-flex align-items-baseline"><span class="badge bg-secondary m-1">{{ disease_term._id}}</span> <span>{{ disease_term.description }} {% if disease_term.source != 'ORPHA' and disease_term.inheritance %}
|
1103
|
+
{% for model in disease_term.inheritance %} {{ inheritance_badge(model,inherit_palette) }}{% endfor %}
|
1104
|
+
{% endif %}</span></li>
|
1103
1105
|
{% endfor %}
|
1104
1106
|
</ul>
|
1105
1107
|
</td>
|
@@ -1140,7 +1142,7 @@
|
|
1140
1142
|
{{ variant_phenotypes(variant) }}
|
1141
1143
|
</div>
|
1142
1144
|
<div class="card-body">
|
1143
|
-
<table id="panel-table" class="table table-sm table-bordered" style="background-color: transparent; margin-left:-.3rem
|
1145
|
+
<table id="panel-table" class="table table-sm table-bordered" style="background-color: transparent; margin-left:-.3rem;">
|
1144
1146
|
<thead>
|
1145
1147
|
<tr class="table-secondary">
|
1146
1148
|
<th>Variant type</th>
|
@@ -1262,7 +1264,7 @@
|
|
1262
1264
|
{{ variant.str_inheritance_mode if variant.str_inheritance_mode else "-" }}
|
1263
1265
|
</td>
|
1264
1266
|
<td>
|
1265
|
-
{% if variant.str_source.display %}
|
1267
|
+
{% if variant.str_source and variant.str_source.display %}
|
1266
1268
|
<a style="text-decoration:none;" href="{{variant.str_source_link}}" target="_blank" rel="noopener noreferrer">{{ variant.str_source.display }} </a>
|
1267
1269
|
{% else %}
|
1268
1270
|
"-"
|
@@ -6,11 +6,69 @@
|
|
6
6
|
{% block css %}
|
7
7
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
|
8
8
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" integrity="sha512-1ycn6IcaQQ40/MKBW2W4Rhis/DbILU74C1vSrLJxCq57o941Ym01SwNsOMqvEBFlcgUa6xLiPY/NS5R+E6ztJQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
|
9
|
-
<link rel="stylesheet" href="{{ url_for('static', filename='bs_styles.css') }}">
|
10
9
|
<style>
|
11
10
|
tr.light-grey td{
|
12
11
|
background-color: LightGray;
|
13
12
|
}
|
13
|
+
|
14
|
+
/* affected, archived and similar accents */
|
15
|
+
.bg-danger-light {
|
16
|
+
background-color: var(--bs-info);
|
17
|
+
}
|
18
|
+
|
19
|
+
/* define colors to be used as class items */
|
20
|
+
.bg-red {
|
21
|
+
background-color: var(--bs-red);
|
22
|
+
}
|
23
|
+
|
24
|
+
.bg-orange {
|
25
|
+
background-color: var(--bs-orange);
|
26
|
+
}
|
27
|
+
|
28
|
+
.bg-blue {
|
29
|
+
background-color: var(--bs-blue);
|
30
|
+
}
|
31
|
+
|
32
|
+
.bg-teal {
|
33
|
+
background-color: var(--bs-teal);
|
34
|
+
}
|
35
|
+
|
36
|
+
.bg-green {
|
37
|
+
background-color: var(--bs-green);
|
38
|
+
}
|
39
|
+
|
40
|
+
.bg-gray {
|
41
|
+
background-color: var(--bs-gray);
|
42
|
+
}
|
43
|
+
|
44
|
+
.bg-pink {
|
45
|
+
background-color: var(--bs-pink);
|
46
|
+
}
|
47
|
+
|
48
|
+
.bg-purple {
|
49
|
+
background-color: var(--bs-purple);
|
50
|
+
}
|
51
|
+
|
52
|
+
.bg-cyan {
|
53
|
+
background-color: var(--bs-cyan);
|
54
|
+
}
|
55
|
+
|
56
|
+
.bg-gray-400 {
|
57
|
+
background-color: var(--bs-gray-400);
|
58
|
+
}
|
59
|
+
|
60
|
+
.bg-gray-dark {
|
61
|
+
background-color: var(--bs-gray-dark);
|
62
|
+
}
|
63
|
+
|
64
|
+
.bg-yellow {
|
65
|
+
background-color: var(--bs-yellow);
|
66
|
+
}
|
67
|
+
|
68
|
+
.bg-light {
|
69
|
+
background-color: var(--bs-light);
|
70
|
+
}
|
71
|
+
/* End of css colors */
|
14
72
|
</style>
|
15
73
|
{% endblock %}
|
16
74
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
scout/__init__.py,sha256=Z4liXvmEcLkC67ElsWvYHfemPKdWgWI5O6MB6XlDM8M,232
|
2
|
-
scout/__version__.py,sha256=
|
2
|
+
scout/__version__.py,sha256=T7ThRIRkePjiRTDa6aeTTkyfBdSPI1nLqcsHeWWi8Ig,23
|
3
3
|
scout/adapter/__init__.py,sha256=-iX_hx2NI1EMAqX0pMd5_90Nnd9uvIMxv9EbefYBzsc,86
|
4
4
|
scout/adapter/client.py,sha256=IuajRsEwTG41ZP14X09Q1Cj94zIgmIvUtlXfcAFn0EA,1513
|
5
5
|
scout/adapter/mongo/__init__.py,sha256=NdHYCUXWUAuX5cUS3-6HCws2hW9uoGep8i0SC-oJd3k,31
|
@@ -13,7 +13,7 @@ scout/adapter/mongo/cytoband.py,sha256=2NoIAoQ7RPqcipiSymD2O9qH8lXscP3T5ejquOrD7
|
|
13
13
|
scout/adapter/mongo/disease_terms.py,sha256=4qcQRLuP5xn_RkB2RlNtwCrONmDuWwdlngZrj87BUEo,5637
|
14
14
|
scout/adapter/mongo/event.py,sha256=NnURFhS5odOXk7So_gGMHmALPAJM0PWzESI4FC06azE,19842
|
15
15
|
scout/adapter/mongo/filter.py,sha256=vzBJS_6vq2z76SH8PszdRR-MNuZ7_RA4VJvnkNYUs7s,8937
|
16
|
-
scout/adapter/mongo/hgnc.py,sha256=
|
16
|
+
scout/adapter/mongo/hgnc.py,sha256=FUzzj9at62jW-ypII6mWrfeDTdQzW4BWgXg3bWRTqGo,16372
|
17
17
|
scout/adapter/mongo/hpo.py,sha256=ps2Pix3sGeea7DenboZVP5j7Vh9WAgX3-sgpbAj0Eck,6871
|
18
18
|
scout/adapter/mongo/index.py,sha256=TZPVv6xBWsEtZpBUWp5uhjuPjQMfVss4lZZju49g1Lw,3577
|
19
19
|
scout/adapter/mongo/institute.py,sha256=GQmMKb_VzsvWwadp6gXHlSSpcG5ovF1ozdTzvpTFLpA,7025
|
@@ -410,7 +410,7 @@ scout/parse/matchmaker.py,sha256=5e9NCFQ2rKXNCJTW-ThXoEylEPl3H41cCfQzPATQ2QM,952
|
|
410
410
|
scout/parse/mitodel.py,sha256=3uvEXI9v9wIw97NUL7gqLLxHay0mpQpDgKaIxUbIyrE,803
|
411
411
|
scout/parse/omim.py,sha256=nrCaFZgjUKZo9Jfku2-jcNjdsIYHsvjdWcydz4nCpZA,12465
|
412
412
|
scout/parse/orpha.py,sha256=5u9xqGpAn8vgoJ0uVqbYiqQBiNfBwXOiTzX16kAnmFU,4392
|
413
|
-
scout/parse/panel.py,sha256=
|
413
|
+
scout/parse/panel.py,sha256=xNIzUhyCOBIWtH2avbVvJgZioanMztImG6dV1wXnyO4,13722
|
414
414
|
scout/parse/peddy.py,sha256=uM49GaZMtr8waCsZDvCHDS5JDQ43JUlhdWh9C7f7ZvU,5418
|
415
415
|
scout/parse/smn.py,sha256=iOK1N8iYm9dFigsKtWq0Y0ZCa1CH29s9zeR_tH0bPuc,1153
|
416
416
|
scout/parse/omics_variant/__init__.py,sha256=vq8Ew4_Xr2vPy_3Fg0eTpPWsQpWnUXYBhjRndBUvtTw,422
|
@@ -460,7 +460,7 @@ scout/server/blueprints/cases/static/edit_pedigree.js,sha256=ntC5fie7SsOYJau8qkk
|
|
460
460
|
scout/server/blueprints/cases/static/madeline.js,sha256=KHxKMBVlYVJODNu5QkY9hhsGkDJNoaCoCZZ0DRu0YN0,1175
|
461
461
|
scout/server/blueprints/cases/templates/cases/case.html,sha256=9Fcn-OFA1yIHchD0PjDs7-Y8I7Qqr8o6cavN0eOi5rI,37183
|
462
462
|
scout/server/blueprints/cases/templates/cases/case_bionano.html,sha256=PLoRv7hDJcHwxhi-0hC9fQSZc7V_aUYHBhhQqcn_2G8,5946
|
463
|
-
scout/server/blueprints/cases/templates/cases/case_report.html,sha256=
|
463
|
+
scout/server/blueprints/cases/templates/cases/case_report.html,sha256=y7aSvMGQoM8jOt93sBrXBvTkhtE7hIVU2jaoSA6FpM8,63309
|
464
464
|
scout/server/blueprints/cases/templates/cases/case_sma.html,sha256=5kpvNPhOO15wTP_WjYX22wQ_B5-pw4jIQweNXYLbsAU,6281
|
465
465
|
scout/server/blueprints/cases/templates/cases/case_tabular_view.html,sha256=ko-LDUKmIoTazMZ2nFWvPEZsgObU07RwqIkDYFjokoY,4317
|
466
466
|
scout/server/blueprints/cases/templates/cases/chanjo2_form.html,sha256=5Wmk7DM8LI3MynqzxeTzAr_EoEBwVVo31djcI5ZlTdo,2164
|
@@ -649,7 +649,7 @@ scout/server/static/humans.txt,sha256=UdqAR07_5LAWWfgH2Ty4RR8BhoHS1WXpx9euKtXqqh
|
|
649
649
|
scout/server/static/robots.txt,sha256=fFX0beQN4x3mzR3evnZjrOUYOTNkezYAwqMowTUpmxM,106
|
650
650
|
scout/server/templates/bootstrap_global.html,sha256=yPauZKUzPvDCj6LUrKnCtkYgn7fPt07-Letxqd-hLw8,2634
|
651
651
|
scout/server/templates/layout.html,sha256=-uhRxFA89L0gocv8sPLcODUHmWLNuV6xsjB34Zjq-8o,4635
|
652
|
-
scout/server/templates/report_base.html,sha256=
|
652
|
+
scout/server/templates/report_base.html,sha256=bNYzoJFgtYMnfxQYeguwQK9c15ZASdmXd72DaiCfZto,2281
|
653
653
|
scout/server/templates/utils.html,sha256=Wd-glkGqmfJeusnqi1fIjCBSgUflWh0V3MOAnr5V_MU,13000
|
654
654
|
scout/server/translations/sv/LC_MESSAGES/messages.mo,sha256=eI53pCtlYj1MXduDicMZRxBhgOV_TlmMUpH7IhncgDY,4452
|
655
655
|
scout/server/translations/sv/LC_MESSAGES/messages.po,sha256=Wp7Mx4LoiFNtzsV1tpAoWjMxYnq8SpfpU9a4XWJ7L6g,4531
|
@@ -672,9 +672,9 @@ scout/utils/md5.py,sha256=KkgdxOf7xbF9AF40ZjQKCgWaxFWJ9tp9RKjd8SU6IoA,649
|
|
672
672
|
scout/utils/scout_requests.py,sha256=JjHOJW1XmenG05mNQ33kvOKq_IicveIfQMcPZeRcQdo,12856
|
673
673
|
scout/utils/sort.py,sha256=1AcbeZ6vdt_UXM3BLDBa3aQmN4qxrqtskxwD19oBhvw,756
|
674
674
|
scout/utils/track_resources.py,sha256=eUjSEe-Ff8BIb4BHPC_COkJocQO2PaWueiPz1GAuiwY,2614
|
675
|
-
scout_browser-4.89.dist-info/LICENSE,sha256=TM1Y9Cqbwk55JVfxD-_bpGLtZQAeN9RovQlqHK6eOTY,1485
|
676
|
-
scout_browser-4.89.dist-info/METADATA,sha256=
|
677
|
-
scout_browser-4.89.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
678
|
-
scout_browser-4.89.dist-info/entry_points.txt,sha256=q_mxFwbMFTwXRDDIRVcqKram2ubMVmvs3CSNvZri1nY,45
|
679
|
-
scout_browser-4.89.dist-info/top_level.txt,sha256=qM75h71bztMaLYsxn1up4c_n2rjc_ZnyaW6Q0K5uOXc,6
|
680
|
-
scout_browser-4.89.dist-info/RECORD,,
|
675
|
+
scout_browser-4.89.2.dist-info/LICENSE,sha256=TM1Y9Cqbwk55JVfxD-_bpGLtZQAeN9RovQlqHK6eOTY,1485
|
676
|
+
scout_browser-4.89.2.dist-info/METADATA,sha256=stc_17UT_s4jOKJezGHaktPrwY-h3IJqt1VnGQfm6uI,14262
|
677
|
+
scout_browser-4.89.2.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
678
|
+
scout_browser-4.89.2.dist-info/entry_points.txt,sha256=q_mxFwbMFTwXRDDIRVcqKram2ubMVmvs3CSNvZri1nY,45
|
679
|
+
scout_browser-4.89.2.dist-info/top_level.txt,sha256=qM75h71bztMaLYsxn1up4c_n2rjc_ZnyaW6Q0K5uOXc,6
|
680
|
+
scout_browser-4.89.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|