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

    Parameters

    • file: File

      The PDB file.

    • 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 Promise<File>