protvista-uniprot 2.10.14 → 2.11.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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "protvista-uniprot",
|
|
3
3
|
"description": "ProtVista tool for the UniProt website",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.11.1",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
7
7
|
"src"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"protvista-datatable": "3.8.10",
|
|
34
34
|
"protvista-feature-adapter": "3.8.13",
|
|
35
35
|
"protvista-filter": "3.8.4",
|
|
36
|
-
"protvista-interpro-adapter": "3.8.
|
|
36
|
+
"protvista-interpro-adapter": "3.8.14",
|
|
37
37
|
"protvista-interpro-track": "3.8.13",
|
|
38
38
|
"protvista-manager": "3.8.4",
|
|
39
39
|
"protvista-navigation": "3.8.10",
|
package/src/protvista-uniprot.ts
CHANGED
|
@@ -230,22 +230,20 @@ class ProtvistaUniprot extends LitElement {
|
|
|
230
230
|
|
|
231
231
|
if (adapter === 'protvista-interpro-adapter') {
|
|
232
232
|
const representativeDomains = [];
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
});
|
|
244
|
-
}
|
|
233
|
+
transformedData?.forEach(feature => {
|
|
234
|
+
feature.locations?.forEach(location => {
|
|
235
|
+
location.fragments?.forEach(fragment => {
|
|
236
|
+
if (fragment.representative) {
|
|
237
|
+
representativeDomains.push({
|
|
238
|
+
...feature,
|
|
239
|
+
type: 'InterPro Representative Domain',
|
|
240
|
+
start: fragment.start,
|
|
241
|
+
end: fragment.end,
|
|
242
|
+
});
|
|
245
243
|
}
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
}
|
|
244
|
+
});
|
|
245
|
+
});
|
|
246
|
+
});
|
|
249
247
|
transformedData = representativeDomains;
|
|
250
248
|
}
|
|
251
249
|
|
|
@@ -714,7 +712,6 @@ class ProtvistaUniprot extends LitElement {
|
|
|
714
712
|
displayend="${this.displayCoordinates?.end}"
|
|
715
713
|
id="track-${id}"
|
|
716
714
|
no-scroll
|
|
717
|
-
|
|
718
715
|
>
|
|
719
716
|
</protvista-interpro-track>
|
|
720
717
|
`;
|