skbio.alignment.Alignment.to_phylip

Alignment.to_phylip(map_labels=False, label_prefix='')[source]

Return phylip-formatted string representing the SequenceCollection

Note

Deprecated in scikit-bio 0.2.0-dev Alignment.to_phylip will be removed in scikit-bio 0.3.0. It is replaced by Alignment.write, which is a more general method for serializing alignments. Alignment.write supports multiple file formats by taking advantage of scikit-bio’s I/O registry system. See skbio.io for more details.

Returns:

str

A phylip-formatted string representing the Alignment.

See also

write