protvista-uniprot 4.5.1 → 4.5.3
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/package.json
CHANGED
|
@@ -311,7 +311,7 @@ class ProtvistaUniprotStructure extends LitElement {
|
|
|
311
311
|
const alphaFoldSequenceMatch = rawData[alphaFoldUrl]?.filter(
|
|
312
312
|
({ sequence }) => rawData[pdbUrl].sequence?.value === sequence
|
|
313
313
|
);
|
|
314
|
-
if (alphaFoldSequenceMatch
|
|
314
|
+
if (alphaFoldSequenceMatch?.length) {
|
|
315
315
|
afData = processAFData(alphaFoldSequenceMatch);
|
|
316
316
|
this.alphamissenseAvailable = alphaFoldSequenceMatch.some(
|
|
317
317
|
(data) => data.amAnnotationsUrl
|
|
@@ -65,16 +65,15 @@ const getPTMEvidence = (ptms, taxId) => {
|
|
|
65
65
|
dbReferences.map((ref) => ref.id)
|
|
66
66
|
);
|
|
67
67
|
const uniqueIds = [...new Set(ids.flat())];
|
|
68
|
-
//
|
|
68
|
+
// For 'Glue project' dataset (PXD012174), publication reference is hardcoded.
|
|
69
69
|
const proteomexchange =
|
|
70
70
|
'https://proteomecentral.proteomexchange.org/dataset/';
|
|
71
71
|
return `
|
|
72
72
|
<ul class="no-bullet">${uniqueIds
|
|
73
73
|
.map((id) => {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
? `)</li><li title="publication">Publication: 31819260 (<a href="https://pubmed.ncbi.nlm.nih.gov/31819260" target="_blank">PubMed</a>)</li>`
|
|
74
|
+
return `<li title='${id}'>${id} (<a href="${proteomexchange}${id}" target="_blank">ProteomeXchange</a>${
|
|
75
|
+
id === 'PXD012174'
|
|
76
|
+
? ` <a href="https://www.ebi.ac.uk/pride/archive/projects/${id}" target="_blank">PRIDE</a>)</li><li title="publication">Publication: 31819260 (<a href="https://pubmed.ncbi.nlm.nih.gov/31819260" target="_blank">PubMed</a>)</li>`
|
|
78
77
|
: ` <a href="https://db.systemsbiology.net/sbeams/cgi/PeptideAtlas/buildDetails?atlas_build_id=${taxIdToPeptideAtlasBuildData[taxId].build}" target="_blank">PeptideAtlas</a>)</li>`
|
|
79
78
|
}`;
|
|
80
79
|
})
|
|
@@ -202,7 +201,7 @@ const formatTooltip = (feature, taxId?: string) => {
|
|
|
202
201
|
${
|
|
203
202
|
feature.residuesToHighlight &&
|
|
204
203
|
dataset &&
|
|
205
|
-
!dataset.includes('Glue project'
|
|
204
|
+
!dataset.includes('PXD012174') // Exclude 'Glue project' dataset as it is from PRIDE and it doesn't have PTM statistical attributes
|
|
206
205
|
? `<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">${feature.residuesToHighlight
|
|
207
206
|
.map((ptm) =>
|
|
208
207
|
ptm.dbReferences
|