5.29.1. io.pdb.create_pdb_str¶
- eminus.io.pdb.create_pdb_str(atom, pos, a=None)[source]¶
Convert atom symbols and positions to the PDB format.
- File format definitions:
CRYST1: https://wwpdb.org/documentation/file-format-content/format33/sect8.html#CRYST1
ATOM: https://wwpdb.org/documentation/file-format-content/format33/sect9.html#ATOM
- Parameters:
atom – Atom symbols.
pos – Atom positions.
- Keyword Arguments:
a – Cell size.
- Returns:
PDB file format.