if (seqs != null)
{
StockholmFile file = new StockholmFile(new Alignment(seqs));
- boolean removeAnnots = false;
- if (hmm == null)
- {
- removeAnnots = true;
- }
String output = file.print(seqs, false);
PrintWriter writer = new PrintWriter(stoLocation);
writer.println(output);
if (hmm != null)
{
HMMFile file = new HMMFile(hmm);
- file.exportFile(hmmLocation);
+ PrintWriter writer = new PrintWriter(hmmLocation);
+ writer.print(file.print());
+ writer.close();
}
}