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

Intrapolymer monomer mixtures are disconnected by the editor #236

Open
ClairePA opened this issue Jan 14, 2019 · 1 comment
Open

Intrapolymer monomer mixtures are disconnected by the editor #236

ClairePA opened this issue Jan 14, 2019 · 1 comment
Assignees

Comments

@ClairePA
Copy link
Collaborator

I want to use the (valid) HELM
PEPTIDE1{A.(A:1+G:2+C:3).G.C}$$$$V2.0 and I expect the webeditor to accept this and for the display to look like this:
image

However, if I type PEPTIDE1{A.(A:1+G:2+C:3).G.C}$$$$V2.0 into the webeditor, bonds are broken between the A and (A:1+G:2+C:3) and between G and (A:1+G:2+C:3) and I see:
image

I can reconnect the bonds, but the HELM generated still contains three separate polymers

PEPTIDE1{(A:1+G:2+C:3)}|PEPTIDE2{A}|PEPTIDE3{G.C}$PEPTIDE2,PEPTIDE1,1:R2-1:?|PEPTIDE3,PEPTIDE1,1:R1-1:?$$$V2.0

The webeditor should accept PEPTIDE1{A.(A:1+G:2+C:3).G.C}$$$$V2.0 and be able to interpret it.

@ClairePA
Copy link
Collaborator Author

This issue is present when the user uses *_ N and X monomers as well as mixtures or alternatives.
I think this has come about because of the need to make sure that explicit bonds have ? as the connection point rather than R1 or R2. There are two situations:

Implicit bonds
These are created when a simple polymer peptide chain is created. This could either be defined within the HELM string or implied by the connection of monomers of the same type on the canvas. In all cases the editor must implicitly assume that the connection is a standard peptide backbone connection for the purposes of joining the monomers together and allow the total to be a simple polymer so examples like notation PEPTIDE1{A.(A:1+G:2+C:3).G.C}$$$$V2.0 are displayed as a single polymer.

Explicit bonds
When there is a connection between simple polymers or to a group then the connection itself is ambiguous and is defined in the notation second section then the connection point must be to ? and R1 and R2 must not be allowed.

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

No branches or pull requests

2 participants