boltz
boltz copied to clipboard
Use only first character of chain name for PDB
Fixes #209
You can have up to two characters for chain IDs (see https://www.rcsb.org/docs/general-help/identifiers-in-pdb). Simply cutting the ID off can introduce clashes so you might require some new mapping.
I see. Hmm, the pdb output seems to break with length 2 chain IDs as well.
Sorry, I think I was wrong. In the legacy format you can only have one character: https://www.wwpdb.org/documentation/file-format-content/format33/sect9.html#ATOM
The issue with potential clashes remains.