GAF file QC
From GO Public
The following quality control checks should be performed before submitting a GAF file to the Gene Ontology Consortium.
Remove any duplicate lines in the file (this can be easily accomplished by performing sort -u on Unix)
Ensure all external entities referenced in the file (e.g. in the with/from column) use the correct database prefix, as specified in the xref abbreviations file