Class CeSymmResult


  • public class CeSymmResult
    extends java.lang.Object
    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 Detail

      • CeSymmResult

        public CeSymmResult()
    • Method Detail

      • 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

        public java.util.List<StructureIdentifier> getRepeatsID()
                                                         throws StructureException
        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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • setMultipleAlignment

        public void setMultipleAlignment​(MultipleAlignment multipleAlignment)
      • getSelfAlignment

        public AFPChain getSelfAlignment()
      • setSelfAlignment

        public void setSelfAlignment​(AFPChain selfAlignment)
      • 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

        public java.lang.String getSymmGroup()
      • setSymmGroup

        public void setSymmGroup​(java.lang.String symmGroup)
      • getAtoms

        public Atom[] getAtoms()
      • setAtoms

        public void setAtoms​(Atom[] atoms)
      • getSymmLevels

        public int getSymmLevels()
      • getReason

        public java.lang.String getReason()
        Return a String describing the reasons for the CE-Symm final decision in this particular result.
        Returns:
        String decision reason