public class SubunitCluster extends Object
QuatSymmetrySubunits,
 the set of equivalent residues (EQR) between Subunit and a
 Subunit representative. It also stores the method used for
 clustering.
 This class allows the comparison and merging of SubunitClusters.
| Constructor and Description | 
|---|
SubunitCluster(Subunit subunit)
A constructor from a single Subunit. 
 | 
SubunitCluster(SubunitCluster other,
              List<Integer> subunitsToRetain)
A copy constructor with the possibility of removing subunits. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
divideInternally(SubunitClustererParameters clusterParams)
Analyze the internal symmetry of the SubunitCluster and divide its
  
Subunit into the internal repeats (domains) if they are
 internally symmetric. | 
Atom[] | 
getAlignedAtomsSubunit(int index)  | 
List<Atom[]> | 
getAlignedAtomsSubunits()  | 
String | 
getAlpha()
A letter that is assigned to this cluster in stoichiometry. 
 | 
SubunitClustererMethod | 
getClustererMethod()  | 
MultipleAlignment | 
getMultipleAlignment()
The multiple alignment is calculated from the equivalent residues in the
 SubunitCluster. 
 | 
List<Subunit> | 
getSubunits()
Subunits contained in the SubunitCluster. 
 | 
boolean | 
isIdenticalTo(SubunitCluster other)
Tells whether the other SubunitCluster contains exactly the same Subunit. 
 | 
boolean | 
isPseudoStoichiometric()  | 
int | 
length()  | 
boolean | 
mergeIdentical(SubunitCluster other)
Merges the other SubunitCluster into this one if it contains exactly the
 same Subunit. 
 | 
boolean | 
mergeSequence(SubunitCluster other,
             SubunitClustererParameters params)
Merges the other SubunitCluster into this one if their representatives
 sequences are similar (according to the criteria in params). 
 | 
boolean | 
mergeSequence(SubunitCluster other,
             SubunitClustererParameters params,
             Alignments.PairwiseSequenceAlignerType alignerType,
             GapPenalty gapPenalty,
             SubstitutionMatrix<AminoAcidCompound> subsMatrix)
Merges the other SubunitCluster into this one if their representatives
 sequences are similar (according to the criteria in params). 
 | 
boolean | 
mergeStructure(SubunitCluster other,
              SubunitClustererParameters params)
Merges the other SubunitCluster into this one if their representative
 Atoms are structurally similar (according to the criteria in params). 
 | 
void | 
setAlpha(String alpha)
A letter that is assigned to this cluster in stoichiometry. 
 | 
int | 
size()  | 
String | 
toString()  | 
public SubunitCluster(Subunit subunit)
subunit - initial Subunitpublic SubunitCluster(SubunitCluster other, List<Integer> subunitsToRetain)
other - reference SubunitClustersubunitsToRetain - which subunits to copy to this clusterpublic String getAlpha()
public void setAlpha(String alpha)
alpha - Stringpublic List<Subunit> getSubunits()
public boolean isIdenticalTo(SubunitCluster other)
other - SubunitClusterpublic boolean mergeIdentical(SubunitCluster other)
isIdenticalTo(SubunitCluster).other - SubunitClusterpublic boolean mergeSequence(SubunitCluster other, SubunitClustererParameters params) throws CompoundNotFoundException
 The sequence alignment is performed using linear SimpleGapPenalty and
 BLOSUM62 as scoring matrix.
other - SubunitClusterparams - SubunitClustererParameters, with information whether to use local
            or global alignment, sequence identity and coverage thresholds.
            Threshold values lower than 0.7 are not recommended.
            Use mergeStructure(org.biojava.nbio.structure.cluster.SubunitCluster, org.biojava.nbio.structure.cluster.SubunitClustererParameters) for lower values.CompoundNotFoundExceptionpublic boolean mergeSequence(SubunitCluster other, SubunitClustererParameters params, Alignments.PairwiseSequenceAlignerType alignerType, GapPenalty gapPenalty, SubstitutionMatrix<AminoAcidCompound> subsMatrix) throws CompoundNotFoundException
 The sequence alignment is performed using linear SimpleGapPenalty and
 BLOSUM62 as scoring matrix.
other - SubunitClusterparams - SubunitClustererParameters, with information whether to use local
            or global alignment, sequence identity and coverage thresholds.
            Threshold values lower than 0.7 are not recommended.
            Use mergeStructure(org.biojava.nbio.structure.cluster.SubunitCluster, org.biojava.nbio.structure.cluster.SubunitClustererParameters) for lower values.alignerType - parameter for the sequence alignment algorithmgapPenalty - parameter for the sequence alignment algorithmsubsMatrix - parameter for the sequence alignment algorithmCompoundNotFoundExceptionpublic boolean mergeStructure(SubunitCluster other, SubunitClustererParameters params) throws StructureException
other - SubunitClusterparams - SubunitClustererParameters, with information on what alignment
            algorithm to use, RMSD/TMScore and structure coverage thresholds.StructureExceptionpublic boolean divideInternally(SubunitClustererParameters clusterParams) throws StructureException
Subunit into the internal repeats (domains) if they are
 internally symmetric.clusterParams - SubunitClustererParameters with fields used as follows:
 structureCoverageThreshold
            the minimum coverage of all repeats in the Subunit
 rmsdThreshold
            the maximum allowed RMSD between the repeats
 minimumSequenceLength
            the minimum length of the repeating unitsStructureExceptionpublic int size()
public int length()
public SubunitClustererMethod getClustererMethod()
SubunitClustererMethod used for clustering the
         Subunitspublic List<Atom[]> getAlignedAtomsSubunits()
public Atom[] getAlignedAtomsSubunit(int index)
index - Subunit index in the Clusterlength() with the aligned Atoms
         from the selected Subunit in the Clusterpublic MultipleAlignment getMultipleAlignment() throws StructureException
StructureExceptionpublic boolean isPseudoStoichiometric()
Copyright © 2000–2018 BioJava. All rights reserved.