LingPy

lingpy.compare.Pairwise.output

Pairwise.output(fileformat='psa', filename=None)

Write the results of the analyses to a text file.

Parameters :

fileformat : { ‘psa’, ‘psq’ }

Indicate which data should be written to file. Select between:

  • ‘psa’ – output of all pairwise alignments in psa-format,
  • ‘psq’ – output of the multiple sequences in psq-format.

filename : str

Select a specific name for the outfile, otherwise, the name of the infile will be taken by default.