vermouth.processors.pdb_reader module

Provides a processor that reads a PDB file.

See also

vermouth.pdb.pdb

class vermouth.processors.pdb_reader.PDBInput(filename, exclude=(), ignh=False, modelidx=0)[source]

Bases: Processor

Reads PDB files.

filename

The filename to parse.

Type:

str

exclude

A collection of residue names that should not be parsed and excluded from the final molecule(s)

Type:

collections.abc.Container[str]

ignh

If True, hydrogens will be discarded from the input structure.

Type:

bool

modelidx

The model number to parse/use.

Type:

int

run_system(system)[source]