This is a test version of Biostars. For the public version, visit https://www.biostars.org.
GO terms associated to a list of genes

I have a list of genes (HGCN ID, gene name). I need to get, for each gene, the list of GO terms (only the Biological Process terms) associated to it. I DON'T need an enrichment analysis but simply I need to get all the GO terms associated to each of the gene. I found this answer that suggests to use biomart: How Do I Do Simple Go Term Lookup Given A Gene (Or Mrna) Identifier?, unfortunately it doesn't work (it's 4 years old so biomart might have been changed). What would be the easies way to get all the GO terms? I'd prefer to create a script using python or R as I have many genes and do it manually for each of them is not worthy. Any suggestion?

go gene-ontology biological-process

2 answers

You use BioMart. There's a help video here. Just filter by ID list limit, choosing HGNC name, then get GO terms are attributes.

Have you resolved your question?

Log in to answer this question.