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

How to connect 2 atoms from different residues. #1131

Open
kalraUtkarsh opened this issue May 16, 2024 · 1 comment
Open

How to connect 2 atoms from different residues. #1131

kalraUtkarsh opened this issue May 16, 2024 · 1 comment
Labels
question Further information is requested

Comments

@kalraUtkarsh
Copy link

I want to connect two specific atoms in a molecule, and I know which residues and chains they are in. How can I define the type of line (like a dashed blue line) to show this connection?

For example I want to connect O6 of G 24 from chain A and N3 of C 27 from chain B with a dashed line in blue colour.

Please let me know if there are already some examples out there for such things, I tried a lot but couldn't manage to find.

Thank You

@arose arose added the question Further information is requested label May 17, 2024
@arose
Copy link
Member

arose commented May 17, 2024

There is no "easy", readily available solution. Look at the measurement representation for an approach (e.g. src\mol-repr\shape\loci\distance.ts).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants