Off topic:How to write a GO Annotation File (GAF) in R
0
0
Entering edit mode
lukeholman • 0
@lukeholman-16693
Last seen 5.7 years ago

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 https://github.com/owlcollab/owltools/wiki/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" https://www.biostars.org/p/129057/

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... http://geneontology.org/page/go-annotation-file-format-20), 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.

Cheers,

Luke

 

 

GO GAF annotationhub Map2Slim • 537 views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 843 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6