Hi Anselm,
This makes a lot sense! Thank you!
Yes, this should be the only place the default generated prmtop record some information related to the chain association.
It is still not possible to know the mapping of chain id if the chain id does not start from A or is not continuous. (say the ligand chain is named X)
I plan to adapt David's idea to use the `add_pdb` application from Amber to add those info in using the same dry PDB as used for tleap.
All the Best,
QZ
________________________________
发件人: Dr. Anselm Horn via AMBER <amber.ambermd.org>
发送时间: 2024年1月24日 10:44
收件人: amber.ambermd.org <amber.ambermd.org>
主题: Re: [AMBER] 回复: [Sender Not Verified] Chain info in .prmtop file
Hi Qianzhen,
maybe the conversion program uses the following entry from the top file:
%FLAG ATOMS_PER_MOLECULE
%FORMAT(10I8)
Using those numbers, one could simply run a counter for each molecule
(=chain).
Just a guess...
Best,
Anselm
Bioinformatik | NHR.FAU
Friedrich-Alexander-Universität Erlangen-Nürnberg (FAU)
Germany
On 01/24/2024 05:23 PM, Shao, Qianzhen via AMBER wrote:
> Hi Thomas,
>
> Thanks for sharing!
> Yes, my version of Amber also eraser the chain ids but if I convert the prmtop to a pdb file (say using a made-up inpcrd file with all 0.0) it knows where to add the "TER" mark. I wonder which information in the file lead to that.
>
> All the Best,
> QZ
> ________________________________
> 发件人: Steinbrecher, Thomas <thomas.steinbrecher.roche.com>
> 发送时间: 2024年1月24日 1:23
> 收件人: Shao, Qianzhen <qianzhen.shao.vanderbilt.edu>; AMBER Mailing List <amber.ambermd.org>
> 主题: Re: [Sender Not Verified] [AMBER] Chain info in .prmtop file
>
> 你通常不会收到来自 thomas.steinbrecher.roche.com 的电子邮件。了解这一点为什么很重要<https://aka.ms/LearnAboutSenderIdentification>
> Hi Qianzhen,
>
> time may have proven me wrong here, but in my days of Amber usage long past, this information was not recorded in the prmtop, Amber used to erase chain info and works on a 'list of residues' level only.
>
> Kind Regards,
>
> Thomas
>
>
> On Wed, Jan 24, 2024 at 6:57 AM Shao, Qianzhen via AMBER <amber.ambermd.org<mailto:amber.ambermd.org>> wrote:
> **Warning** The sender address ("Shao, Qianzhen via AMBER" ) can not be verified, sender email address could be spoofed. Please take care to proceed.
> Dear Mailing List,
>
> I'm writing a python parser for .prmtop file right now. I'm having a hard time finding how prmtop record the chain-association for each residue. (i.e.: whether 2 residues are from the same chain)
> I will be grateful if anyone can share some insights.
> Thanks in advance.
>
> All the Best,
> QZ
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org<mailto:AMBER.ambermd.org>
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.ambermd.org%2Fmailman%2Flistinfo%2Famber&data=05%7C02%7Cqianzhen.shao%40vanderbilt.edu%7C75ac8f50cc35405620f708dc1cfbd79e%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C638417115190166307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=eElsZb2cyRX3NSrBQQC1qAX7%2BQG3jYGGnNzhFXxgbN4%3D&reserved=0<http://lists.ambermd.org/mailman/listinfo/amber>
>
>
>
> --
> Dr. Thomas Steinbrecher
> Principal Scientist CADD
>
> Roche Pharma Research and Early Development
> Roche Innovation Center Basel
> F. Hoffmann-La Roche Ltd
> Bldg. 092/3.92
> Grenzacherstrasse 124
> 4070 Basel
> Switzerland
>
> Phone +41 61 682 1319
> mailto: thomas.steinbrecher.roche.com<mailto:thomas.steinbrecher.roche.com>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.ambermd.org%2Fmailman%2Flistinfo%2Famber&data=05%7C02%7Cqianzhen.shao%40vanderbilt.edu%7C75ac8f50cc35405620f708dc1cfbd79e%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C638417115190174517%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=TpmkqQLGtnuz%2FiPPsu5IKgOLy7eQSpt1eG4grbeg4VE%3D&reserved=0<http://lists.ambermd.org/mailman/listinfo/amber>
>
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.ambermd.org%2Fmailman%2Flistinfo%2Famber&data=05%7C02%7Cqianzhen.shao%40vanderbilt.edu%7C75ac8f50cc35405620f708dc1cfbd79e%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C638417115190183125%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=1d%2F7DkwLC24P64HdG2mCVb11bIdvmyea8riA%2BUag3bg%3D&reserved=0<
http://lists.ambermd.org/mailman/listinfo/amber>
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed Jan 24 2024 - 19:00:02 PST