Character Matrix to PHYLIP Converter
This file converter takes a character matrix and formats it to standard PHYLIP format for subsequent use in bioinformatics applications.
PHYLIP (PHYLogeny Inference Package) is one of the earliest and most influential software suites for inferring evolutionary trees (phylogenies) from molecular sequences, morphological characters, and gene frequencies. Created by evolutionary biologist Dr Joseph Felsenstein at the University of Washington and first released in October 1980, it remains a foundational cornerstone of computational biology and bioinformatics.
The PHYLIP format remains an important bioinformatics file structure. In brief, the standard PHYLIP alignment file consists of a single header line followed by the sequence data:
- Header Line: Contains two integers separated by whitespace—the number of taxa (species/sequences) followed by the length of the alignment (number of characters/sites).
- Sequence Records: Each line begins with a sequence identifier (taxon name) followed by the aligned sequence characters (using standard IUPAC codes and – for gaps).
A standard PHYLIP example
4 30 Human ATGCGTAACG TTAGCTAGCT AGCTAGCTAG Chimp ATGCGTAACG TTAGCTAGCT AGCTAGCTAA Gorilla ATGCGTAACG TTAGCTAGCT AGCTAGTTAG Orangutan ATGCGTAACG TTAGCTAGCT GGCTAGTTAG
Authorship: created by Mike Dohm with ChatGPT, OpenAI’s GPT-6.2, as primary coder.
Character Matrix to PHYLIP Converter
Upload a CSV character matrix or paste the data below. The first column should contain taxon names. All remaining columns should contain character states coded as 0 or 1.
Example input:
taxa,trait01,trait02,trait03 Pikachu,1,0,1 Snorlax,1,1,0 Mewtwo,0,1,1
Upload CSV file:
Or paste CSV data:
PHYLIP output