Class CeSymmResult
java.lang.Object
org.biojava.nbio.structure.symmetry.internal.CeSymmResult
This Class stores all the relevant information of an internal symmetry result
obtained with CeSymm. The purpose is to carry all the information packed
during the calculations and return a single object.
- Since:
- 4.2.0
- Author:
- Aleix Lafita
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAtom[]
getAtoms()
getAxes()
int
Return the symmetry order determined by the order detector if the symmetry is significant.Return a String describing the reasons for the CE-Symm final decision in this particular result.Return the symmetric repeats as structure identifiers, if the result is symmetric and it was refined, return null otherwise.int
boolean
boolean
Conditions checked are: score above the threshold, number of repeats higher than 1 and refinement succeeded.void
void
setAxes
(SymmetryAxes axes) void
setMultipleAlignment
(MultipleAlignment multipleAlignment) void
setNumRepeats
(int symmOrder) void
setParams
(CESymmParameters params) void
setRefined
(boolean refined) void
setSelfAlignment
(AFPChain selfAlignment) void
setStructureId
(StructureIdentifier structureId) void
setSymmGroup
(String symmGroup) toString()
-
Constructor Details
-
CeSymmResult
public CeSymmResult()
-
-
Method Details
-
isSignificant
public boolean isSignificant()Conditions checked are: score above the threshold, number of repeats higher than 1 and refinement succeeded.- Returns:
- true if significant, false otherwise
-
getRepeatsID
Return the symmetric repeats as structure identifiers, if the result is symmetric and it was refined, return null otherwise.- Returns:
- List of StructureIdentifiers or null if not defined
- Throws:
StructureException
-
toString
-
getMultipleAlignment
-
setMultipleAlignment
-
getSelfAlignment
-
setSelfAlignment
-
getParams
-
setParams
-
getAxes
-
setAxes
-
getNumRepeats
public int getNumRepeats()Return the symmetry order determined by the order detector if the symmetry is significant. Return 1 otherwise.- Returns:
- the order of symmetry if the result is significant
-
setNumRepeats
public void setNumRepeats(int symmOrder) -
isRefined
public boolean isRefined() -
setRefined
public void setRefined(boolean refined) -
getSymmGroup
-
setSymmGroup
-
getAtoms
-
setAtoms
-
getSymmLevels
public int getSymmLevels() -
getStructureId
-
setStructureId
-
getReason
Return a String describing the reasons for the CE-Symm final decision in this particular result.- Returns:
- String decision reason
-