Filters and extracts specific lines from a PDB file based on the given criteria.
The PDB file.
Name of hetero residues to keep. For example ATP.
The chain identifier of the hetero residue to keep.
The sequence number of the hetero residue to keep.
Filters and extracts specific lines from a PDB file based on the given criteria.