protvista-uniprot 4.2.0 → 4.2.1
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.
- package/README.md +6 -0
- package/dist/protvista-uniprot.mjs +113 -100
- package/dist/protvista-uniprot.mjs.map +1 -1
- package/dist/types/adapters/types/interpro.d.ts +1 -1
- package/dist/types/index.d.ts +3 -3
- package/dist/types/tooltips/interpro-tooltip.d.ts +3 -0
- package/dist/types/tooltips/{ptmTooltip.d.ts → ptm-tooltip.d.ts} +1 -1
- package/package.json +1 -1
- package/src/adapters/feature-adapter.ts +1 -1
- package/src/adapters/interpro-adapter.ts +21 -42
- package/src/adapters/proteomics-adapter.ts +5 -2
- package/src/adapters/ptm-exchange-adapter.ts +7 -2
- package/src/adapters/rna-editing-adapter.ts +1 -1
- package/src/adapters/structure-adapter.ts +1 -1
- package/src/adapters/types/interpro.ts +1 -1
- package/src/adapters/variation-adapter.ts +1 -1
- package/src/index.ts +3 -3
- package/src/tooltips/{featureTooltip.ts → feature-tooltip.ts} +1 -1
- package/src/tooltips/interpro-tooltip.ts +43 -0
- package/src/tooltips/{ptmTooltip.ts → ptm-tooltip.ts} +6 -1
- package/src/tooltips/{variationTooltip.ts → variation-tooltip.ts} +1 -1
- /package/dist/types/tooltips/{featureTooltip.d.ts → feature-tooltip.d.ts} +0 -0
- /package/dist/types/tooltips/{rnaEditingTooltip.d.ts → rna-editing-tooltip.d.ts} +0 -0
- /package/dist/types/tooltips/{structureTooltip.d.ts → structure-tooltip.d.ts} +0 -0
- /package/dist/types/tooltips/{variationTooltip.d.ts → variation-tooltip.d.ts} +0 -0
- /package/src/tooltips/{rnaEditingTooltip.ts → rna-editing-tooltip.ts} +0 -0
- /package/src/tooltips/{structureTooltip.ts → structure-tooltip.ts} +0 -0
package/README.md
CHANGED
|
@@ -234,27 +234,28 @@ const km = {
|
|
|
234
234
|
}, GEe = (e) => {
|
|
235
235
|
const t = e.toUpperCase();
|
|
236
236
|
return t in ise ? ise[t] : (console.error(`${t} not a valid amino acid for SUMOylation`), "");
|
|
237
|
-
}, gHe = (e, t, n) => {
|
|
238
|
-
const
|
|
239
|
-
...
|
|
240
|
-
({ dbReferences:
|
|
237
|
+
}, gHe = (e, t, n, r) => {
|
|
238
|
+
const i = [
|
|
239
|
+
...t.flatMap(
|
|
240
|
+
({ dbReferences: s }) => s?.flatMap(({ id: u }) => [u])
|
|
241
241
|
)
|
|
242
242
|
];
|
|
243
|
-
let
|
|
244
|
-
const
|
|
245
|
-
return
|
|
243
|
+
let a;
|
|
244
|
+
const o = new Set(t.flatMap(({ name: s }) => s));
|
|
245
|
+
return o.size && (o.size > 1 ? console.error(
|
|
246
246
|
`PTMeXchange PTM has a mixture of modifications: ${Array.from(
|
|
247
|
-
|
|
247
|
+
o
|
|
248
248
|
)}`
|
|
249
|
-
) : [
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
${`<h5
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
249
|
+
) : [a] = o), `
|
|
250
|
+
${e ? `<h4>${e}</h4><hr />` : ""}
|
|
251
|
+
<h5>Description</h5><p>${a === "Phosphorylation" ? HEe(n) : GEe(n)}</p>
|
|
252
|
+
${r ? `<h5 data-article-id="mod_res_large_scale#confidence-score">Confidence Score</h5><p>${r}</p>` : ""}
|
|
253
|
+
${`<h5>Evidence</h5><ul class="no-bullet">${i.map((s) => {
|
|
254
|
+
const u = s === "Glue project" ? "PXD012174" : s;
|
|
255
|
+
return `<li title='${u}' style="padding: .25rem 0">${u}
|
|
256
|
+
(<a href="https://proteomecentral.proteomexchange.org/dataset/${u}" style="color:#FFF" target="_blank">ProteomeXchange</a>)
|
|
256
257
|
</li>
|
|
257
|
-
${
|
|
258
|
+
${s === "Glue project" ? '<li title="publication" style="padding: .25rem 0">Publication: 31819260 (<a href="https://pubmed.ncbi.nlm.nih.gov/31819260" style="color:#FFF" target="_blank">PubMed</a>)</li>' : ""}
|
|
258
259
|
`;
|
|
259
260
|
}).join("")}</ul>`}`;
|
|
260
261
|
}, yHe = {
|
|
@@ -97608,7 +97609,10 @@ const JFt = (e) => {
|
|
|
97608
97609
|
a,
|
|
97609
97610
|
UEe(a, e.taxid)
|
|
97610
97611
|
);
|
|
97611
|
-
}, []) : t = e.features.map((r) => Object.assign(
|
|
97612
|
+
}, []) : t = e.features.map((r) => Object.assign(
|
|
97613
|
+
r,
|
|
97614
|
+
UEe(r, e.taxid)
|
|
97615
|
+
)), t = M7e(t);
|
|
97612
97616
|
}
|
|
97613
97617
|
return t;
|
|
97614
97618
|
}, tLt = "PDBE_COVER", nLt = "STRUCTURE_COVERAGE", rLt = (e) => e.charAt(0).toUpperCase() + e.slice(1), iLt = (e) => Object.keys(e).reduce(
|
|
@@ -97949,58 +97953,62 @@ class yLt {
|
|
|
97949
97953
|
return mLt(n);
|
|
97950
97954
|
}
|
|
97951
97955
|
}
|
|
97952
|
-
const vLt =
|
|
97953
|
-
|
|
97954
|
-
saturation: [0.65, 0.35, 0.5],
|
|
97955
|
-
lightness: [0.65, 0.35, 0.5]
|
|
97956
|
-
}), bLt = (e) => {
|
|
97957
|
-
try {
|
|
97958
|
-
return e?.results?.map(({ metadata: t, proteins: n }) => ({
|
|
97959
|
-
...t,
|
|
97960
|
-
locations: n[0].entry_protein_locations,
|
|
97961
|
-
start: n[0].entry_protein_locations ? Math.min(
|
|
97962
|
-
...n[0].entry_protein_locations.map(
|
|
97963
|
-
(r) => Math.min(...r.fragments.map((i) => i.start))
|
|
97964
|
-
)
|
|
97965
|
-
) : "",
|
|
97966
|
-
end: n[0].entry_protein_locations ? Math.max(
|
|
97967
|
-
...n[0].entry_protein_locations?.map(
|
|
97968
|
-
(r) => Math.max(...r.fragments.map((i) => i.end))
|
|
97969
|
-
)
|
|
97970
|
-
) : "",
|
|
97971
|
-
color: vLt.hex(
|
|
97972
|
-
t.accession.toLowerCase().split("").reverse().join("")
|
|
97973
|
-
),
|
|
97974
|
-
tooltipContent: `
|
|
97956
|
+
const vLt = (e, t, n) => `
|
|
97957
|
+
${e && t ? `<h4>InterPro Representative Domain ${e}-${t}</h4><hr />` : ""}
|
|
97975
97958
|
<h5>Accession</h5>
|
|
97976
97959
|
<p>
|
|
97977
97960
|
<a
|
|
97978
97961
|
target="_blank"
|
|
97979
97962
|
rel="noopener"
|
|
97980
|
-
href="https://www.ebi.ac.uk/interpro/entry/${
|
|
97963
|
+
href="https://www.ebi.ac.uk/interpro/entry/${n.source_database}/${n.accession}/"
|
|
97981
97964
|
>
|
|
97982
|
-
${
|
|
97965
|
+
${n.accession}
|
|
97983
97966
|
</a>
|
|
97984
97967
|
</p>
|
|
97985
97968
|
<h5>Name</h5>
|
|
97986
|
-
<p>${
|
|
97987
|
-
${
|
|
97969
|
+
<p>${n.name}</p>
|
|
97970
|
+
${n.integrated ? `<h5>Integrated into </h5>
|
|
97988
97971
|
<p>
|
|
97989
97972
|
<a
|
|
97990
97973
|
target="_blank"
|
|
97991
97974
|
rel="noopener"
|
|
97992
|
-
href="https://www.ebi.ac.uk/interpro/entry/InterPro/${
|
|
97975
|
+
href="https://www.ebi.ac.uk/interpro/entry/InterPro/${n.integrated}/"
|
|
97993
97976
|
>
|
|
97994
|
-
${
|
|
97977
|
+
${n.integrated}
|
|
97995
97978
|
</a>
|
|
97996
97979
|
</p>` : ""}
|
|
97997
|
-
`,
|
|
97998
|
-
|
|
97999
|
-
|
|
97980
|
+
`, bLt = new yLt({
|
|
97981
|
+
hash: "bkdr",
|
|
97982
|
+
saturation: [0.65, 0.35, 0.5],
|
|
97983
|
+
lightness: [0.65, 0.35, 0.5]
|
|
97984
|
+
}), _Lt = (e) => {
|
|
97985
|
+
try {
|
|
97986
|
+
return e?.results?.map(({ metadata: t, proteins: n }) => {
|
|
97987
|
+
const r = n[0].entry_protein_locations ? Math.min(
|
|
97988
|
+
...n[0].entry_protein_locations.map(
|
|
97989
|
+
(a) => Math.min(...a.fragments.map((o) => o.start))
|
|
97990
|
+
)
|
|
97991
|
+
) : "", i = n[0].entry_protein_locations ? Math.max(
|
|
97992
|
+
...n[0].entry_protein_locations?.map(
|
|
97993
|
+
(a) => Math.max(...a.fragments.map((o) => o.end))
|
|
97994
|
+
)
|
|
97995
|
+
) : "";
|
|
97996
|
+
return {
|
|
97997
|
+
...t,
|
|
97998
|
+
locations: n[0].entry_protein_locations,
|
|
97999
|
+
start: r,
|
|
98000
|
+
end: i,
|
|
98001
|
+
color: bLt.hex(
|
|
98002
|
+
t.accession.toLowerCase().split("").reverse().join("")
|
|
98003
|
+
),
|
|
98004
|
+
tooltipContent: vLt(r, i, t),
|
|
98005
|
+
length: n[0].protein_length
|
|
98006
|
+
};
|
|
98007
|
+
});
|
|
98000
98008
|
} catch {
|
|
98001
98009
|
throw new Error("Failed transforming the data");
|
|
98002
98010
|
}
|
|
98003
|
-
},
|
|
98011
|
+
}, xLt = (e) => {
|
|
98004
98012
|
if (e.sequence && e.features.length) {
|
|
98005
98013
|
const t = e.features.map((o) => ({
|
|
98006
98014
|
...o,
|
|
@@ -98036,7 +98044,7 @@ const vLt = new yLt({
|
|
|
98036
98044
|
}
|
|
98037
98045
|
];
|
|
98038
98046
|
}
|
|
98039
|
-
},
|
|
98047
|
+
}, wLt = (e) => {
|
|
98040
98048
|
if (e.sequence && e.features.length) {
|
|
98041
98049
|
const t = new Uint8ClampedArray(e.sequence.length), n = new Uint8ClampedArray(e.sequence.length), r = new Uint8ClampedArray(e.sequence.length);
|
|
98042
98050
|
for (const o of e.features) {
|
|
@@ -98065,19 +98073,19 @@ const vLt = new yLt({
|
|
|
98065
98073
|
// },
|
|
98066
98074
|
];
|
|
98067
98075
|
}
|
|
98068
|
-
},
|
|
98069
|
-
const t = [], n =
|
|
98076
|
+
}, SLt = (e) => e.dbReferenceType.find((t) => t.type === "rna_editing")?.id, ALt = (e) => `http://srv00.recas.ba.infn.it/cgi/atlas/getpage_dev.py?query9=hg&query10=hg38&acc=${e}`, CLt = (e) => `https://www.ensembl.org/id/${e}`, $Lt = (e) => {
|
|
98077
|
+
const t = [], n = SLt(e);
|
|
98070
98078
|
n && t.push(
|
|
98071
|
-
`REDIportal <a href="${
|
|
98079
|
+
`REDIportal <a href="${ALt(
|
|
98072
98080
|
n
|
|
98073
98081
|
)}" target="_blank">${n}</a>`
|
|
98074
98082
|
);
|
|
98075
98083
|
for (const r of e.variantType.variantLocation)
|
|
98076
98084
|
r.source === "Ensembl" && t.push(
|
|
98077
|
-
`Ensembl <a href="${
|
|
98085
|
+
`Ensembl <a href="${CLt(r.seqId)}" target="_blank">${r.seqId}</a>`
|
|
98078
98086
|
);
|
|
98079
98087
|
return t.length === 0 ? "" : `<br><ul class="no-bullet">${t.map((r) => `<li>${r}</li>`).join("")}</ul>`;
|
|
98080
|
-
},
|
|
98088
|
+
}, ELt = (e) => `
|
|
98081
98089
|
${e.start && e.end ? `<h4>RNA Edit ${e.start}-${e.end}</h4><hr />` : ""}
|
|
98082
98090
|
<h5>Variant</h5>
|
|
98083
98091
|
<p>${e.variantType.wildType} > ${e.variantType.mutatedType}</p>
|
|
@@ -98085,8 +98093,8 @@ const vLt = new yLt({
|
|
|
98085
98093
|
<p>${e.consequenceType}</p>
|
|
98086
98094
|
<h5>Location</h5>
|
|
98087
98095
|
<ul class="no-bullet">${e.variantType.genomicLocation.map((t) => `<li>${t}</li>`).join("")}
|
|
98088
|
-
${
|
|
98089
|
-
`,
|
|
98096
|
+
${$Lt(e)}
|
|
98097
|
+
`, TLt = ({
|
|
98090
98098
|
sequence: e,
|
|
98091
98099
|
features: t = []
|
|
98092
98100
|
}) => ({
|
|
@@ -98102,11 +98110,11 @@ const vLt = new yLt({
|
|
|
98102
98110
|
tooltipContent: ""
|
|
98103
98111
|
// Set with transformed feature below,
|
|
98104
98112
|
};
|
|
98105
|
-
return r.tooltipContent =
|
|
98113
|
+
return r.tooltipContent = ELt(r), r;
|
|
98106
98114
|
})
|
|
98107
98115
|
});
|
|
98108
98116
|
var gze = /* @__PURE__ */ ((e) => (e.Gold = "#c39b00", e.Silver = "#8194a1", e.Bronze = "#a65708", e))(gze || {});
|
|
98109
|
-
const
|
|
98117
|
+
const PLt = (e, t, n) => {
|
|
98110
98118
|
const r = new Set(
|
|
98111
98119
|
e.flatMap(
|
|
98112
98120
|
({ dbReferences: a }) => a?.map(({ properties: o }) => o["Confidence score"])
|
|
@@ -98121,10 +98129,15 @@ const TLt = (e, t, n) => {
|
|
|
98121
98129
|
start: n,
|
|
98122
98130
|
end: n,
|
|
98123
98131
|
shape: "triangle",
|
|
98124
|
-
tooltipContent: gHe(
|
|
98132
|
+
tooltipContent: gHe(
|
|
98133
|
+
`MOD_RES_LS ${n}-${n}`,
|
|
98134
|
+
e,
|
|
98135
|
+
t,
|
|
98136
|
+
i
|
|
98137
|
+
),
|
|
98125
98138
|
color: i && gze[i] || "black"
|
|
98126
98139
|
};
|
|
98127
|
-
},
|
|
98140
|
+
}, MLt = (e) => {
|
|
98128
98141
|
if (e) {
|
|
98129
98142
|
const { features: t } = e, n = {};
|
|
98130
98143
|
if (t) {
|
|
@@ -98143,25 +98156,25 @@ const TLt = (e, t, n) => {
|
|
|
98143
98156
|
) : n[a].ptms.push(i) : n[a] = { ptms: [i], aa: o };
|
|
98144
98157
|
}
|
|
98145
98158
|
return Object.entries(n).map(
|
|
98146
|
-
([r, { ptms: i, aa: a }]) =>
|
|
98159
|
+
([r, { ptms: i, aa: a }]) => PLt(i, a, +r)
|
|
98147
98160
|
);
|
|
98148
98161
|
}
|
|
98149
98162
|
}
|
|
98150
98163
|
return [];
|
|
98151
|
-
},
|
|
98164
|
+
}, kLt = (e) => {
|
|
98152
98165
|
const t = e?.[0]?.cifUrl;
|
|
98153
98166
|
return t?.length ? t.replace("-model", "-confidence").replace(".cif", ".json") : null;
|
|
98154
|
-
},
|
|
98167
|
+
}, ILt = async (e) => {
|
|
98155
98168
|
try {
|
|
98156
98169
|
return (await fetch(e)).json();
|
|
98157
98170
|
} catch (t) {
|
|
98158
98171
|
console.error("Could not load AlphaFold confidence", t);
|
|
98159
98172
|
}
|
|
98160
|
-
},
|
|
98161
|
-
const n =
|
|
98173
|
+
}, OLt = async (e, t) => {
|
|
98174
|
+
const n = kLt(e), { uniprotSequence: r } = e?.[0] || {};
|
|
98162
98175
|
if (n && r === t.sequence.sequence)
|
|
98163
|
-
return (await
|
|
98164
|
-
},
|
|
98176
|
+
return (await ILt(n))?.confidenceCategory.join("");
|
|
98177
|
+
}, DLt = 0.34, NLt = 0.564, yze = /\s*\n\s*/, vze = /^(.)(\d+)(.),(.+),(\w+)$/, RLt = (e) => {
|
|
98165
98178
|
const t = [];
|
|
98166
98179
|
for (const [r, i] of e.split(yze).entries()) {
|
|
98167
98180
|
if (r === 0 || !i)
|
|
@@ -98189,21 +98202,21 @@ const TLt = (e, t, n) => {
|
|
|
98189
98202
|
(o, s) => o + +s.pathogenicityScore,
|
|
98190
98203
|
0
|
|
98191
98204
|
) / r.length;
|
|
98192
|
-
a >
|
|
98205
|
+
a > NLt ? i = "P" : a < DLt && (i = "B"), n.push(i);
|
|
98193
98206
|
}
|
|
98194
98207
|
return n.join("");
|
|
98195
|
-
},
|
|
98208
|
+
}, BLt = async (e) => {
|
|
98196
98209
|
try {
|
|
98197
98210
|
const n = await (await fetch(e)).text();
|
|
98198
|
-
return
|
|
98211
|
+
return RLt(n);
|
|
98199
98212
|
} catch (t) {
|
|
98200
98213
|
console.error("Could not load AlphaMissense pathogenicity", t);
|
|
98201
98214
|
}
|
|
98202
|
-
},
|
|
98215
|
+
}, FLt = async (e, t) => {
|
|
98203
98216
|
const { amAnnotationsUrl: n, uniprotSequence: r } = e?.[0] || {};
|
|
98204
98217
|
if (n && r === t.sequence.sequence)
|
|
98205
|
-
return await
|
|
98206
|
-
},
|
|
98218
|
+
return await BLt(n);
|
|
98219
|
+
}, LLt = (e) => {
|
|
98207
98220
|
const t = [];
|
|
98208
98221
|
for (const [n, r] of e.split(yze).entries()) {
|
|
98209
98222
|
if (n === 0 || !r)
|
|
@@ -98216,18 +98229,18 @@ const TLt = (e, t, n) => {
|
|
|
98216
98229
|
});
|
|
98217
98230
|
}
|
|
98218
98231
|
return t;
|
|
98219
|
-
},
|
|
98232
|
+
}, ULt = async (e) => {
|
|
98220
98233
|
try {
|
|
98221
98234
|
const n = await (await fetch(e)).text();
|
|
98222
|
-
return
|
|
98235
|
+
return LLt(n);
|
|
98223
98236
|
} catch (t) {
|
|
98224
98237
|
console.error("Could not load AlphaMissense pathogenicity", t);
|
|
98225
98238
|
}
|
|
98226
|
-
},
|
|
98239
|
+
}, zLt = async (e, t) => {
|
|
98227
98240
|
const { amAnnotationsUrl: n, uniprotSequence: r } = e?.[0] || {};
|
|
98228
98241
|
if (n && r === t.sequence.sequence)
|
|
98229
|
-
return await
|
|
98230
|
-
}, Ld = "https://www.ebi.ac.uk/proteins/api/", zEe = "https://alphafold.ebi.ac.uk/api/",
|
|
98242
|
+
return await ULt(n);
|
|
98243
|
+
}, Ld = "https://www.ebi.ac.uk/proteins/api/", zEe = "https://alphafold.ebi.ac.uk/api/", jLt = "https://alphafold.ebi.ac.uk/entry/", HLt = "https://www.ebi.ac.uk/interpro/api/", Xn = {
|
|
98231
98244
|
proteins: `${Ld}proteins/`,
|
|
98232
98245
|
features: `${Ld}features/`,
|
|
98233
98246
|
variation: `${Ld}variation/`,
|
|
@@ -98237,7 +98250,7 @@ const TLt = (e, t, n) => {
|
|
|
98237
98250
|
nonPtm: `${Ld}proteomics/nonPtm/`,
|
|
98238
98251
|
ptm: `${Ld}proteomics/ptm/`,
|
|
98239
98252
|
hpp: `${Ld}proteomics/hpp/`
|
|
98240
|
-
},
|
|
98253
|
+
}, GLt = {
|
|
98241
98254
|
categories: [
|
|
98242
98255
|
{
|
|
98243
98256
|
name: "MOLECULE_PROCESSING",
|
|
@@ -98480,7 +98493,7 @@ const TLt = (e, t, n) => {
|
|
|
98480
98493
|
data: [
|
|
98481
98494
|
{
|
|
98482
98495
|
adapter: "interpro-adapter",
|
|
98483
|
-
url: `${
|
|
98496
|
+
url: `${HLt}entry/all/protein/uniprot/{accession}?type=domain&page_size=100`
|
|
98484
98497
|
}
|
|
98485
98498
|
],
|
|
98486
98499
|
tooltip: "InterPro representative domains"
|
|
@@ -98939,7 +98952,7 @@ const TLt = (e, t, n) => {
|
|
|
98939
98952
|
{
|
|
98940
98953
|
name: "alphafold_confidence",
|
|
98941
98954
|
label: "AlphaFold Confidence",
|
|
98942
|
-
labelUrl: `${
|
|
98955
|
+
labelUrl: `${jLt}{accession}`,
|
|
98943
98956
|
trackType: "nightingale-colored-sequence",
|
|
98944
98957
|
data: [
|
|
98945
98958
|
{
|
|
@@ -99054,7 +99067,7 @@ const TLt = (e, t, n) => {
|
|
|
99054
99067
|
]
|
|
99055
99068
|
}
|
|
99056
99069
|
]
|
|
99057
|
-
},
|
|
99070
|
+
}, VLt = oee`
|
|
99058
99071
|
.track-content {
|
|
99059
99072
|
width: 80vw;
|
|
99060
99073
|
}
|
|
@@ -99141,24 +99154,24 @@ const TLt = (e, t, n) => {
|
|
|
99141
99154
|
cursor: pointer;
|
|
99142
99155
|
}
|
|
99143
99156
|
`;
|
|
99144
|
-
var
|
|
99145
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
99157
|
+
var qLt = Object.defineProperty, WLt = Object.getOwnPropertyDescriptor, XLt = (e, t, n, r) => {
|
|
99158
|
+
for (var i = r > 1 ? void 0 : r ? WLt(t, n) : t, a = e.length - 1, o; a >= 0; a--)
|
|
99146
99159
|
(o = e[a]) && (i = (r ? o(t, n, i) : o(i)) || i);
|
|
99147
|
-
return r && i &&
|
|
99160
|
+
return r && i && qLt(t, n, i), i;
|
|
99148
99161
|
};
|
|
99149
|
-
const
|
|
99162
|
+
const YLt = {
|
|
99150
99163
|
"feature-adapter": JFt,
|
|
99151
|
-
"interpro-adapter":
|
|
99164
|
+
"interpro-adapter": _Lt,
|
|
99152
99165
|
"proteomics-adapter": eLt,
|
|
99153
99166
|
"structure-adapter": uLt,
|
|
99154
99167
|
"variation-adapter": lLt,
|
|
99155
|
-
"variation-graph-adapter":
|
|
99156
|
-
"rna-editing-adapter":
|
|
99157
|
-
"rna-editing-graph-adapter":
|
|
99158
|
-
"proteomics-ptm-adapter":
|
|
99159
|
-
"alphafold-confidence-adapter":
|
|
99160
|
-
"alphamissense-pathogenicity-adapter":
|
|
99161
|
-
"alphamissense-heatmap-adapter":
|
|
99168
|
+
"variation-graph-adapter": xLt,
|
|
99169
|
+
"rna-editing-adapter": TLt,
|
|
99170
|
+
"rna-editing-graph-adapter": wLt,
|
|
99171
|
+
"proteomics-ptm-adapter": MLt,
|
|
99172
|
+
"alphafold-confidence-adapter": OLt,
|
|
99173
|
+
"alphamissense-pathogenicity-adapter": FLt,
|
|
99174
|
+
"alphamissense-heatmap-adapter": zLt
|
|
99162
99175
|
};
|
|
99163
99176
|
let jEe = class extends Vw {
|
|
99164
99177
|
constructor() {
|
|
@@ -99178,7 +99191,7 @@ let jEe = class extends Vw {
|
|
|
99178
99191
|
}
|
|
99179
99192
|
addStyles() {
|
|
99180
99193
|
const e = document.createElement("style");
|
|
99181
|
-
e.innerHTML = `${
|
|
99194
|
+
e.innerHTML = `${VLt.toString()} ${O7e.toString()}`, document.querySelector("head")?.append(e);
|
|
99182
99195
|
}
|
|
99183
99196
|
registerWebComponents() {
|
|
99184
99197
|
qc("nightingale-navigation", FSt), qc("nightingale-track", N9e), qc("nightingale-colored-sequence", GCt), qc("nightingale-interpro-track", CTt), qc("nightingale-sequence", WNe), qc("nightingale-variation", hMt), qc("nightingale-linegraph-track", XIt), qc("nightingale-filter", QFt), qc("nightingale-manager", Z2t), qc("protvista-uniprot-structure", O2t), qc("nightingale-sequence-heatmap", gBt);
|
|
@@ -99201,7 +99214,7 @@ let jEe = class extends Vw {
|
|
|
99201
99214
|
);
|
|
99202
99215
|
if (!d || l === "variation-adapter" && d[0].length === 0)
|
|
99203
99216
|
return;
|
|
99204
|
-
let f = l ? await
|
|
99217
|
+
let f = l ? await YLt[l].apply(null, d) : d;
|
|
99205
99218
|
if (l === "interpro-adapter") {
|
|
99206
99219
|
const p = [];
|
|
99207
99220
|
f?.forEach(
|
|
@@ -99289,7 +99302,7 @@ let jEe = class extends Vw {
|
|
|
99289
99302
|
this._loadDataInComponents();
|
|
99290
99303
|
}
|
|
99291
99304
|
_init() {
|
|
99292
|
-
this.config || (this.config =
|
|
99305
|
+
this.config || (this.config = GLt), this.accession && (this.loadEntry(this.accession).then((e) => {
|
|
99293
99306
|
this.sequence = e.sequence.sequence, this.displayCoordinates = { start: 1, end: this.sequence?.length };
|
|
99294
99307
|
}), this._loadData());
|
|
99295
99308
|
}
|
|
@@ -99608,7 +99621,7 @@ let jEe = class extends Vw {
|
|
|
99608
99621
|
}
|
|
99609
99622
|
}
|
|
99610
99623
|
};
|
|
99611
|
-
jEe =
|
|
99624
|
+
jEe = XLt([
|
|
99612
99625
|
_Te("protvista-uniprot")
|
|
99613
99626
|
], jEe);
|
|
99614
99627
|
export {
|