Blast2GO Blog


How to export Gene Finder GFF output with GO terms?

After running Gene Finding within Blast2GO I ended up with a GFF containing the genome coordinates and also a Blast2GO project.
With the project, I can run the full functional annotation steps Blast, InterProScan, Mapping and Annotation.
Now it would be nice if I could export a GFF file retrieved from Gene Finding containing the GOs from the annotated project.
This is possible with Blast2GO PRO.

To export the GFF with the GO terms first,  make sure you have both GFF and Blast2GO projects saved as .b2g and do the following:

  1. Open the Gene Finder GFF output.
  2. Go to File > Export > Export GFF.
  3. Export parameters window will open (Figure 1).
    1. Select the output folder where to save the .gff file
    2. Select the type GFF3 and GFF2/GTF
    3. Features to Export (e.g. gene, CDS, mRNA, exon)
    4. Choose to export header, Fasta
    5. Add GOs from Project - this is the option that has to be enabled to add the GOs from project to the GFF file.
    6. Blast2GO Project - provide the saved project that contains the functional annotation steps
    7. Add GOs to Type - which features type will have the GOs (e.g. CDS)
    8. Match Sequence Name to Attribute - the attribute column from the GFF jas to match the Sequence Name column of the project.
  4. Click Export - the GFF file will be generated containing the GO ids from the Project.
Export GFF with GOs from Project

Figure 1: Export GFF parameters window.

In order to have it a try, we provide the following files.
With the above-mentioned instructions and these files, you will be able to export a GFF file containing the GO terms from the Blast2GO project.
Project: citrus_sinensisch1_project.b2g
GFF: citrus_sinensisch1_gff.b2g
Exported file: citrus_sinensisch1.gff


Join our Blast2GO Google Group