Gprofiler issues on organism input in gost function
1
0
Entering edit mode
20 months ago
ilaria • 0

Hi!

I'm trying to convert a list of differentially expressed genes, from gene _id (ex: MGG_xx) using gost function (gprofiler) to get the GO. The reference organism (Pyricularia oryzae 70-15) is supposed to be inside gprofiler, but I'm getting trouble defining the organism in the function.

Here the script I'm using:

library(gprofiler2)
library(dplyr)

genelist<-as.vector(rownames(deg))
View(genelist)

gostres <- gost(query = genelist, organism = "poryzae70-15", ordered_query = FALSE, 
                multi_query = FALSE, significant = TRUE, exclude_iea = FALSE, 
                measure_underrepresentation = FALSE, evcodes = TRUE, 
                user_threshold = 0.05, correction_method = "g_SCS", 
                domain_scope = "annotated", custom_bg = NULL, 
                numeric_ns = "", sources = NULL)

The error I'm getting is the following, and it is the same no matter the entry I use in organism:

Error in gost(query = genelist, organism = "poryzae70-15", ordered_query = FALSE,  : 
  Bad request, response code 400

Did anyone face the same issue before? Any suggestion to solve it? Thanks!

Annotation gprofiler gost • 1.6k views
ADD COMMENT
0
Entering edit mode

hi ilaria,

Welcome to the forum.

Please use the formatting bar (especially the code option) to present your post better. I've done it for you this time.
code_formatting

Thank you!

ADD REPLY
0
Entering edit mode

Sure, thak you!

ADD REPLY
0
Entering edit mode

I know this doesn't address your error, but could you use the g:Profiler website instead of using R?

ADD REPLY
0
Entering edit mode

I was actually trying in R, of course, the website query worked. Anyway, I was able to discover the id species right through the website query! So I could work in R.

ADD REPLY
1
Entering edit mode
20 months ago

Hi Ilaria,

With the random gene IDs of your organism the query seems to work fine. In case you still have trouble getting the results, please contact us at biit.support@ut.ee or via the contact form on our website https://biit.cs.ut.ee/gprofiler/page/contact. It would be beneficial if you add an example of your input so that we could investigate it further.

On behalf of the g:Profiler team, Hedi.

ADD COMMENT

Login before adding your answer.

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