Class QsAlignResult


  • public class QsAlignResult
    extends Object
    Result of a Quaternary Structure Alignment QsAlign. The QsAlignResult holds the original inputs of the algorithm and the results and scores of the alignment.
    Since:
    5.0.0
    Author:
    Aleix Lafita
    • Constructor Detail

    • Method Detail

      • getSubunits1

        public List<SubunitgetSubunits1()
        Original Subunits of the first group.
        Returns:
        an unmodifiable view of the original List
      • getSubunits2

        public List<SubunitgetSubunits2()
        Original Subunits of the second group.
        Returns:
        an unmodifiable view of the original List
      • getSubunitMap

        public Map<Integer,​IntegergetSubunitMap()
        Map of Subunit equivalencies from the first to the second group.
        Returns:
        an unmodifiable view of the original Map
      • setSubunitMap

        public void setSubunitMap​(Map<Integer,​Integer> subunitMap)
        Map of Subunit equivalencies from the first to the second group.
        Parameters:
        subunitMap -
      • length

        public int length()
        The length of the alignment is the number of Subunit equivalencies it contains. This is equivalent to the size of the Subunit Map.
        Returns:
        length of the alignment
      • getTransform

        public javax.vecmath.Matrix4d getTransform()
        The transformation 4D matrix that needs to be applied to the second group of Subunits to superimpose them onto the first group of Subunits, given the equivalent residues in the SubunitCluster and the Subunit equivalencies.

        This is equivalent to multipleAlignment.getBlockSet(0).getTransformations().get(1).

        Returns:
        Matrix4d
      • getRmsd

        public double getRmsd()
        The RMSD between the equivalent residues of the equivalent Subunits after superposition of the Subunit groups. This is equivalent to multipleAlignment.getScore(MultipleAlignmentScorer.RMSD).
        Returns:
        rmsd
      • setRelation

        public void setRelation​(QsRelation relation)
        The quaternary structure relation QsRelation between the two groups of Subunits.
        Parameters:
        relation -
      • getAlignment

        public MultipleAlignment getAlignment()
        The alignment that specifies the residue equivalencies of the equivalent Subunits.
        Returns:
        alignment as a MultipleAlignment object
      • setAlignment

        public void setAlignment​(MultipleAlignment alignment)
        The alignment that specifies the residue equivalencies of the equivalent Subunits.
        Parameters:
        alignment - a MultipleAlignment object
      • getAlignedSubunits1

        public List<SubunitgetAlignedSubunits1()
        Return the aligned subunits of the first Subunit group, in the alignment order.
        Returns:
        a List of Subunits in the alignment order
      • getAlignedSubunits2

        public List<SubunitgetAlignedSubunits2()
        Return the aligned subunits of the second Subunit group, in the alignment order.
        Returns:
        a List of Subunits in the alignment order