schrodinger.application.desmond.replica_sid_generator module

schrodinger.application.desmond.replica_sid_generator.get_cov_lig_info(cms_st)[source]

Find ligand residue ID for covalent ligand job. The inputs should always be a complex system/complex leg. :param cms_st: Desmond system structure :type cms_st: cms.Cms

Return type

tuple(str, str) or tuple(None, None)

Returns

(chain, resnum) information of the covalent ligand

class schrodinger.application.desmond.replica_sid_generator.AlchemAsl(ref_asl, mut_asl, ref_solv_asl=None, mut_solv_asl=None)[source]

Bases: object

__init__(ref_asl, mut_asl, ref_solv_asl=None, mut_solv_asl=None)[source]

Initialize self. See help(type(self)) for accurate signature.

property ref_asl
property mut_asl
property ref_solv_asl
property mut_solv_asl
schrodinger.application.desmond.replica_sid_generator.setup_alchem_properties(cms_st, alchem_asl_obj, perturbation_type, leg_type)[source]

This method sets up all alchemical selections for different types of FEPs and respected perturbation legs.

Parameters
  • alchem_asl_obj (AlchemAsl) – AlchemAsl object

  • perturbation_type (str) – FEP_TYPE as defined in constants.FEP_TYPES

  • leg_type (str) – either a ‘solvent’ or ‘complex’

Return type

(SmallMoleculeReport, SmallMoleculeReport), (str, str)

Returns

two tuples of pairs: SmallMoleculeReport and full protein ASL strings

schrodinger.application.desmond.replica_sid_generator.parse_prm_tag(cms_model: schrodinger.application.desmond.cms.Cms) → Union[Tuple[None, None, None], Tuple[str, int, str]][source]

Given a cms model, get the chain, resnum, and inscode of the mutated residue.

Mutated sites are parsed from the s_bioluminate_Mutations property which is a string in the format of A:33B(ALA->VAL) where A is the chain, 33 is the residue number, B in the insertion code (optional), and the mutation is from an alanine to a valine.

In the case of
  1. a multisite+multistep mutation (e.g. WT -> A-ALA41ILE,A-ALA43GLY)

  2. there is no s_bioluminate_Mutations property

we must skip ligand analysis, so return (None, None, None)

class schrodinger.application.desmond.replica_sid_generator.FEPReport(basename, energy_output, task_type='lambda_hopping', n_win=12, perturbation_type=None)[source]

Bases: object

__init__(basename, energy_output, task_type='lambda_hopping', n_win=12, perturbation_type=None)[source]

Initialize self. See help(type(self)) for accurate signature.

setup_alchem_properties()[source]
get_ark_results()[source]

Function organizes and returns ARK abject

export(filename=None)[source]

Writes a file with SID results in them, so they can be read into SID gui

ark_str(str_in)[source]

Sanitize ARK string, by removing the doubleqoutes

launch_SID(traj_fn, st2_fn, eaf_fn)[source]

This method launches analyze_simulation.py, a backend for SID analysis

get_analysis(fep_lambda)[source]

This method generates an analysis input file, submits the analysis, and returns an ARK object with results.

:rtype ARK object

class schrodinger.application.desmond.replica_sid_generator.FEPSimulationReport(basename, task_type, perturbation_type, cfg=None)[source]

Bases: object

__init__(basename, task_type, perturbation_type, cfg=None)[source]

Initialize self. See help(type(self)) for accurate signature.

export()[source]
process_salt_and_ions()[source]
get_cms()[source]
get_cpu_gpu_info()[source]
get_sim_time_ns()[source]
get_job_type()[source]
get_ensemble()[source]
get_temperature()[source]
read_cms(basename)[source]
get_nwaters()[source]
get_entry_title()[source]
get_ff()[source]
read_cfg(basename)[source]
class schrodinger.application.desmond.replica_sid_generator.ProteinReport(cms_st, prot_asl, mutation_tag=None)[source]

Bases: object

__init__(cms_st, prot_asl, mutation_tag=None)[source]

Initialize self. See help(type(self)) for accurate signature.

export()[source]
get_hot_atoms()[source]

Returns atoms in the hot region

get_residues()[source]
get_number_atoms()[source]
get_protein(asl)[source]
class schrodinger.application.desmond.replica_sid_generator.SmallMoleculeReport(st, perturbation_type, leg_type, ligand_number=0, asl=None, alchem_solvent_st=None, alchem_solvent_asl=None, metal_asl=None)[source]

Bases: object

__init__(st, perturbation_type, leg_type, ligand_number=0, asl=None, alchem_solvent_st=None, alchem_solvent_asl=None, metal_asl=None)[source]
Parameters
  • perturbation_type (str) – one of several perturbation types

  • leg_type (str) – solvent, complex or vacuum

  • asl (str) – Asl for the ligand

  • alchem_solvent_asl (str) – Asl for alchemical solvent, can be either water or ions

  • alchem_solvent_st (Structure) – Ct of alchemical solvent, can be either water or ions

  • metal_asl (str) – Asl for the metals and ions

export()[source]
get_alchem_solv()[source]

Return a alchemical solvent types and number of atoms of such type

get_hot_atoms()[source]

Returns number of atoms in the hot region. Depending where the rest region is set up, different property names are used.

getLigandFragments()[source]

Fragments the ligand in several fragments using the murcko rules. returns the list of mappings

get_resname()[source]
get_mol_formula()[source]
get_natoms()[source]
get_smiles()[source]