This page documents the file formats used to store gene associations (annotations), data capturing the attributes of gene products using terms from the Gene Ontology. For more general information on annotation, please see the GO annotation guide.
Annotation File Format Guide
The Gene Ontology Consortium stores annotation data, the representation of gene product attributes using GO terms, in tab-delimited plain text files. Each line in the file represents a single association between a gene product and a GO term with a certain evidence code and the reference to support the link.
There are two annotation file formats:
- GAF 2.1 is the latest version of the GAF format. Data has been released in this format since the summer of 2015.
GAF 2.1 allows the use of pipes and comma in column 8 (with/from column) compared to GAF 2.0 which allows the use of pipes only. Pipe will indicate 'OR' and Comma will indicate 'AND'.
- GAF 2.0 is the primary format currently used by the GO Consortium.
- GAF 1.0 is a deprecated format (as of June 2010), which captures slightly less information. The GO Consortium continues to provide files in this format for users who have not yet switched to GAF 2.0.