Class QsAlignResult
java.lang.Object
org.biojava.nbio.structure.align.quaternary.QsAlignResult
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionAtom[]
getAlignedAtomsForSubunits1
(int index) Atom[]
getAlignedAtomsForSubunits2
(int index) Return the aligned subunits of the first Subunit group, in the alignment order.Return the aligned subunits of the second Subunit group, in the alignment order.The alignment that specifies the residue equivalencies of the equivalent Subunits.The quaternary structure relationQsRelation
between the two groups of Subunits.double
getRmsd()
The RMSD between the equivalent residues of the equivalent Subunits after superposition of the Subunit groups.Map of Subunit equivalencies from the first to the second group.Original Subunits of the first group.Original Subunits of the second group.javax.vecmath.Matrix4d
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.int
length()
The length of the alignment is the number of Subunit equivalencies it contains.void
setAlignment
(MultipleAlignment alignment) The alignment that specifies the residue equivalencies of the equivalent Subunits.void
setClusters
(List<SubunitCluster> clusters) void
setRelation
(QsRelation relation) The quaternary structure relationQsRelation
between the two groups of Subunits.void
setSubunitMap
(Map<Integer, Integer> subunitMap) Map of Subunit equivalencies from the first to the second group.toString()
-
Constructor Details
-
QsAlignResult
The Constructor of the result takes the same inputs as theQsAlign
algorithm.- Parameters:
subunits1
-subunits2
-
-
-
Method Details
-
getSubunits1
Original Subunits of the first group.- Returns:
- an unmodifiable view of the original List
-
getSubunits2
Original Subunits of the second group.- Returns:
- an unmodifiable view of the original List
-
getSubunitMap
Map of Subunit equivalencies from the first to the second group.- Returns:
- an unmodifiable view of the original Map
-
setSubunitMap
Map of Subunit equivalencies from the first to the second group.- Parameters:
subunitMap
-
-
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
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
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
-
getRelation
The quaternary structure relationQsRelation
between the two groups of Subunits.- Returns:
- relation
-
setRelation
The quaternary structure relationQsRelation
between the two groups of Subunits.- Parameters:
relation
-
-
getAlignment
The alignment that specifies the residue equivalencies of the equivalent Subunits.- Returns:
- alignment as a MultipleAlignment object
-
setAlignment
The alignment that specifies the residue equivalencies of the equivalent Subunits.- Parameters:
alignment
- a MultipleAlignment object
-
getAlignedSubunits1
Return the aligned subunits of the first Subunit group, in the alignment order.- Returns:
- a List of Subunits in the alignment order
-
getAlignedSubunits2
Return the aligned subunits of the second Subunit group, in the alignment order.- Returns:
- a List of Subunits in the alignment order
-
setClusters
-
getAlignedAtomsForSubunits1
-
getAlignedAtomsForSubunits2
-
toString
-