qp.structure.missing.transfer_numbering

qp.structure.missing.transfer_numbering(e, ali, path, out)[source]

Transfer residue numbers and chain IDs from template to built model.

Modeller restarts residue numbering at 1 and reassigns chain IDs. This function restores the original numbering from the template PDB file. Insertion codes introduced by the transfer are corrected by fix_numbering().

Parameters:
  • e (modeller.Environ) – Modeller environment object.

  • ali (str) – Path to the alignment file.

  • path (str) – Path to the original template PDB file.

  • out (str) – Path to the output PDB file (will be overwritten in place).

See also

fix_numbering

Corrects insertion code issues after transfer.