Hi!
I'm wondering if theres is a simple way or package that I can use to retrieve all GO terms that are associated to all genes that I have in a .txt file in python. I'm currently aware of packages like mygene, etc. However, all of them does not contain any function that gives all the GO terms.
Thank you in advance!
I know it's not python, but you can definitely do that in R (I am also a python programmer but I went for R in that particular aspect).
Have a look at GO.db: https://bioconductor.org/packages/release/data/annotation/html/GO.db.html
With a quick view I didnt found any method that can output the desired atributes. Is there any one that can make the conversion of gene2GOterm ? Anyway, I'll see the doc with more attention!
Well, it strongly depends on the oganism you work with! 99.9% you don't have such luck that someone already annotated all of them. Perhaps you should try something like Blast2GO where you input sequences and you get GOTerms out.
I'll look upon that! Thanks!
If you can find the file with gene names and the terms you need. (maybe some file in http://www.geneontology.org/) Then it's just the dataframe processing job..