[lammps-users] LAMMPS dumps to pdb?

Dear LAMMPSers:

I am trying to convert my LAMMPS dump files to pdb file in order to use it in conjunction with VMD (I am trying to color atoms by their central symmetry so simply loading LAMMPS trajectory file into VMD doesn’t work). I know there is actually a perl code ”lammps2pdb.pl” can do this but I just cannot figure out how to use it (I read the README file in the ch2lmp sub directory but get kind of confused). Could you anyone give me some suggestion on that? Thank you all.

Shaorui Yang

The Pizza.py toolkit (linked to from the LAMMPS page) also has
a pdb tool that will do this conversion via a Python script, if you
want to try that.