Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ribbon representation in structure viewer #127

Open
Luthaf opened this issue Apr 15, 2021 · 2 comments
Open

Add ribbon representation in structure viewer #127

Luthaf opened this issue Apr 15, 2021 · 2 comments
Labels
component-structure Issues related to the structure viewer component

Comments

@Luthaf
Copy link
Contributor

Luthaf commented Apr 15, 2021

This is a popular representation for bio-molecules, in particular proteins, supported by both JSmol and 3Dmol.js. Two separate people asked for us to support this!

This kind of representation requires some information about the secondary structure, which we would need to add to the input file. I'm not sure which exact information is required to construct the ribbon, I would guess the list and order of alpha carbons in amino-acids? If you have more information on the subject, please let us know!

@Luthaf Luthaf added the component-structure Issues related to the structure viewer component label Apr 15, 2021
@ceriottm
Copy link
Contributor

ceriottm commented Apr 15, 2021 via email

@Luthaf
Copy link
Contributor Author

Luthaf commented Apr 15, 2021

Agreed! I'm opening the issue to keep track of it.

With a bit more research, it looks like we need to have secondary structure assignment for atoms (i.e. is this atom part of an helix, a beta strand, etc.). There is some code to guess the secondary structure in 3Dmol: https://github.com/3dmol/3Dmol.js/blob/17aa414914b0898e4089436524c89cf875505307/3Dmol/parsers.js#L310. Alternatively, we can put this data inside the input JSON, and guess/compute it when generating the JSON file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component-structure Issues related to the structure viewer component
Projects
None yet
Development

No branches or pull requests

2 participants