• Filters and extracts specific lines from a PDB file based on the given criteria.

    Parameters

    • pdb: string

      The PDB file content.

    • hetUnpadded: string

      Name of hetero residues to keep. For example ATP.

    • chain: string

      The chain identifier of the hetero residue to keep.

    • sequenceNr: number

      The sequence number of the hetero residue to keep.

    Returns string

    The filtered lines from the PDB file.