PhylipWriter writes a list of sequences to a file in PHYLIP format, using BioJava's PHYLIPFileFormat.writer.
PhylipWriter writes a list of sequences to a file in PHYLIP format, using BioJava's PHYLIPFileFormat.writer.
There are two problems with this implementation: First the BioJava library shortens the descriptor to 9 chars. The other BioJava problem is that when writing an alignment the sequences can have different sizes - they simply write to file. In contrast, the BioScala implementation throws an exception.
See also PAMLWriter for a PAML implementation of Phylip output