Question: (Closed) How to write a GO Annotation File (GAF) in R
gravatar for lukeholman
7 months ago by
lukeholman0 wrote:

Hi there,

I recently got some help on here downloading an OrgDB using the AnnotationHub package for R. I'd like to transform the GO annotations into a slim version, for example using the command line tool Map2Slim R makes it very easy to download the annotation SQL database, but to use Map2Slim I need to save the GO annotations in the GAF file format. I've done some Googling, and it seems like there is not yet any ready-made R function to do this (or indeed, in any language). For example, in this thread, someone asks for help with the same task, and the answer is "meh, just figure out the specific requirements of the format and write a script"

Is there seriously no tool (in R, bash, or whatever) for producing a GAF, taking the standard SQL format as input? Yes, I could probably write a ton of SQL queries and make the GAF myself (it has a mere 11 essential columns that must be entered in a specific way..., but this feels like a problem that probably already has been solved.

Alternatively, is it possible to download a GAF for a named species, from NCBI or wherever? Then one could directly pipe it into Map2Slim, instead of having to get the OrgDB first.





go annotationhub gaf map2slim • 153 views
ADD COMMENTlink modified 7 months ago • written 7 months ago by lukeholman0

Hello lukeholman!

We believe that this post does not fit the main topic of this site.

This question isn't about any Bioconductor package. You might ask on

For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.

If you disagree please tell us why in a reply below, we'll be happy to talk about it.


ADD REPLYlink written 7 months ago by James W. MacDonald49k

Well, it's relevant in the sense that there is very likely to be a BioConductor package for making GO slims, and one for saving GO databases in the standard file format, but yeah, close the question if you like.

ADD REPLYlink written 7 months ago by lukeholman0
Please log in to add an answer.
The thread is closed. No new answers may be added.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 259 users visited in the last hour