同じ分子の複数の配座異性体を含む .pdb ファイルがあります。ここで、これらの配座異性体のそれぞれを個別の .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 をテスト済み)
それを修正する方法、または代わりに使用するプログラムはありますか?