1
$\begingroup$

I have 3884 PDB files generated by pd2_ca2main. PD2 CA2main is server for reconstructing the backbone of Calpha proteins using Gaussian mixture models.

All of these files have duplicate atoms or alternate coordinates.

How can I clean these PDB files using Visual Molecular Dynamics (VMD) or Scaleable Molecular Dynamics (NAMD) *?

Can anyone tell me what command I should use in console mode?

* note, this server may be unavailable

$\endgroup$

1 Answer 1

1
$\begingroup$

You can use Chimera for this. The following code cleans your pdb file and write new pdb file.

import chimera
from DockPrep import prep
from chimera import runCommand, openModels

models = chimera.openModels.list(modelTypes=[chimera.Molecule])
prep(models)
runCommand("write format pdb 0 molecule.pdb")

You can run the code with

 chimera --nogui file.pdb code.py
$\endgroup$
3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.