public class StructureInterfaceList extends Object implements Serializable, Iterable<StructureInterface>
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_ASA_SPHERE_POINTS
Default number of points to use when calculating ASAs
|
static double |
DEFAULT_CONTACT_OVERLAP_SCORE_CLUSTER_CUTOFF
Any 2 interfaces with contact overlap score larger than this value
will be considered to be clustered
|
static int |
DEFAULT_MIN_COFACTOR_SIZE
Default minimum size of cofactor molecule (non-chain HET atoms) that will be used
|
static double |
DEFAULT_MINIMUM_INTERFACE_AREA
Default minimum area for a contact between two chains to be considered a
valid interface.
|
Constructor and Description |
---|
StructureInterfaceList() |
Modifier and Type | Method and Description |
---|---|
void |
add(StructureInterface interf) |
void |
calcAsas()
Calculates ASAs for all interfaces in list, both for the unbound
chains and for the complex of the two chains together.
|
void |
calcAsas(int nSpherePoints,
int nThreads,
int cofactorSizeToUse)
Calculates ASAs for all interfaces in list, both for the unbound
chains and for the complex of the two chains together.
|
static StructureInterfaceList |
calculateInterfaces(Structure struc)
Calculates the interfaces for a structure using default parameters
|
StructureInterface |
get(int id)
Gets the interface corresponding to given id.
|
List<StructureInterfaceCluster> |
getClusters()
Calculate the interface clusters for this StructureInterfaceList
using a contact overlap score to measure the similarity of interfaces.
|
List<StructureInterfaceCluster> |
getClusters(double contactOverlapScoreClusterCutoff)
Calculate the interface clusters for this StructureInterfaceList
using a contact overlap score to measure the similarity of interfaces.
|
Iterator<StructureInterface> |
iterator() |
void |
removeInterfacesBelowArea()
Removes from this interface list all interfaces with areas
below the default cutoff area
|
void |
removeInterfacesBelowArea(double area)
Removes from this interface list all interfaces with areas
below the given cutoff area
|
int |
size() |
void |
sort()
Sorts the interface list and reassigns ids based on new sorting
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public static final double DEFAULT_MINIMUM_INTERFACE_AREA
public static final int DEFAULT_ASA_SPHERE_POINTS
calcAsas(int, int, int)
,
Constant Field Valuespublic static final int DEFAULT_MIN_COFACTOR_SIZE
calcAsas(int, int, int)
,
Constant Field Valuespublic static final double DEFAULT_CONTACT_OVERLAP_SCORE_CLUSTER_CUTOFF
public void add(StructureInterface interf)
public int size()
public StructureInterface get(int id)
sort()
was called then the order is descendent by area.id
- public void calcAsas()
Uses default parameters
public void calcAsas(int nSpherePoints, int nThreads, int cofactorSizeToUse)
nSpherePoints
- nThreads
- cofactorSizeToUse
- the minimum size of cofactor molecule (non-chain HET atoms) that will be usedpublic void sort()
public void removeInterfacesBelowArea()
DEFAULT_MINIMUM_INTERFACE_AREA
public void removeInterfacesBelowArea(double area)
area
- public List<StructureInterfaceCluster> getClusters()
DEFAULT_CONTACT_OVERLAP_SCORE_CLUSTER_CUTOFF
public List<StructureInterfaceCluster> getClusters(double contactOverlapScoreClusterCutoff)
contactOverlapScoreClusterCutoff
- the contact overlap score above which a pair will be
clusteredpublic Iterator<StructureInterface> iterator()
iterator
in interface Iterable<StructureInterface>
public static StructureInterfaceList calculateInterfaces(Structure struc)
struc
- Copyright © 2000–2016 BioJava. All rights reserved.