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

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!

python go terms

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!

1 answer

Try GeneSCF. It gives all the GO terms related to the list your give as input (irrespective of whether the term is significantly enriched or not). Also using 'prepare_database' (example) module from GeneSCF, you can download entire gene ontology terms with corresponding genes as a simple text file in table format.

Thanks! This is a very usefull tool! However, it only runs in linux? Or there is also a version for Windows?

Log in to answer this question.