public class Subunits extends Object
Subunit being
considered for symmetry detection. This class is a helper for the
QuatSymmetryDetector algorithm, since it calculates the
MomentsOfInertia and the centroids of each Subunit.
Delete public modifier when finished.
| Constructor and Description |
|---|
Subunits(List<javax.vecmath.Point3d[]> caCoords,
List<Integer> sequenceClusterIds,
List<Boolean> pseudoStoichiometry,
List<Double> minSequenceIdentity,
List<Double> maxSequenceIdentity,
List<Integer> folds,
List<String> chainIds,
List<Integer> modelNumbers)
Deprecated.
|
Subunits(List<SubunitCluster> clusters)
Converts the List of
SubunitCluster to a Subunit object. |
@Deprecated public Subunits(List<javax.vecmath.Point3d[]> caCoords, List<Integer> sequenceClusterIds, List<Boolean> pseudoStoichiometry, List<Double> minSequenceIdentity, List<Double> maxSequenceIdentity, List<Integer> folds, List<String> chainIds, List<Integer> modelNumbers)
caCoords - CA coordinates of all subunitssequenceClusterIds - ID of the cluster that each subunit belongs topseudoStoichiometry - Whether pseudosymmetry was used when clustering the subunitminSequenceIdentity - Minimum sequence identity to other cluster membersmaxSequenceIdentity - Maximum sequence identity to other cluster membersfolds - Valid symmetry orders for this stoichiometrychainIds - Chain ID for the subunitmodelNumbers - Model number for the subunitpublic Subunits(List<SubunitCluster> clusters)
SubunitCluster to a Subunit object.clusters - List of SubunitClusterpublic List<javax.vecmath.Point3d[]> getTraces()
public int getSubunitCount()
public boolean isPseudoStoichiometric()
public boolean isPseudoSymmetric()
public void setPseudoSymmetric(boolean pseudoSymmetric)
public double getMinSequenceIdentity()
public double getMaxSequenceIdentity()
public String getStoichiometry()
public int getCalphaCount()
public int getLargestSubunit()
public List<javax.vecmath.Point3d> getCenters()
public List<javax.vecmath.Vector3d> getUnitVectors()
public List<javax.vecmath.Point3d> getOriginalCenters()
public javax.vecmath.Point3d getCentroid()
public MomentsOfInertia getMomentsOfInertia()
public int getNucleicAcidChainCount()
public void setNucleicAcidChainCount(int nucleicAcidChainCount)
nucleicAcidChainCount - the nucleicAcidChainCount to setpublic boolean overlaps(Subunits subunits)
public boolean contains(Subunits subunits)
public javax.vecmath.Point3d getLowerBound()
public javax.vecmath.Point3d getUpperBound()
public static List<Integer> getValidFolds(List<Integer> stoichiometry)
stoichiometry - List giving the number of copies in each chain clusterCopyright © 2000–2016 BioJava. All rights reserved.