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

amino acid modification with additional beasd #392

Open
csbrasnett opened this issue Nov 4, 2024 · 2 comments
Open

amino acid modification with additional beasd #392

csbrasnett opened this issue Nov 4, 2024 · 2 comments

Comments

@csbrasnett
Copy link
Collaborator

is it possible to have a modification that adds an additional bead to the given residue? Eg. if we have a phosphoserine, we can't give a single letter aa code in a fasta file, but could use the -mod flag to change, but this would require us to add a second bead to the side chain in addition to the one that's already there. Ideally we'd have something like:

[modification]
pser
[atoms]
BB {resname: "pser", replace :{'resname': ser'}
sc1 {resname: "pser", replace :{'resname': ser'}
sc2 {resname: "pser"}
[links]
sc2 sc1 1 1 1000

but I don't think that's what the syntax would look like

@fgrunewald
Copy link
Member

@csbrasnett in principle it should be possible but there are some caveats. You cannot simply insert a node in a meta-molecule molecule. You'd have to modify the molecule and then rebuild the meta-molecule. But still the new particles would end-up in the end of the itp file unless you reorder the molecule before writing. The GoProcessor in vermouth is an example on how to setup this kind of functionality.

@pckroon how are we doing this in martinize2? I think it is currently not possible.

@pckroon
Copy link
Member

pckroon commented Nov 4, 2024

@pckroon how are we doing this in martinize2? I think it is currently not possible.

Sure it is:

[modification]
pser
[atoms]
BB {"resname": "pser", "replace" : {'resname': ser'}
sc1 {"resname": "pser", "replace": {'resname': ser'}
sc2 {"resname": "pser", "PTM_atom": true, "atype": ...}
[edges]  ; bonds maybe?
sc2 sc1 1 1 1000
BB sc1

Getting coordinates is a separate problem.

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

3 participants