https://raw.githubusercontent.com/jjmccollum/teiphy/main/docs/img/teiphy-logo.svg

license badge testing badge coverage badge docs badge black badge git3moji badge iqtree badge raxml badge mrbayes badge beast badge stemma badge joss badge doi badge

A Python package for converting TEI XML collations to NEXUS and other formats.

Textual scholars have been using phylogenetics to analyze manuscript traditions since the early 1990s. Many standard phylogenetic software packages accept as input the NEXUS file format. The teiphy program takes a collation of texts encoded using the Text Encoding Initiative (TEI) guidelines and converts it to a NEXUS format so that it can be used for phylogenetic analysis. It can also convert to other formats as well, including Hennig86 (for TNT), PHYLIP (for RAxML), FASTA, and the XML format used by BEAST 2.7.

Indices and Tables