[Chimera-users] pseudobond problem while writing mol2 format
Eric Pettersen
pett at cgl.ucsf.edu
Fri Dec 6 11:26:26 PST 2019
Hi Kiruba,
For each of those pseudobonds, there is a hidden “real” bond. To have the Mol2 file treat the segments as disconnected, the hidden bonds have to be deleted. I have attached a simple Python script that does that. So you would open your PDB file, run the script (simply opening the .py file will run it) and then save your Mol2.
Keep in mind that deleting those hidden bonds will change the corresponding atom types. So for instance the backbone nitrogens will be given the Mol2 type N.4 (appropriate for N-terminal) rather than N.am (appropriate for amide).
—Eric
Eric Pettersen
UCSF Computer Graphics Lab
> On Dec 6, 2019, at 7:43 AM, Palani, Kirubakaran <Kirubakaran.Palani at fccc.edu> wrote:
>
> Hi All,
>
> I have a PDB file and want to convert the PDB to MOL2 format. The PDB has missing residues which is not a problem but when I write to MOL2 format it assigns the pseudobond and I really no need of it. I tried to solve it by checking the thread but I am not getting a clear solution for my problem. Last, I am doing this by using the script as I have >1000 PDBs to process the same way so the command line would be preferred.
>
> PS: I send you the molecule in PDB format as an example case.
>
> Thanks in advance,
> Kiruba
>
>
>
>
> This electronic message is intended to be for the use of the named recipient, and may contain information that is confidential or privileged. This communication may contain protected health information (PHI) that is legally protected from inappropriate disclosure by the Privacy Standards of the Health Insurance Portability and Accountability Act (HIPAA) and relevant Pennsylvania Laws. You can direct questions concerning PHI or HIPAA to the Corporate Compliance and Privacy Officer at (215) 707-5605. If you are not the intended recipient, please note that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this message in error, you should notify the sender immediately by telephone or by return e-mail and delete and destroy all copies of this message.
> <test.pdb>_______________________________________________
> Chimera-users mailing list: Chimera-users at cgl.ucsf.edu <mailto:Chimera-users at cgl.ucsf.edu>
> Manage subscription: http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users <http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20191206/462cb8ef/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: del_long_bonds.py
Type: text/x-python-script
Size: 149 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20191206/462cb8ef/attachment.bin>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20191206/462cb8ef/attachment-0001.html>
More information about the Chimera-users
mailing list