this.addPDBId(new PDBEntry(pdb));
}
}
- if (seq.isHMMConsensusSequence())
- {
- this.isHMMConsensusSequence = true;
- }
if (seq.getHMM() != null)
{
- this.hmm = new HiddenMarkovModel(seq.getHMM());
+ this.hmm = new HiddenMarkovModel(seq.getHMM(), this);
}
}
}
@Override
- public boolean isHMMConsensusSequence()
- {
- return isHMMConsensusSequence;
- }
-
- @Override
- public void setIsHMMConsensusSequence(boolean value)
- {
- this.isHMMConsensusSequence = value;
- }
-
- @Override
public boolean hasHMMAnnotation()
{
if (this.annotation == null) {
// otherwise, sequence was completely hidden
return 0;
}
+
+ @Override
+ public boolean hasHMMProfile()
+ {
+ return hmm != null;
+ }
}