From e4c0b77c6d731f6b6a9b33faa8c418bb39214993 Mon Sep 17 00:00:00 2001 From: Sebastian Bittrich Date: Wed, 28 Feb 2024 13:08:52 -0800 Subject: [PATCH] RO-4202: tweak carbohydrate visuals --- CHANGELOG.md | 4 ++++ src/viewer/helpers/selection.ts | 7 +++++++ src/viewer/index.html | 14 ++++++++++++++ 3 files changed, 25 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 18444e2..3ddc933 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ [Semantic Versioning](https://semver.org/) +## [2.9.3] - 2024-02-28 +### General +- Adjust superimpose/motif visuals to include ball-and-stick representation of carbohydrates (RO-4202) + ## [2.9.2] - 2024-02-26 ### General - Dependency update to Mol* v4 diff --git a/src/viewer/helpers/selection.ts b/src/viewer/helpers/selection.ts index 4977a90..9d64cb3 100644 --- a/src/viewer/helpers/selection.ts +++ b/src/viewer/helpers/selection.ts @@ -153,6 +153,13 @@ export function createSelectionExpressions(labelBase: string, selection?: Target type: 'ball-and-stick', tag: 'ion' }, + { + expression: Q.branched.expression, + label: `${labelBase} - Carbohydrates`, + type: 'ball-and-stick', + tag: 'branched-ball-and-stick', + alpha: 0.3 + }, { expression: Q.branched.expression, label: `${labelBase} - Carbohydrates`, diff --git a/src/viewer/index.html b/src/viewer/index.html index 301bf40..a95774e 100644 --- a/src/viewer/index.html +++ b/src/viewer/index.html @@ -610,6 +610,20 @@

RCSB PDB Mol* Viewer - Test Page

} } }, + { + id: '3IDH', + info: 'motif + carbo: Human pancreatic glucokinase in complex with glucose', + config: { + props: { + kind: 'motif', + assemblyId: '1', + targets: [ + { labelAsymId: 'A', labelSeqId: 174 }, + { labelAsymId: 'A', labelSeqId: 210 } + ], + } + } + }, { id: 'AF-Q8W3K0-F1', url: 'https://alphafold.ebi.ac.uk/files/AF-Q8W3K0-F1-model_v4.cif',