dsehnal / LiteMol

A library/plugin for handling 3D structural molecular data (not only) in the browser.
Other
157 stars 38 forks source link

What if I want to highlight an amino acid in a 3D structure? #38

Closed Lukezain closed 5 years ago

Lukezain commented 5 years ago

I want to control, when I click on the name of an amino acid in a drop-down list, it highlights the amino acid on the 3D structure.

dsehnal commented 5 years ago

It is shown how to highlight/select a given residue for example in the Commands [ source | view live ] example.

Do the residues come from an outside list or do you need a list from the structure itself?

Lukezain commented 5 years ago

Thank you for your replay, I think I found a solution.