Open Tangbbmc opened 1 month ago
Yes, you can just use the command unigbsa-md
to do that, here is an example:
unigbsa-md -p 1ceb_protein.pdb -l 1ceb_ligand.sdf -pf amber99sb -lf gaff -bt cubic -d 1.0 -conc 0.15 -o md-100ns -nsteps 50000000 -nframe 10000 -nt 16
Great! Thank you very much for your reply! I love your software very much! However, I have some questions. The command unigbsa-md did not mention water model. Which water model will be selected for md simulation? Except for amber99sb force field for protein and -gaff force field for ligand, can I select other force fields for protein and ligand? I have installed GPU version of Gromac2024 on Ubuntu system? I hope that unigbsa invokes Gromacs2024 to speed simulation. What should I do? Finally, I run the following command based on your provided example, however some error happened. Could you give me some suggestions to solve this question? I am looking forward to your reply as soon as possible!
(gbsa) @.***:~/Final_NADP$ unigbsa-md -p com_rep.pdb -l final_NAP.mol2 -pf amber99sb -lf gaff -bt cubic -d 1.0 -conc 0.15 -o md-50ns -nsteps 25000000 -nframe 500 -nt 30 10/18/2024 23:08:30 PM - INFO - Build ligand topology: final_NAP. 10/18/2024 23:08:32 PM - INFO - Building simulation for: final_NAP. gmx mdrun -v -deffnm nvt -nt 30 -ntmpi 1 bonds that rotated more than 30 degrees: atom 1 atom 2 angle previous, current, constraint length 3 32 90.0 0.3281 0.2211 0.0973 1 16 67.6 0.0973 0.0973 0.0973 2 20 90.0 0.1290 0.1202 0.0973 Wrote pdb files with previous and current coordinates
Step 169, time 0.338 (ps) LINCS WARNING relative constraint deviation after LINCS: rms 0.045649, max 2.363351 (between atoms 3 and 32) bonds that rotated more than 30 degrees: atom 1 atom 2 angle previous, current, constraint length 3 32 90.0 0.2211 0.3273 0.0973 1 16 75.6 0.0973 0.0973 0.0973 2 20 90.0 0.1202 0.1286 0.0973 Wrote pdb files with previous and current coordinates
Step 170, time 0.34 (ps) LINCS WARNING relative constraint deviation after LINCS: rms 0.026447, max 1.358207 (between atoms 3 and 32) bonds that rotated more than 30 degrees: atom 1 atom 2 angle previous, current, constraint length 3 32 90.0 0.3273 0.2295 0.0973 1 16 63.6 0.0973 0.0973 0.0973 2 20 90.0 0.1286 0.1221 0.0973 Wrote pdb files with previous and current coordinates
Step 171, time 0.342 (ps) LINCS WARNING relative constraint deviation after LINCS: rms 0.157090, max 8.201681 (between atoms 3 and 32) bonds that rotated more than 30 degrees: atom 1 atom 2 angle previous, current, constraint length 3 32 90.0 0.2295 0.8953 0.0973 1 16 71.7 0.0973 0.0973 0.0973 2 20 90.0 0.1221 0.1282 0.0973 Wrote pdb files with previous and current coordinates
Step 172, time 0.344 (ps) LINCS WARNING relative constraint deviation after LINCS: rms 32.763947, max 1711.896606 (between atoms 3 and 32) bonds that rotated more than 30 degrees: atom 1 atom 2 angle previous, current, constraint length 3 32 122.9 0.8953 166.6649 0.0973 1 16 69.3 0.0973 0.0973 0.0973 2 20 90.0 0.1282 0.1232 0.0973
step 172: One or more water molecules can not be settled.
Check for bad contacts and/or reduce the timestep if appropriate.
Wrote pdb files with previous and current coordinates
Segmentation fault (core dumped)
Traceback (most recent call last):
File "/home/dell/anaconda3/envs/gbsa/bin/unigbsa-md", line 8, in
唐王刚 Wanggang Tang 博士 副教授 Ph.D. Associate Professor Address: No. 2600, Donghai Avenue. Bengbu, Anhui, China Alternative email address: @.*** Institution homepage: https://www.bbmc.edu.cn/
发件人:Maohua Yang @.> 发送日期:2024-10-16 18:07:45 收件人:dptech-corp/Uni-GBSA @.> 抄送人:Wanggang @.>,Author @.> 主题:Re: [dptech-corp/Uni-GBSA] I would like to simplify the file preparation for MD with unigbsa. What should I do? (Issue #56)
Yes, you can just use the command unigbsa-md to do that, here is an example: unigbsa-md -p 1ceb_protein.pdb -l 1ceb_ligand.sdf -pf amber99sb -lf gaff -bt cubic -d 1.0 -conc 0.15 -o md-100ns -nsteps 50000000 -nframe 10000 -nt 16 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
By default, Uni-GBSA use the TIP3P water model.
You can choose any protein forcefield in your gromacs. But you need to use the correct protein forcefile name in your gromacs ***/share/gromacs/top
path. We recomand you choose the AMBER forcefield for protein cause we just support gaff/gaff2 forcefield for ligands.
If you want to use the Gromacs installed by yourself. You need to remove the gromacs installed by conda by command conda uninstall gromacs
. And then load the Gromacs2024 by source the GMXRC.bash file: source /xxx/gmx2024/bin/GMXRC.bash
As for your error, it seems your structure have some clash problem. You need to check if your structure has serious crashes
I am very pleased to receive your reply. If I use Gromacs (gpu version) installed by myself to execute unigbsa-md, can I use gpu acceleration of gromacs? Moreover, could I simulate antibody-antigen complex using unigbsa-md? I am looking forward to your reply as soon as possible!
From: Maohua Yang @.> Date: 2024-10-25 16:49:18 To: dptech-corp/Uni-GBSA @.> Cc: Wanggang @.>,Author @.> Subject: Re: [dptech-corp/Uni-GBSA] I would like to simplify the file preparation for MD with unigbsa. What should I do? (Issue #56)
By default, Uni-GBSA use the TIP3P water model. You can choose any protein forcefield in your gromacs. But you need to use the correct protein forcefile name in your gromacs /share/gromacs/top path. We recomand you choose the AMBER forcefield for protein cause we just support gaff/gaff2 forcefield for ligands. image.png (view on web) If you want to use the Gromacs installed by yourself. You need to remove the gromacs installed by conda by command conda uninstall gromacs. And then load the Gromacs2024 by source the GMXRC.bash file: source /xxx/gmx2024/bin/GMXRC.bash As for your error, it seems your structure have some clash problem. You need to check if your structure has serious crashes — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>
I forgot to answer another question. If the modelled structure that has crashes, how do I solve or repair this question?
---- Replied Message ---- From Maohua @.> Date 10/25/2024 16:49 To @.> Cc @.>@.> Subject Re: [dptech-corp/Uni-GBSA] I would like to simplify the file preparation for MD with unigbsa. What should I do? (Issue #56)
By default, Uni-GBSA use the TIP3P water model. You can choose any protein forcefield in your gromacs. But you need to use the correct protein forcefile name in your gromacs /share/gromacs/top path. We recomand you choose the AMBER forcefield for protein cause we just support gaff/gaff2 forcefield for ligands. image.png (view on web) If you want to use the Gromacs installed by yourself. You need to remove the gromacs installed by conda by command conda uninstall gromacs. And then load the Gromacs2024 by source the GMXRC.bash file: source /xxx/gmx2024/bin/GMXRC.bash As for your error, it seems your structure have some clash problem. You need to check if your structure has serious crashes — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>
Yes, in that way. You can use the GPU accelerated gromacs. Unigbsa version 0.1.7 support protein protein complex simulation, so you can try it by setting the -lf parameter with a pdb file of antigen and setting the -pf parameter with a pdb file of antibody.
在 2024年10月25日,20:58,Wanggang @.***> 写道:
I forgot to answer another question. If the modelled structure that has crashes, how do I solve or repair this question?
---- Replied Message ---- From Maohua @.> Date 10/25/2024 16:49 To @.> Cc @.>@.> Subject Re: [dptech-corp/Uni-GBSA] I would like to simplify the file preparation for MD with unigbsa. What should I do? (Issue #56)
By default, Uni-GBSA use the TIP3P water model. You can choose any protein forcefield in your gromacs. But you need to use the correct protein forcefile name in your gromacs /share/gromacs/top path. We recomand you choose the AMBER forcefield for protein cause we just support gaff/gaff2 forcefield for ligands. image.png (view on web) If you want to use the Gromacs installed by yourself. You need to remove the gromacs installed by conda by command conda uninstall gromacs. And then load the Gromacs2024 by source the GMXRC.bash file: source /xxx/gmx2024/bin/GMXRC.bash As for your error, it seems your structure have some clash problem. You need to check if your structure has serious crashes — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>
— Reply to this email directly, view it on GitHubhttps://github.com/dptech-corp/Uni-GBSA/issues/56#issuecomment-2437710864, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEJVPI3V4ETLQTC4ZOK2XBTZ5I565AVCNFSM6AAAAABPNL6N2SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZXG4YTAOBWGQ. You are receiving this because you commented.Message ID: @.***>
OK. When I hope unigbasa to run the GPU accelerated gromacs, do I need to add "-nb gpu" flag when executing unigbsa-md command?
发件人:Maohua Yang @.> 发送日期:2024-10-25 21:33:13 收件人:dptech-corp/Uni-GBSA @.> 抄送人:Wanggang @.>,Author @.> 主题:Re: [dptech-corp/Uni-GBSA] I would like to simplify the file preparation for MD with unigbsa. What should I do? (Issue #56)
Yes, in that way. You can use the GPU accelerated gromacs. Unigbsa version 0.1.7 support protein protein complex simulation, so you can try it by setting the -lf parameter with a pdb file of antigen and setting the -pf parameter with a pdb file of antibody.
在 2024年10月25日,20:58,Wanggang @.***> 写道:
I forgot to answer another question. If the modelled structure that has crashes, how do I solve or repair this question?
---- Replied Message ---- From Maohua @.> Date 10/25/2024 16:49 To @.> Cc @.>@.> Subject Re: [dptech-corp/Uni-GBSA] I would like to simplify the file preparation for MD with unigbsa. What should I do? (Issue #56)
By default, Uni-GBSA use the TIP3P water model. You can choose any protein forcefield in your gromacs. But you need to use the correct protein forcefile name in your gromacs /share/gromacs/top path. We recomand you choose the AMBER forcefield for protein cause we just support gaff/gaff2 forcefield for ligands. image.png (view on web) If you want to use the Gromacs installed by yourself. You need to remove the gromacs installed by conda by command conda uninstall gromacs. And then load the Gromacs2024 by source the GMXRC.bash file: source /xxx/gmx2024/bin/GMXRC.bash As for your error, it seems your structure have some clash problem. You need to check if your structure has serious crashes — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>
— Reply to this email directly, view it on GitHubhttps://github.com/dptech-corp/Uni-GBSA/issues/56#issuecomment-2437710864, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEJVPI3V4ETLQTC4ZOK2XBTZ5I565AVCNFSM6AAAAABPNL6N2SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZXG4YTAOBWGQ. You are receiving this because you commented.Message ID: @.> — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>
Sorry, additional gpu parameters (like -nb gpu) are not supported now.
Without the addition of gpu parameters, can unigbsa-md also execute the gpu acceleration when running gromacs2024 (gpu version)?
发件人:Maohua Yang @.> 发送日期:2024-10-25 22:12:03 收件人:dptech-corp/Uni-GBSA @.> 抄送人:Wanggang @.>,Author @.> 主题:Re: [dptech-corp/Uni-GBSA] I would like to simplify the file preparation for MD with unigbsa. What should I do? (Issue #56)
Sorry, additional gpu parameters (like -nb gpu) are not supported now. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Yes, gromacs will use the GPU accelation when you compile the gromacs with cuda support. The parameters like -nb gpu
mean put more computation on GPU. It will faster when you add the parameters like -nb gpu
than without these parameters added, but it still will use the GPU accelation and more faster than the graomacs only with cpu.
OK. I get! Thank you very much for your patient explannation. I would like to consult a question. Can unigbsa-md perform molecular dynamic simulation for receptor containing zinc ions?
发件人:Maohua Yang @.> 发送日期:2024-10-25 22:53:02 收件人:dptech-corp/Uni-GBSA @.> 抄送人:Wanggang @.>,Author @.> 主题:Re: [dptech-corp/Uni-GBSA] I would like to simplify the file preparation for MD with unigbsa. What should I do? (Issue #56)
Yes, gromacs will use the GPU accelation when you compile the gromacs with cuda support. The parameters like -nb gpu mean put more computation on GPU. It will faster when you add the parameters like -nb gpu than without these parameters added, but it still will use the GPU accelation and more faster than the graomacs only with cpu. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Dear Prof. Yang, I performed a MD simulation of antigen-antibody complex, termed rep.pdb, with unigbsa-md (unigbsa-md -p rep.pdb -pf amber99sb -bt triclinic -d 1.0 -conc 0.15 -o md-100ns -nsteps 50000000 -nframe 500 -nt 30 -verbose) . However, the previously reported error (see below) appeared again. I have uploaded the structure of complex. Could you help me check the problem? It is worth mentioned that this complex structure has been successfully used to perform 100-ns MD simulation with Gromacs2024 installed by myself with all-atom OPLS force field. This seems to suggest that there are not crashes observed in the start complex structure. I am looking forward to your reply as soon as possible!
Error report:
Traceback (most recent call last):
File "/home/dell/anaconda3/envs/gbsa/bin/unigbsa-md", line 8, in
唐王刚 Wanggang Tang 博士 副教授 Ph.D. Associate Professor Address: No. 2600, Donghai Avenue. Bengbu, Anhui, China Alternative email address: @.*** Institution homepage: https://www.bbmc.edu.cn/
发件人:Maohua Yang @.> 发送日期:2024-10-25 21:33:13 收件人:dptech-corp/Uni-GBSA @.> 抄送人:Wanggang @.>,Author @.> 主题:Re: [dptech-corp/Uni-GBSA] I would like to simplify the file preparation for MD with unigbsa. What should I do? (Issue #56)
Yes, in that way. You can use the GPU accelerated gromacs. Unigbsa version 0.1.7 support protein protein complex simulation, so you can try it by setting the -lf parameter with a pdb file of antigen and setting the -pf parameter with a pdb file of antibody.
在 2024年10月25日,20:58,Wanggang @.***> 写道:
I forgot to answer another question. If the modelled structure that has crashes, how do I solve or repair this question?
---- Replied Message ---- From Maohua @.> Date 10/25/2024 16:49 To @.> Cc @.>@.> Subject Re: [dptech-corp/Uni-GBSA] I would like to simplify the file preparation for MD with unigbsa. What should I do? (Issue #56)
By default, Uni-GBSA use the TIP3P water model. You can choose any protein forcefield in your gromacs. But you need to use the correct protein forcefile name in your gromacs /share/gromacs/top path. We recomand you choose the AMBER forcefield for protein cause we just support gaff/gaff2 forcefield for ligands. image.png (view on web) If you want to use the Gromacs installed by yourself. You need to remove the gromacs installed by conda by command conda uninstall gromacs. And then load the Gromacs2024 by source the GMXRC.bash file: source /xxx/gmx2024/bin/GMXRC.bash As for your error, it seems your structure have some clash problem. You need to check if your structure has serious crashes — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>
— Reply to this email directly, view it on GitHubhttps://github.com/dptech-corp/Uni-GBSA/issues/56#issuecomment-2437710864, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEJVPI3V4ETLQTC4ZOK2XBTZ5I565AVCNFSM6AAAAABPNL6N2SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZXG4YTAOBWGQ. You are receiving this because you commented.Message ID: @.> — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>
In the Complex.GMX floder have a gromacs.log file. You can check it to see the details.
The following error was found in gromacs.log file. Fatal error: Index[9411] 92818 is larger than the number of atoms in the trajectory file (9591). There is a mismatch in the contents of your -f, -s and/or -n files.
Note that major changes are planned in future for trjconv, to improve usability and utility. Select group for centering Selected 18: 'center' Select group for output Selected 19: 'output'
发件人:Maohua Yang @.> 发送日期:2024-10-27 22:26:49 收件人:dptech-corp/Uni-GBSA @.> 抄送人:Wanggang @.>,Author @.> 主题:Re: [dptech-corp/Uni-GBSA] I would like to simplify the file preparation for MD with unigbsa. What should I do? (Issue #56)
In the Complex.GMX floder have a gromacs.log file. You can check it to see the details. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Moreover, I checked the trajectory file and found that some frames displayed serious distorted structures (see attached png file).
唐王刚 Wanggang Tang 博士 副教授 Ph.D. Associate Professor Address: No. 2600, Donghai Avenue. Bengbu, Anhui, China Alternative email address: @.*** Institution homepage: https://www.bbmc.edu.cn/
发件人:Maohua Yang @.> 发送日期:2024-10-27 22:26:49 收件人:dptech-corp/Uni-GBSA @.> 抄送人:Wanggang @.>,Author @.> 主题:Re: [dptech-corp/Uni-GBSA] I would like to simplify the file preparation for MD with unigbsa. What should I do? (Issue #56)
In the Complex.GMX floder have a gromacs.log file. You can check it to see the details. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Sorry, I did not see your attached png file. You can join our wechat group to get quick reply.
Sorry, I did not see your attached png file. You can join our wechat group to get quick reply.
I have uploaded the png file again! And I have joined your wechat group!
Can you share you input pdb file and the MD final frame structures? It seems the problem of pymol visualization.
file_TWG.zip @Aunity Please find the files. The command used: unigbsa-md -p complex.pdb -pf amber99sb -bt triclinic -d 1.0 -conc 0.15 -o md-100ns -nsteps 50000000 -nframe 500 -nt 30 -verbose
The serious distorted structures in your trajector were caused by the PBC condition and incorrect pdb format. Here the green is the last frame which I fixed the pbc condition and the purple one is the last frame which I used the correct pdb format.
It is well-known that preparing the files for molecular dynamic (MD) simulation of protein-ligand complex is a tedious process, which includes preparing ligand topology, solvation, adding ions, energy minimization, equilibration, and so on. Could I simplify the file preparation for 100-ns gromacs MD run of one protein-ligand complex with unigbsa?