Phylip to Fasta Sequence Converter

Provided by bugaco.com
Convert file from: to
Alphabet: None DNA RNA Protein Nucleotide


Input format: phylip An alignment format. Truncates names at 10 characters.

Output format: fasta This refers to the input FASTA file format introduced for Bill Pearson's FASTA tool, where each record starts with a '>' line. Resulting sequences have a generic alphabet by default.

How to convert from phylip to fasta ?

You can also convert between these formats by using command line tools.
  • On Windows install WSL, on Mac or Linux start terminal
  • Install BioPython
  • Run following script:
    from Bio import SeqIO
    
    records = SeqIO.parse("THIS_IS_YOUR_INPUT_FILE.phylip", "phylip")
    count = SeqIO.write(records, "THIS_IS_YOUR_OUTPUT_FILE.fasta", "fasta")
    print("Converted %i records" % count)
  • Or you can use this site as online phylip to fasta converter by selecting your formats & file.

    Sequence Converter Home page

    Copyright 2000-2020 bugaco.com