Input format: clustal The alignment format of Clustal X and Clustal W.
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 clustal to fasta ?
You can also convert between these formats by using command line tools.Sequence Converter Home page
Or you can use this site as online clustal to fasta converter by selecting your formats &
On Windows install WSL, on
or Linux start
Run following script:
from Bio import SeqIO records = SeqIO.parse("THIS_IS_YOUR_INPUT_FILE.clustal", "clustal") count = SeqIO.write(records, "THIS_IS_YOUR_OUTPUT_FILE.fasta", "fasta") print("Converted %i records" % count)