我有一个 .pdb 文件,其中包含同一分子的多个构象异构体。现在我想将这些conformers 中的每一个转换为一个单独的.xyz 文件。根据 open babel 帮助,这可以通过-m
选项来完成。
-m Produces multiple output files, to allow:
Splitting: e.g. babel infile.mol new.smi -m
puts each molecule into new1.smi new2.smi etc
Batch conversion: e.g. babel *.mol -osmi -m
converts each input file to a .smi file
但这仅转换第一个几何图形然后停止:
babel -ipdb confs.pdb -oxyz test.xyz -m
1 molecule converted
14 audit log messages
(在 Ubuntu 和 OSX 上测试了 open babel 2.3.2)
有什么建议可以解决这个问题或改用哪个程序?