Class SubunitCluster

java.lang.Object
org.biojava.nbio.structure.cluster.SubunitCluster

public class SubunitCluster extends Object
A SubunitCluster contains a set of equivalent 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.

Since:
5.0.0
Author:
Aleix Lafita
  • Constructor Details

    • SubunitCluster

      public SubunitCluster(Subunit subunit)
      A constructor from a single Subunit. To obtain a SubunitCluster with multiple Subunits, initialize different SubunitClusters and merge them.
      Parameters:
      subunit - initial Subunit
    • SubunitCluster

      public SubunitCluster(SubunitCluster other, List<Integer> subunitsToRetain)
      A copy constructor with the possibility of removing subunits. No re-clustering is done.
      Parameters:
      other - reference SubunitCluster
      subunitsToRetain - which subunits to copy to this cluster
    • SubunitCluster

      public SubunitCluster(List<Subunit> subunits, List<List<Integer>> subunitEQR)
      Create the cluster manually by specifying subunits and the equivalent residues
      Parameters:
      subunits - List of aligned subunits
      subunitEQR - Double list giving the aligned residue indices in each subunit
  • Method Details