<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Elaine's ideas are definitely the most practical. It is <i class="">possible</i><span style="font-style: normal;" class=""> to add additional residue swap types to Chimera, but I'd say it's somewhat difficult if you are pretty familiar with Python, and crazy hard if you aren't that familiar with Python. The approach would also depend on whether you were actually adding rotamers or just one conformation per residue type. Anyway, if you are a Pythonista and Elaine's recommendations don't cover your needs, I can offer some guidance on what's needed.</span><div class=""><br class=""></div><div class=""><div class="">--Eric</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Eric Pettersen</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>UCSF Computer Graphics Lab</div><div><br class=""><blockquote type="cite" class=""><div class="">On Jun 15, 2022, at 11:07 AM, Elaine Meng via Chimera-users <<a href="mailto:chimera-users@cgl.ucsf.edu" class="">chimera-users@cgl.ucsf.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi Rodrigo,<br class="">It may be difficult to add your own, since it could involve understanding the code and defining multiple rotamers (conformations) of each side chain. The swap commands are especially useful because they help choose among the multiple rotamers. However, here are some other suggestions:<br class=""><br class="">(1) If you get the SwissSidechain plugin for Chimera,<br class=""><<a href="https://swisssidechain.ch/visualization/chimera.php" class="">https://swisssidechain.ch/visualization/chimera.php</a>><br class=""><br class="">... it will allow using a different command "swapnaa" (non-natural amino acids) to substitute any of >200 non-natural amino acids that are in the SwissSidechain database:<br class=""><<a href="https://www.swisssidechain.ch/" class="">https://www.swisssidechain.ch/</a>><br class=""><br class="">Browse that database to see what it includes:<br class=""><<a href="https://swisssidechain.ch/browse.php" class="">https://swisssidechain.ch/browse.php</a>><br class=""><br class="">I'm not aware of any similar capability for nucleotides, however.<br class=""><br class="">(2) if the new residue is similar to a standard residue or one available in the database above (e.g. you just need to add a methyl group or other small substituent, or change the element of an atom), it would be simpler just to change that residue one atom at a time in Chimera with the Build Structure tool (in menu under Tools.. Structure Editing), the Modify Structure section:<br class=""><<a href="https://www.rbvi.ucsf.edu/chimera/docs/ContributedSoftware/editing/editing.html" class="">https://www.rbvi.ucsf.edu/chimera/docs/ContributedSoftware/editing/editing.html</a>><br class=""><<a href="https://www.rbvi.ucsf.edu/chimera/docs/ContributedSoftware/editing/editing.html#modify" class="">https://www.rbvi.ucsf.edu/chimera/docs/ContributedSoftware/editing/editing.html#modify</a>><br class=""><br class="">(3) yet another possibility is if you have a PDB file that contains the nonstandard residue, you could match its backbone onto the position that you want to modify in the original, then save that PDB file relative to the original model, then manually text-edit a copy of the original model PDB file to substitute in the coordinates of the nonstandard residue from the PDB file you just saved. You might need to do some other things like edit residue number and chain. This is not too bad if you are rather familiar with PDB format..<br class=""><<a href="https://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/tutorials/framepdbintro.html" class="">https://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/tutorials/framepdbintro.html</a>><br class=""><<a href="https://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/tutorials/pdbintro.html#coords" class="">https://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/tutorials/pdbintro.html#coords</a>><br class=""><br class="">I hope this helps,<br class="">Elaine<br class="">-----<br class="">Elaine C. Meng, Ph.D. <br class="">UCSF Chimera(X) team<br class="">Department of Pharmaceutical Chemistry<br class="">University of California, San Francisco<br class=""><br class=""><br class=""><blockquote type="cite" class="">On Jun 15, 2022, at 10:19 AM, Rodrigo Galindo-Murillo via Chimera-users <<a href="mailto:chimera-users@cgl.ucsf.edu" class="">chimera-users@cgl.ucsf.edu</a>> wrote:<br class=""><br class="">Hello!<br class="">Is it possible to add new amino acids to the swapaa and new<br class="">nucleotides for the swapna commands?<br class=""><br class="">Thank you!<br class="">Rodrigo.<br class=""></blockquote><br class=""><br class="">_______________________________________________<br class="">Chimera-users mailing list: <a href="mailto:Chimera-users@cgl.ucsf.edu" class="">Chimera-users@cgl.ucsf.edu</a><br class="">Manage subscription: <a href="https://www.rbvi.ucsf.edu/mailman/listinfo/chimera-users" class="">https://www.rbvi.ucsf.edu/mailman/listinfo/chimera-users</a><br class=""></div></div></blockquote></div><br class=""></div></body></html>