Class ResidueGrid
java.lang.Object
org.rcsb.strucmotif.domain.structure.ResidueGrid
Efficiently determine residues in contacts by a spatial hashing approach. Adapted to code to be inline with other
classes, removed support for 2nd set of atoms, only consider alpha carbons (and equivalents) for computation.
see: https://github.com/biojava/biojava/blob/master/biojava-structure/src/main/java/org/biojava/nbio/structure/contact/Grid.java
original author: Jose M. Duarte <jose.duarte@rcsb.org>
-
Constructor Summary
ConstructorsConstructorDescriptionResidueGrid(List<float[]> vectors, float squaredCutoff) Construct a residue grid from a structure. -
Method Summary
Modifier and TypeMethodDescriptionList<org.rcsb.strucmotif.domain.structure.ResidueGrid.ResidueContact>All contacts registered.
-
Constructor Details
-
ResidueGrid
Construct a residue grid from a structure.- Parameters:
vectors- the datasquaredCutoff- maximum distance between residues
-
-
Method Details
-
getIndicesContacts
All contacts registered.- Returns:
- a collection of contacts
-