Filters and extracts specific lines from a PDB file based on the given criteria.
The PDB file content.
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.
The filtered lines from the PDB file.
Filters and extracts specific lines from a PDB file based on the given criteria.