Introduction
FASTA is a text format for nucleotide and protein sequences, accepted among other tools
by NCBI’s BLAST.
Files are named for example .fasta or .fa; .fna
marks nucleic acid sequences and .faa amino acid sequences.
Structure
A sequence begins with a description line starting with >, followed by
lines of sequence written in the IUB/IUPAC letter codes. For indexed access,
samtools faidx needs the sequence
wrapped at a fixed length and writes a .fai file beside it, with the
tab-delimited columns name, length, offset, bases per line and bytes per line.
Not described
This page is a first outline.
Known, not yet covered
- Reference: the full letter codes and the identifier conventions of description lines.
- Viewer: the site has no viewer for this format.
Links
Software
- samtools faidx – indexes FASTA and FASTQ files and extracts regions
Reference
- BLAST query input – NCBI’s description of FASTA input
- faidx(5) – the .fai index format
- FASTA format – summary, with the common file extensions