@@ -593,7 +593,7 @@ public static MultipleAlignment toRepeatsAlignment(CeSymmResult result)
593593
594594 MultipleAlignment msa = result .getMultipleAlignment ();
595595 MultipleAlignmentEnsemble newEnsemble = msa .getEnsemble ().clone ();
596-
596+
597597 // Modify atom arrays to include the repeat atoms only
598598 List <Atom []> atomArrays = new ArrayList <Atom []>();
599599 Structure divided = SymmetryTools .getQuaternaryStructure (result );
@@ -734,10 +734,10 @@ public static QuatSymmetryResults getQuaternarySymmetry(CeSymmResult result)
734734 throws StructureException {
735735
736736 // Obtain the clusters of aligned Atoms and repeat variables
737- MultipleAlignment repeats = SymmetryTools . toRepeatsAlignment ( result );
738- List < Atom []> alignedCA = repeats . getAtomArrays ();
739- List <Integer > corePos = MultipleAlignmentTools .getCorePositions (repeats
740- .getBlock (0 ));
737+ List < Atom []> alignedCA = result . getMultipleAlignment (). getAtomArrays ( );
738+ MultipleAlignment msa = result . getMultipleAlignment ();
739+ List <Integer > corePos = MultipleAlignmentTools .getCorePositions (result
740+ .getMultipleAlignment (). getBlock (0 ));
741741
742742 List <Point3d []> caCoords = new ArrayList <Point3d []>();
743743 List <Integer > folds = new ArrayList <Integer >();
@@ -752,7 +752,7 @@ public static QuatSymmetryResults getQuaternarySymmetry(CeSymmResult result)
752752 for (int str = 0 ; str < alignedCA .size (); str ++) {
753753 Atom [] array = alignedCA .get (str );
754754 List <Point3d > points = new ArrayList <Point3d >();
755- List <Integer > alignedRes = repeats .getBlock (0 ).getAlignRes ()
755+ List <Integer > alignedRes = msa .getBlock (0 ).getAlignRes ()
756756 .get (str );
757757 for (int pos = 0 ; pos < alignedRes .size (); pos ++) {
758758 Integer residue = alignedRes .get (pos );
@@ -1000,7 +1000,7 @@ public static Atom[] getRepresentativeAtoms(Structure structure) {
10001000 }
10011001 return atomList .toArray (new Atom [0 ]);
10021002 }
1003-
1003+
10041004 }
10051005
10061006}
0 commit comments