protvista-uniprot 4.5.0 → 4.5.2
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.
|
@@ -326,10 +326,7 @@ const Cm = {
|
|
|
326
326
|
({ dbReferences: a }) => a.map((o) => o.id)
|
|
327
327
|
), n = [...new Set(r.flat())], i = "https://proteomecentral.proteomexchange.org/dataset/";
|
|
328
328
|
return `
|
|
329
|
-
<ul class="no-bullet">${n.map((a) => {
|
|
330
|
-
const o = a === "Glue project" ? "PXD012174" : a;
|
|
331
|
-
return `<li title='${o}'>${o} (<a href="${i}${o}" target="_blank">ProteomeXchange</a>${a === "Glue project" ? ')</li><li title="publication">Publication: 31819260 (<a href="https://pubmed.ncbi.nlm.nih.gov/31819260" target="_blank">PubMed</a>)</li>' : ` <a href="https://db.systemsbiology.net/sbeams/cgi/PeptideAtlas/buildDetails?atlas_build_id=${GBe[t].build}" target="_blank">PeptideAtlas</a>)</li>`}`;
|
|
332
|
-
}).join("")}</ul>
|
|
329
|
+
<ul class="no-bullet">${n.map((a) => `<li title='${a}'>${a} (<a href="${i}${a}" target="_blank">ProteomeXchange</a>${a === "PXD012174" ? ` <a href="https://www.ebi.ac.uk/pride/archive/projects/${a}" target="_blank">PRIDE</a>)</li><li title="publication">Publication: 31819260 (<a href="https://pubmed.ncbi.nlm.nih.gov/31819260" target="_blank">PubMed</a>)</li>` : ` <a href="https://db.systemsbiology.net/sbeams/cgi/PeptideAtlas/buildDetails?atlas_build_id=${GBe[t].build}" target="_blank">PeptideAtlas</a>)</li>`}`).join("")}</ul>
|
|
333
330
|
`;
|
|
334
331
|
}, qBe = (e, t) => {
|
|
335
332
|
if (!t) return "";
|
|
@@ -385,7 +382,7 @@ const Cm = {
|
|
|
385
382
|
${e.unique ? `<h5>Unique</h5><p>${e.unique ? "Yes" : "No"}</p>` : ""}
|
|
386
383
|
${e.xrefs ? `<h5>Cross-references</h5>${IAe(e.xrefs)}` : ""}
|
|
387
384
|
${r ? `<h5>Evidence</h5>${r}` : ""}
|
|
388
|
-
${e.residuesToHighlight && i && !i.includes("
|
|
385
|
+
${e.residuesToHighlight && i && !i.includes("PXD012174") ? `<hr /><h5 class="margin-bottom" data-article-id="mod_res_large_scale#what-is-the-goldsilverbronze-criterion">PTM statistical attributes</h5><ul class="no-bullet">${e.residuesToHighlight.map(
|
|
389
386
|
(o) => o.dbReferences.map(
|
|
390
387
|
(s) => `<li><b>${s.id}</b></li>
|
|
391
388
|
<li class="text-indent-1"><b>${One(
|
|
@@ -94632,23 +94629,24 @@ const C8t = (e, t, r) => {
|
|
|
94632
94629
|
}
|
|
94633
94630
|
}
|
|
94634
94631
|
return [];
|
|
94635
|
-
}, P8t = (e) => {
|
|
94636
|
-
const t = e?.[0]?.cifUrl;
|
|
94637
|
-
return t?.length ? t.replace("-model", "-confidence").replace(".cif", ".json") : null;
|
|
94638
|
-
}, E8t = async (e) => {
|
|
94632
|
+
}, P8t = (e) => e.cifUrl?.replace("-model", "-confidence").replace(".cif", ".json"), E8t = async (e) => {
|
|
94639
94633
|
try {
|
|
94640
94634
|
return (await fetch(e)).json();
|
|
94641
94635
|
} catch (t) {
|
|
94642
94636
|
console.error("Could not load AlphaFold confidence", t);
|
|
94643
94637
|
}
|
|
94644
94638
|
}, M8t = async (e, t) => {
|
|
94645
|
-
const r =
|
|
94646
|
-
|
|
94647
|
-
|
|
94648
|
-
if (
|
|
94649
|
-
|
|
94650
|
-
|
|
94651
|
-
|
|
94639
|
+
const r = e?.filter(
|
|
94640
|
+
({ sequence: n }) => t.sequence.sequence === n
|
|
94641
|
+
);
|
|
94642
|
+
if (r.length === 1) {
|
|
94643
|
+
const n = P8t(
|
|
94644
|
+
r[0]
|
|
94645
|
+
);
|
|
94646
|
+
return n ? (await E8t(n))?.confidenceCategory.join("") : void 0;
|
|
94647
|
+
} else r.length > 1 && console.warn(
|
|
94648
|
+
`Found more than one matches (${r.length}) for AlphaFold confidence adapter against protein sequence: ${t.sequence}`
|
|
94649
|
+
);
|
|
94652
94650
|
}, $8t = 0, yAe = 0.1132, bAe = 0.2264, _Ae = 0.3395, xAe = 0.4527, wAe = 0.5895, SAe = 0.7264, AAe = 0.8632, k8t = 1, z9e = /\s*\n\s*/, G9e = /^(.)(\d+)(.),(.+),(\w+)$/, I8t = [
|
|
94653
94651
|
{ min: $8t, max: yAe, code: "H" },
|
|
94654
94652
|
{ min: yAe, max: bAe, code: "V" },
|