i-VRESSE / haddock3-analysis-components

Components to be used by analyse command of haddock3
Apache License 2.0
0 stars 0 forks source link

Render non-proteins #9

Closed sverhoeven closed 7 months ago

sverhoeven commented 11 months ago

In the structure viewers everything is rendered as cartoon, see https://github.com/i-VRESSE/haddock3-analysis-components/blob/88b5f068de397b00dd0339dda06c0b0ac730a48f/src/components/NglViewer/NglViewer.tsx#L35

This is fine if you only have proteins, but small molecues are not rendered at all.

It would be nice if

  1. proteins are rendered as cartoons
  2. non-proteins are rendered as stick

Even nicer would be to have options to set how each chain is rendered.