schrodinger.application.peptide_workflow.utils module¶
Contains utility functions associated with running PeptideWorkflow. - Sorting - Renaming - Deduplicating structures
- schrodinger.application.peptide_workflow.utils.sort_and_update_names(cache_list)¶
Sort the clustered results and write to the output.
- schrodinger.application.peptide_workflow.utils.move_to_binding_site(st, grid_recept)¶
Place the peptide 1 Å from the grid center, in the direction pointing away from the center of the receptor :param st: structure to be moved :type st: structure.Structure :param st: the receptor from a Glide grid :type st: structure.Structure
- schrodinger.application.peptide_workflow.utils.remove_duplicate_peptide_poses(poses, recept_st=None, clustering_cutoff=2.0, num_poses=100)¶
Function that removes duplicate poses from a list of poses for a given ligand. A duplicate pose is any pose that has an RMSD < pose_rmsd to any previous pose after alignment, (thus, the output is order-dependent; for example, the first pose is always accepted). The original list of poses is not modified.
- Parameters:
poses (list of [pose.Structure] objects) – A list of sorted docked poses for a ligand
recept_st (Structure) – Receptor structure from the grid. Will calculate RMSD after alignment if recept_st is None.
clustering_cutoff (float) – RMSD cut off between duplicate poses
num_poses (int) – Max number of output poses per peptide
- Return type:
list
- Returns:
list of final output poses