- if (hmm.getMaxInstanceLength() != null)
- {
- line = String.format("%-5s %1s", "MAXL", hmm.getMaxInstanceLength());
- file.append((line + NEW_LINE));
- }
- line = String.format("%-5s %1s", "ALPH", hmm.getAlphabetType());
- file.append((line + NEW_LINE));
-
- boolean status;
- String statusStr;
-
- status = hmm.referenceAnnotationIsActive();
- statusStr = HiddenMarkovModel.findStringFromBoolean(status);
- line = String.format("%-5s %1s", "RF",
- statusStr);
- file.append((line + NEW_LINE));
-
- status = hmm.maskValueIsActive();
- statusStr = HiddenMarkovModel.findStringFromBoolean(status);
- line = String.format("%-5s %1s", "MM",
- statusStr);
- file.append((line + NEW_LINE));
-
- status = hmm.consensusResidueIsActive();
- statusStr = HiddenMarkovModel.findStringFromBoolean(status);
- line = String.format("%-5s %1s", "CONS",
- statusStr);
- file.append((line + NEW_LINE));
-
- status = hmm.consensusStructureIsActive();
- statusStr = HiddenMarkovModel.findStringFromBoolean(status);
- line = String.format("%-5s %1s", "CS",
- statusStr);
- file.append((line + NEW_LINE));
-
- status = hmm.mapIsActive();
- statusStr = HiddenMarkovModel.findStringFromBoolean(status);
- line = String.format("%-5s %1s", "MAP",
- statusStr);
- file.append((line + NEW_LINE));
-
-
- if (hmm.getDate() != null)
- {
- line = String.format("%-5s %1s", "DATE", hmm.getDate());
- file.append((line + NEW_LINE));
- }
- if (hmm.getNumberOfSequences() != null)
- {
- line = String.format("%-5s %1s", "NSEQ", hmm.getNumberOfSequences());
- file.append((line + NEW_LINE));
- }
- if (hmm.getEffectiveNumberOfSequences() != null)
- {
- line = String.format("%-5s %1s", "EFFN",
- hmm.getEffectiveNumberOfSequences());
- file.append((line + NEW_LINE));
- }
- if (hmm.getCheckSum() != null)
- {
- line = String.format("%-5s %1s", "CKSUM", hmm.getCheckSum());
- file.append((line + NEW_LINE));
- }
- if (hmm.getGatheringThreshold() != null)
- {
- line = String.format("%-5s %1s", "GA", hmm.getGatheringThreshold());
- file.append((line + NEW_LINE));