Closed nitroamos closed 6 years ago
You could use PDBxFile.writeFile()
to write to a PDBx/mmCIF file. That's the modern replacement for PDB, and it doesn't put any limit on the number of atoms.
Thanks. I've now bookmarked OpenMM's Python API so I can more easily figure things out w/o asking. :-)
You might consider having PDBFile.writeFile
throw an exception if this happens.
I've been playing with building a membrane on file 4yay (issue #163 ). It did work one time, and I've attached the output, which looks pretty weird (water bonds spanning the membrane) but that's probably due to overflowing the resnum width (which in turn scrambles the CONECT records). It doesn't look like
PDBFile.writeFile
can write to other file formats or is there some other approach you'd recommend to solve this problem?output.pdb.gz