R Wrapper For The Genecodis Api?
1
3
Entering edit mode
14.3 years ago
Mike Dewar ★ 1.6k

The service GeneCoDis (which performs various types of enrichment) has a seemingly fully-fledged API

http://genecodis.dacya.ucm.es/webservices/

(which means it beats DAVID imho, whose web API seems a little shaky)

I was wondering if anyone knew of an R (or Python) based wrapper for the API?

If not, does anyone have any experience with GeneCoDis, and would there be any interest in an R/Python wrapper for GeneCoDis were I to go ahead and make one?

api r python • 3.4k views
ADD COMMENT
0
Entering edit mode

As a side note, as this API appears to be SOAP based, does anyone know any other services I can use, programatically, to do (at least) GO enrichment? I thought this would be an easy job, but it's proving a pain.

ADD REPLY
0
Entering edit mode

You may also check the related questions about GO enrichment at BioStar : Tools To Find Gene Ontology Term Enrichment

ADD REPLY
0
Entering edit mode

@Khader - the problem with most of the answers there is that they require you to use web UIs. There's only so many times I can click on a drop-down saying "mus musculus" before I need to write a wrapper.

ADD REPLY
1
Entering edit mode
14.3 years ago

GeneCODIS looks interesting, especially the options beyond GO. Just tried a list of genes, but surprised to note that it gives no enriched pathway results. But I do have 7 enriched KEGG pathways in my list. They are providing open port with WSDL, you can write a wrapper script using R / Python. They provide example using perl module SOAP::Lite, I think the Python equivalent will be SOAP.py (you may also check this discussion on StackOverflow about Python based SOAP modules) and R equivalent will RSOAP / RWebServices

It is not clear to me why you need to use a SOAP based framework for enrichment calculation. You can perform GO enrichment using BioConductor packages. For example GOStats / topGO.

ADD COMMENT
0
Entering edit mode

To be honest I'm having trouble with GOstats in R - for some reason I can't quite figure it out. It seems to be requiring annotation files, which I guess is for a background comparison? My lists of genes are going to be from multiple arrays, and so I'm not sure how to proceed. I had forgotten topGO, though. Thanks!

ADD REPLY
0
Entering edit mode

The impression I'm getting about SOAP so far is that it's a pain to use. I'm definitely not desperate to write a wrapper, but I thought that in the end, having one wrapper to do all my GO and KEGG enrichment would be worth the investment.

ADD REPLY
0
Entering edit mode

It is not clear to me what do you mean by multiple arrays ?

ADD REPLY
0
Entering edit mode

@Khader - sorry! I mean, I've used RankProd to assemble a list of genes from experiments using different types of arrays. Rather than compare their expression directly, I've looked at their position across a set of ranked lists.

ADD REPLY
0
Entering edit mode

I guess this also begs the question of whether I should rely on online services (I suppose DAVID etc provide a standard background list for each organism) or should I have a copy of the GO, KEGG pathways etc on my machine and do all my analysis offline. I'm tempted to try to rely on services as much as possible, as I'm guessing they're better at curating databases than I am.

ADD REPLY
0
Entering edit mode

If you are looking at an alternative programmatic access for GO enrichment which can deal with flexible background, I will recommend GO::TermFinder from Gavin Sherlock's group.

For KEGG ernichment, you may try SubPathwayMiner

ADD REPLY
0
Entering edit mode

Is it worth learning Perl to use the GO-TermFinder? I've got by so far with R and Python, but Perl's been lurking there in the background...

ADD REPLY
0
Entering edit mode

Not sure if there is any equivalent in Python for GO-TermFinder. I am sure there could be a R/BioC package that allow for flexible background definitions. You may modify / post another question about that or you could also check at BioC mailing list.

ADD REPLY

Login before adding your answer.

Traffic: 1904 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