public class CrystalBuilder extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEF_NUM_CELLS |
static double |
DEFAULT_INTERFACE_DISTANCE_CUTOFF
Default maximum distance between two chains to be considered an interface.
|
static javax.vecmath.Matrix4d |
IDENTITY |
Constructor and Description |
---|
CrystalBuilder(Structure structure) |
CrystalBuilder(Structure structure,
Map<String,String> chainOrigNames,
Map<String,javax.vecmath.Matrix4d> chainNcsOps)
Special constructor for NCS-aware CrystalBuilder.
|
Modifier and Type | Method and Description |
---|---|
static void |
expandNcsOps(Structure structure,
Map<String,String> chainOrigNames,
Map<String,javax.vecmath.Matrix4d> chainNcsOps)
Apply the NCS operators in the given Structure adding new chains as needed.
|
StructureInterfaceList |
getUniqueInterfaces()
Returns the list of unique interfaces that the given Structure has upon
generation of all crystal symmetry mates.
|
StructureInterfaceList |
getUniqueInterfaces(double cutoff)
Returns the list of unique interfaces that the given Structure has upon
generation of all crystal symmetry mates.
|
boolean |
hasNcsOps() |
void |
setNumCells(int numCells)
Set the number of neighboring crystal cells that will be used in the search for contacts
|
void |
translate(javax.vecmath.Matrix4d m,
javax.vecmath.Vector3d translation) |
public static final int DEF_NUM_CELLS
public static final double DEFAULT_INTERFACE_DISTANCE_CUTOFF
getUniqueInterfaces(double)
,
Constant Field Valuespublic static final javax.vecmath.Matrix4d IDENTITY
public CrystalBuilder(Structure structure, Map<String,String> chainOrigNames, Map<String,javax.vecmath.Matrix4d> chainNcsOps)
expandNcsOps(Structure, Map, Map)
first to extend the AU
and get the equivalence information.structure
- NCS-extended structurechainOrigNames
- chain names mapped to the original chain names (pre-NCS extension)chainNcsOps
- chain names mapped to the ncs operators that was used to generate thempublic CrystalBuilder(Structure structure)
public boolean hasNcsOps()
public void setNumCells(int numCells)
numCells
- public StructureInterfaceList getUniqueInterfaces()
DEFAULT_INTERFACE_DISTANCE_CUTOFF
public StructureInterfaceList getUniqueInterfaces(double cutoff)
cutoff
- the distance cutoff for 2 chains to be considered in contactpublic void translate(javax.vecmath.Matrix4d m, javax.vecmath.Vector3d translation)
public static void expandNcsOps(Structure structure, Map<String,String> chainOrigNames, Map<String,javax.vecmath.Matrix4d> chainNcsOps)
structure
- the structure to expandchainOrigNames
- new chain names mapped to the original chain nameschainNcsOps
- new chain names mapped to the ncs operators that was used to generate themCopyright © 2000–2018 BioJava. All rights reserved.