Dec 10, 2017
The purpose of this blog is to show how to generate a valid PDB file from the coordinates.
We separated the PDB file into two parts: lines started from "ATOM" and lines started from "CONNECT". When you do the generation, you may need to check:
1. the space between two elements in one line is consistent with PDB format.
2. add "END" at the end of the file.