// Now loop over the properties
for (String type : ResidueProperties.propHash.keySet())
{
- Hashtable<String, Integer> ht = (Hashtable<String, Integer>) ResidueProperties.propHash
- .get(type);
+ Map<String, Integer> ht = ResidueProperties.propHash.get(type);
// Have we ticked this before?
if (!resultHash.containsKey(type))
{
tot = 0;
xx = new double[24];
- seqNum = (j < lengths[k]) ? seqNums.elementAt(k)[j + 1]
- : 23; // Sequence, or gap at the end
+ seqNum = (j < lengths[k]) ? seqNums.elementAt(k)[j + 1] : 23; // Sequence,
+ // or gap
+ // at the
+ // end
// This is a loop over r
for (i = 0; i < 23; i++)
Conservation cons = new Conservation(name, threshold, seqs, start, end);
cons.calculate();
cons.verdict(posOrNeg, consPercGaps);
-
+
if (calcQuality)
{
cons.findQuality();
}
-
+
return cons;
}
}