Trees | Indices | Help |
|
---|
|
Creates input files and runs calculations for protein refinement jobs using Prime and our schrodinger.structutils.minimize.Minimizer class.
Here is an example of how to refine a protein that just had a residue mutated. In this example only the residues within 7.0 angstroms of the mutated residue will be refined:
from schrodinger.structure import StructureReader from schrodinger.structutils import build from schrodinger.application.bioluminate import protein # Get the structure st = StructureReader('receptor.maegz') # Atom number 30 is the alpha carbon of a GLU ca = st.atom[30] # Mutate GLU -> ASP renum_map = build.mutate(st, ca.index, "ASP") # Get the residue that was mutated mutated_residue = None for res in st.residue: ca_keys = (ca.chain, ca.resnum, ca.inscode) res_keys = (res.chain, res.resnum, res.inscode) if ca_keys == res_keys: mutated_residue = res break # We want to use the reference to gather the residues to refine refine_residues = protein.get_residues_within( st, [mutated_residue], within = 7.0 ) # Create the refiner refiner = protein.Refiner(st, residues=refine_residues) # Run Prime minimization which returns the refined structure refined_struct = refiner.runPrimeMinimization('my_refinement_jobname')
|
|||
|
|||
|
|||
|
|||
|
|||
None |
|
||
schrodinger.structure.Structure object |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
schrodinger.structure.Structure object |
|
||
schrodinger.structure.Structure object |
|
|
|
Set the residues to refine. This is a list of integers refering to the residue indices for the structure. |
Private method to create a directory to run the refinement jobs from. The name is "refinement_job_<n>" where n is either 1 or the next increment of a previously found directory. For exampe if there is a directory named "refinement_job_5" the new directory will be "refinement_job_6". |
Writes the input file for a Prime refinement job.
|
Run a Prime refinement job through job control and return the refined output structure.
|
Shortcut to run a Prime minimization job See Also: Refiner.refinePrime documentation |
Shortcut to run a Prime residue refinement job See Also: Refiner.refinePrime documentation |
Shortcut to run a Prime sidechain refinement job See Also: Refiner.refinePrime documentation |
Shortcut to run a Prime sidechain refinement job with CA-CB vector sampling. This will vary the orientation of the CA-CB bond by up to 30 degrees from the initial direction. See Also: Refiner.refinePrime documentation |
Shortcut to run a Prime sidechain refinement job with backbone sampling. This will sample the backbone by running a loop prediction on a set of 3 residues centered on the residue for which the side chain is being refined. See Also: Refiner.refinePrime documentation |
Shortcut to run a Prime loop prediction refinement job.. See Also: Refiner.refinePrime documentation |
Shortcut to run a schrodinger.structutils.minimize.Minimizer job.
|
Shortcut to run any of the available refinement jobs.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Aug 6 04:50:25 2015 | http://epydoc.sourceforge.net |