X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fanalysis%2FConservation.java;h=31a4b6659e81b4f9a67d6dac9e6207c37fd4dd1d;hb=7897c6cb08b496285bcb5fa9ed2d9f7d887d0068;hp=f276a553bd1674d8bdc82b8d1487abcda6c19c09;hpb=49685e6426d5ac136dce4907196751680c667670;p=jalview.git diff --git a/src/jalview/analysis/Conservation.java b/src/jalview/analysis/Conservation.java index f276a55..31a4b66 100755 --- a/src/jalview/analysis/Conservation.java +++ b/src/jalview/analysis/Conservation.java @@ -45,9 +45,10 @@ public class Conservation Hashtable[] total; boolean canonicaliseAa = true; // if true then conservation calculation will - // map all symbols to canonical aa numbering - // rather than consider conservation of that - // symbol + + // map all symbols to canonical aa numbering + // rather than consider conservation of that + // symbol /** Stores calculated quality values */ public Vector quality; @@ -95,7 +96,7 @@ public class Conservation this.end = end; maxLength = end - start + 1; // default width includes bounds of - // calculation + // calculation int s, sSize = sequences.size(); SequenceI[] sarray = new SequenceI[sSize]; @@ -112,8 +113,8 @@ public class Conservation } /** - * Translate sequence i into a numerical - * representation and store it in the i'th position of the seqNums array. + * Translate sequence i into a numerical representation and store it in the + * i'th position of the seqNums array. * * @param i */ @@ -146,7 +147,7 @@ public class Conservation } sqnum = new int[len + 1]; // better to always make a new array - - // sequence can change its length + // sequence can change its length sqnum[0] = sq.hashCode(); for (j = 1; j <= len; j++) @@ -276,7 +277,8 @@ public class Conservation } /***************************************************************************** - * count conservation for the j'th column of the alignment + * count conservation for the j'th column of the alignment + * * @return { gap count, conserved residue count} */ public int[] countConsNGaps(int j) @@ -477,8 +479,7 @@ public class Conservation * maxj = -1; * * for (int j=0;j<24;j++) { if (cons2[i][j] > max) { max = cons2[i][j]; - * maxi = i; maxj = j; } - * } } + * maxi = i; maxj = j; } } } */ } }