meld.system.pdb_writer.PDBWriter
- class meld.system.pdb_writer.PDBWriter(atom_numbers, atom_names, residue_numbers, residue_names)[source]
Bases:
object
Convert states into PDB format
- __init__(atom_numbers, atom_names, residue_numbers, residue_names)[source]
Initialize a PDBWriter
- Parameters
atom_numbers (
List
[int
]) – number for each atomatom_names (
List
[str
]) – name for each atomresidue_numbers (
List
[int
]) – residue number for each atomresidue_names (
List
[str
]) – residue name for each atom
Methods
__init__
(atom_numbers, atom_names, ...)Initialize a PDBWriter
get_pdb_string
(coordinates, stage)Get pdb representation for coordinates