I have a .pdb file containing multiple conformers of the same molecule. Now I want to convert each of those conformers to a separate .xyz file. According to the open babel help, this could be done with the -m
option.
-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
But this converts only the first geometry and then stops:
babel -ipdb confs.pdb -oxyz test.xyz -m
1 molecule converted
14 audit log messages
(Tested open babel 2.3.2 on Ubuntu and OSX)
Any suggestion how to fix that or which program to use instead?