Home | Trees | Indices | Help |
|
---|
|
>>> x = SurfaceRacer( model, 1.4, verbose=1 ) >>> result = x.run()
|
|||
|
__init__(self,
model,
probe,
vdw_set=1,
mode=3,
**kw) SurfaceRacer creates three output files: |
||
|
prepare(self) Overrides Executor method. |
||
|
__prepareFolder(self) The surfrace binary, radii files and the PDB have to be in the current working directory. |
||
|
__prepareModel(self,
model,
f_pdb_out) Prepare a model that SurfaceRacer likes. |
||
|
cleanup(self) Tidy up the mess you created. |
||
dict
|
parse_result(self,
output) Parse the SurfaceRacer output file which has the same nawe as the input pdb, but with a txt extension. |
||
[float]
|
__checkProfileIntegrity(self,
profile,
upperLimit=1.0,
lowerLimit=-1.0) In some cases SurfaceRacer generates incorrect curvature values for some atoms. |
||
[float]
|
__relExposure(self,
key='AS',
clip=1) Calculate how exposed an atom is relative to the same atom in a GLY-XXX-GLY tripeptide, an approximation of the unfolded state. |
||
|
isFailed(self) Overrides Executor method |
||
|
finish(self) Overrides Executor method |
||
|
failed(self) Called if external program failed, Overrides Executor method. |
|
|||
|
inp = """ %(vdw_set)i %(f_pdb_name)s %(probe).2f %(mode)i """
|
|
SurfaceRacer creates three output files: result.txt - contains breakdown of surface areas and is writen to the directory where the program resides. This file is discharded here. file *.txt - contains the accessible, molecular surface areas and average curvature information paresd here. The filename is that of the input pdb file but with a .txt extension. stdout - some general information about the calculation. Redirected to /dev/null
|
Overrides Executor method. - link surfaceracer binary to temporary folder - put cleaned up pdb into same folder - adapt working directory and output names to same folder (changes self.cwd, f_pdb, f_pdb_names, f_out_name) |
The surfrace binary, radii files and the PDB have to be in the current working directory. Otherwise we get a pretty silent segmentation fault. @return temp folder @rtype str |
Prepare a model that SurfaceRacer likes.
|
Tidy up the mess you created. |
Parse the SurfaceRacer output file which has the same nawe as the input pdb, but with a txt extension. The output ends up un the same folder as the input. In addition a file called result.txt is created in the same directory as the binary.
|
In some cases SurfaceRacer generates incorrect curvature values for some atoms. This function sets values outside a given range to 0
|
Calculate how exposed an atom is relative to the same atom in a GLY-XXX-GLY tripeptide, an approximation of the unfolded state. See Biskit.surfaceRacerTools.relExposure()
|
Overrides Executor method |
Overrides Executor method |
Called if external program failed, Overrides Executor method. In some very rare cases SurfaceRacer round off error cause the program to terminate. The simplest remedy to this problem is to increase the probe radii with a very small number and rerun the calculation. |
|
inp
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Fri Dec 22 20:11:47 2006 | http://epydoc.sourceforge.net |