- 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));
-
- line = String.format("%-5s %1s", "RF",
- hmm.getFileProperties().get("RF"));
- file.append((line + NEW_LINE));
-
- line = String.format("%-5s %1s", "MM",
- hmm.getFileProperties().get("MM"));
- file.append((line + NEW_LINE));
-
- line = String.format("%-5s %1s", "CONS",
- hmm.getFileProperties().get("CONS"));
- file.append((line + NEW_LINE));
-
- line = String.format("%-5s %1s", "CS",
- hmm.getFileProperties().get("CS"));
- file.append((line + NEW_LINE));
-
- line = String.format("%-5s %1s", "MAP",
- hmm.getFileProperties().get("MAP"));
- 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));