}
else
{
+ bpEnd = findPair(rna, i);
+ if (bpEnd>-1)
+ {
for (j = 0; j < jSize; j++) // foreach row
{
if (sequences[j] == null)
.println("WARNING: Consensus skipping null sequence - possible race condition.");
continue;
}
- seq = sequences[j].getSequence();
-
- if (seq.length > i)
+ c = sequences[j].getCharAt(i);
{
- c = seq[i];
// standard representation for gaps in sequence and structure
if (c == '.' || c == ' ')
values['-']++;
continue;
}
- bpEnd = findPair(rna, i);
- cEnd = seq[bpEnd];
+ cEnd = sequences[j].getCharAt(bpEnd);
if (checkBpType(c, cEnd))
{
values['(']++; // H means it's a helix (structured)
maxResidue = "(";
}
}
+ }
// nonGap++;
}
// UPDATE this for new values