Closed benmwebb closed 2 years ago
@brindakv, does the pdbx_nonpoly_scheme
table really depend on atom_site
? What happens if we have a coarse-grained IHM model containing ligands? Can we just omit the pdbx_nonpoly_scheme
table in this case, or would the PDBx dictionary need to be modified to make this work? (Fortunately there are currently no such models to my knowledge.)
@benmwebb pdbx_nonpoly_scheme does depend upon atom_site
. I'll discuss this with the PDBx/mmCIF developers.
We don't currently generate valid mmCIF from the
ligands_water.py
example; running the output through our validator givesWe should make this valid, and periodically test the outputs to make sure they validate.
atom_site
table is output.pdbx_nonpoly_scheme.ndb_seq_num
. This appears to count sequentially from 1 in real PDB files, so we can just do that too.