drugforge.data.services.rcsb.rcsb_download.pymol_alignment

drugforge.data.services.rcsb.rcsb_download.pymol_alignment(pdb_path, ref_path, out_path, sel_dict=None, mobile_chain_id='A', ref_chain_id='A')[source]

Uses Pymol to align a pdb to reference and save the aligned file. Can use a dictionary of the form {‘name’: ‘pymol selection string’} to save different selections.

Parameters:
  • pdb_path

  • ref_path

  • out_path

  • sel_dict