Skip to content

Commit

Permalink
RO-4202: tweak carbohydrate visuals
Browse files Browse the repository at this point in the history
  • Loading branch information
sbittrich committed Feb 28, 2024
1 parent bf22d24 commit e4c0b77
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions src/viewer/helpers/selection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
Expand Down
14 changes: 14 additions & 0 deletions src/viewer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,20 @@ <h2> RCSB PDB Mol* Viewer - Test Page</h2>
}
}
},
{
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',
Expand Down

0 comments on commit e4c0b77

Please sign in to comment.