计算化学公社

 找回密码 Forget password
 注册 Register
Views: 172|回复 Reply: 2
打印 Print 上一主题 Last thread 下一主题 Next thread

[Amber] cpptraj如何实现将多帧输出为多个pdb文件

[复制链接 Copy URL]

14

帖子

0

威望

372

eV
积分
386

Level 3 能力者

跳转到指定楼层 Go to specific reply
楼主
各位老师好,我需要提取轨迹中多帧的pdb文件。而日常小轨迹是使用下述用cpptraj运行的代码,再用mdanalysis将保存了所有帧的pdb文件拆分成多个pdb文件,但如下,当我要保存10000帧下每一帧的pdb文件,需要花费极长时间进行分解,因此,我想请问可以在cpptraj文件处即实现分解吗?

parm a.prmtop
trajin b.nc 1 10000 1
strip :Na+,Cl-,Mg,Mg2+
autoimage
trajout ensemble.pdb pdb


849

帖子

4

威望

1915

eV
积分
2844

Level 5 (御坂)

A Student

2#
发表于 Post on 2025-11-27 23:55:44 | 只看该作者 Only view this author
手册 cpptraj 下 trajout 的 Options for pdb format 找 multi (Amber 25 手册第749页)
multi Each frame will be written to a separate file with the frame # appended to <filename>.

评分 Rate

参与人数
Participants 1
eV +1 收起 理由
Reason
Muby + 1

查看全部评分 View all ratings

敬仰一针见血的指责,厌倦别有用心的赞美。

14

帖子

0

威望

372

eV
积分
386

Level 3 能力者

3#
 楼主 Author| 发表于 Post on 2025-11-28 16:32:59 | 只看该作者 Only view this author
student0618 发表于 2025-11-27 23:55
手册 cpptraj 下 trajout 的 Options for pdb format 找 multi (Amber 25 手册第749页)

好!谢谢您!

本版积分规则 Credits rule

手机版 Mobile version|北京科音自然科学研究中心 Beijing Kein Research Center for Natural Sciences|京公网安备 11010502035419号|计算化学公社 — 北京科音旗下高水平计算化学交流论坛 ( 京ICP备14038949号-1 )|网站地图

GMT+8, 2026-1-23 20:33 , Processed in 0.282619 second(s), 23 queries , Gzip On.

快速回复 返回顶部 返回列表 Return to list