this.addPDBId(new PDBEntry(pdb));
}
}
+ if (seq.isHMMConsensusSequence())
+ {
+ this.isHMMConsensusSequence = true;
+ }
if (seq.getHMM() != null)
{
this.hmm = new HiddenMarkovModel(seq.getHMM());
}
+
}
@Override
{
int node = 1;
int column = 0;
+ hmm.emptyNodeLookup();
for (char residue : sequence)
{
if (!Comparison.isGap(residue))
{
hmm.setAlignmentColumn(node, column);
- hmm.getNodeLookup().put(column, node);
node++;
}
- else
- {
- hmm.getNodeLookup().remove(column);
- }
column++;
}
public boolean hasHMMAnnotation()
{
return hasInfo;
- /*
- if (annotation == null)
- {
- return false;
- }
-
- for (AlignmentAnnotation annot : annotation)
- {
- if (annot.label.contains("_HMM"))
- {
- return true;
- }
- }
- return false;
- */
}
@Override