Class QuatSymmetryResults
java.lang.Object
org.biojava.nbio.structure.symmetry.core.QuatSymmetryResults
Holds the results of quaternary symmetry perception obtained with
QuatSymmetryDetector
.- Author:
- Peter Rose, Aleix Lafita
-
Constructor Summary
ConstructorDescriptionQuatSymmetryResults
(Stoichiometry stoichiometry, HelixLayers helixLayers, SymmetryPerceptionMethod method) Constructor for roto-translational symmetries.QuatSymmetryResults
(Stoichiometry stoichiometry, RotationGroup rotationGroup, SymmetryPerceptionMethod method) Constructor for rotational symmetries. -
Method Summary
Modifier and TypeMethodDescriptionReturns the List of SubunitCluster used to calculate symmetry.int
Return the number of Subunits involved in the symmetry.Returns the List of Subunits used to calculate symmetry.boolean
isLocal()
A local result means that only a subset of the original Subunits was used for symmetry determination.boolean
boolean
Determine if this symmetry result is a subset of the other Symmetry result.void
setStructure
(Structure structure) toString()
-
Constructor Details
-
QuatSymmetryResults
public QuatSymmetryResults(Stoichiometry stoichiometry, RotationGroup rotationGroup, SymmetryPerceptionMethod method) Constructor for rotational symmetries.- Parameters:
stoichiometry
- Stoichiometry used to calculate symmetryrotationGroup
-method
-
-
QuatSymmetryResults
public QuatSymmetryResults(Stoichiometry stoichiometry, HelixLayers helixLayers, SymmetryPerceptionMethod method) Constructor for roto-translational symmetries.- Parameters:
stoichiometry
- Stoichiometry used to calculate symmetryhelixLayers
-method
-
-
-
Method Details
-
isSupersededBy
Determine if this symmetry result is a subset of the other Symmetry result. Checks the following conditions: - 'Other' includes all subunits of 'this'. - 'Other' has the same or higher order than 'this'. Special treatment for the helical symmetry: - 'Other' includes all subunits of 'this'. - 'this' may be Cn, as well as H Note that isSupersededBy establishes a partial order, i.e. for some symmetries A and B, neither A.isSupersededBy(B) nor B.isSupersededBy(A) may be true.- Parameters:
other
- QuatSymmetryResults- Returns:
- true if other supersedes this, false otherwise
-
getSubunitClusters
Returns the List of SubunitCluster used to calculate symmetry.- Returns:
- an unmodifiable view of the original List
-
getSubunits
Returns the List of Subunits used to calculate symmetry.- Returns:
- an unmodifiable view of the List
-
getSubunitCount
Return the number of Subunits involved in the symmetry.- Returns:
- the number of Subunits
-
getRotationGroup
- Returns:
- rotation group (point group) information representing rotational quaternary symmetry.
-
getHelixLayers
- Returns:
- helix layers (layer lines) as a list of helices that describe a helical structure.
-
getMethod
- Returns:
- the method used for symmetry perception.
-
getSymmetry
- Returns:
- the symmetry group symbol. For point groups returns the point group symbol and for helical symmetry returns "H".
-
getScores
- Returns:
- the quaternary scores as an object
-
getStoichiometry
-
isPseudoStoichiometric
-
isLocal
A local result means that only a subset of the original Subunits was used for symmetry determination.- Returns:
- true if local result, false otherwise
-
getStructure
-
setStructure
-
toString
-