|
__init__(self,
scaffold=None,
system=True,
population=1,
density=0.5,
amorphous_vdw_scale=1.0,
obey=' density ' ,
tries_per_dc=5,
tries_per_placement=5,
title='
' ,
allow_increased_density=True,
forcefield=' OPLS_2005 ' ,
**kwargs)
Create an AmorphousCellBuilder object |
|
|
|
setDensityIncreaseAllowed(self,
is_allowed)
Set whether increased cell densities can be attempted after a
successful cell is built using OBEY_CLASH |
|
|
schrodinger.structure.Structure or None
|
build(self,
generate_only=False,
center=True)
Build the cell and do all the post-processing |
|
|
schrodinger.structure.Structure
|
postTreatBuiltCell(self,
cell)
The default implementation of this does nothing, but subclasses can
use this method to modify the raw cell immediately after the last
structure is added to it but before any other processing (such as
centering, coloring, writing out or building a Desmond system) |
|
|
schrodinger.structure.Structure or None
|
|
list
|
|
schrodinger.structure.Structure or None
|
buildCell(self,
num_structs,
density,
avdw_scale)
Make a single attempt at building the cell. |
|
|
bool
|
|
list
|
duplicateRings(self,
original_rings,
new_struct)
Take a list of _Ring objects referenced to one structure and convert
to a list of _Ring objects referenced to a new structure. |
|
|
schrodinger.structure.Structure
|
locateAndRotate(self,
struct)
Randomly rotate a copy of struct and translate it to a position in
the cell |
|
|
float
|
adjustACellDensity(self,
density,
down=True)
Adjust the cell density up or down - the amount it is adjusted
depends on its current value and the direction it is being adjusted |
|
|
float
|
adjustACellClashVDWScale(self,
avdw_scale,
down=True)
Adjust the cell clash scaling up or down - the amount it is adjusted
depends on its current value and the direction it is being adjusted |
|
|
dict
|
checkForClashes(self,
cell,
candidate,
avdw_scale,
raw_clashes,
cell_rings,
candidate_rings)
Check for clashes between the candidate structure and structures
already within the cell, and also intrastructure clashes within the
candiate that are the result of the periodic boundary condition. |
|
|
dict
|
checkForInterStructureClashes(self,
cell,
candidate,
avdw_scale,
pbc,
cell_rings,
candidate_rings)
Check for clashes of the structure with other structures in the cell,
including the periodic boundary condition. |
|
|
float
|
getPBCSide(self,
cell)
Get the length of one side of the periodic boundary condition |
|
|
schrodinger.structure.Structure
|
getNewCellStructure(self,
volume)
Get a new, empty structure with the periodic boundary condition set |
|
|
float
|
getDesiredVolume(self,
structures,
density)
Get the volume of a cube that will have the given density when the
given structures are placed entirely inside it |
|
|
Inherited from BuilderWithClashDetection :
buildingBlocksHaveRings ,
checkForIntraStructureClashes ,
colorByMolecule ,
findRingSpears ,
findRings ,
getClashes ,
getInfraStructure ,
log ,
removeIgnoredClashes
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|