# FASTA & FASTQ file formats

## FASTA and FASTQ data formats

FASTA and FASTQ are two fundamental file formats used in bioinformatics for storing nucleotide sequences.

**FASTA** is a simple text-based format that stores nucleotide or protein sequences. Each entry in a FASTA file begins with a header line starting with a '>' character, followed by the sequence identifier and optional description. The subsequent lines contain the sequence data. FASTA is widely used for sequence alignment and database searches.

**FASTQ** is an extension of the FASTA format that includes quality scores for each nucleotide. Each entry in a FASTQ file consists of four lines: a header line starting with '@' followed by the sequence identifier, a line with the sequence data, a '+' separator line, and a line with the quality scores. FASTQ is essential for storing and analyzing raw sequencing data, providing both sequence information and the associated quality metrics.

Follow the link below for more details about FASTA and FASTQ formats

{% embed url="<https://compgenomr.github.io/book/fasta-and-fastq-formats.html>" %}

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://edu.abi.am/ngs-data-analysis-and-functional-genomics/file-formats-alignment-and-genomic-features/fasta-and-fastq-file-formats.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
