Skip to main content
Life Science Dictionary

FASTA format

Bioinformatics · Genomics · Molecular Biology

Say it: FAST-ay FOR-mat

FASTA format is a plain-text format for DNA, RNA or protein sequences in which each record starts with a header line beginning with > followed by the sequence.

Also: FASTA, FASTA file

Definition

What is FASTA format?

FASTA format is the simplest and most common way to store and exchange biological sequences. Each record begins with a single description line, often called the header or defline, that starts with a greater-than sign (>) and gives an identifier and sometimes a short description. The lines below it hold the sequence itself, written in one-letter codes for nucleotides or amino acids. A file can hold one sequence or many, one record after another.

Because it is plain text, a FASTA file opens in any text editor and is read by almost every bioinformatics program. Sequences use the standard IUPAC letters, so N can mark an unknown base, X an unknown amino acid and a dash a gap. NCBI recommends keeping lines under 80 characters and leaving no blank lines inside the data. The format holds no quality scores, so raw sequencing reads are often stored in the related FASTQ format instead.

The name comes from the FASTA sequence-comparison programs written by William Pearson and David Lipman in the 1980s. Students meet it when downloading a gene from GenBank or pasting a query into BLAST.

Practice it

Where you'll meet it

Related

Sources

Checked against

Written for biofideX in plain words, after checking these references:

Last updated

Spotted a mistake? Tell us and we'll correct it.

Keep going

Practice Bioinformatics

Free bioinformatics quizzes, with an explanation for every answer.

See the Quizzes