reg-gen icon indicating copy to clipboard operation
reg-gen copied to clipboard

gProfileR URI should be improved

Open fabio-t opened this issue 6 years ago • 3 comments

  • the organism should be added
  • evaluate all needed options
  • gene names should be sanitised before joining

fabio-t avatar Feb 18 '19 10:02 fabio-t

Possible changes to the gProfiler link in the enrichment report, @JuliaGeh

gProfilerPrefix = "https://biit.cs.ut.ee/gprofiler/gost?organism=hsapiens&query=

gProfilerSuffix = "&ordered=false&all_results=false&no_iea=false&combined=false&measure_underrepresentation=false&domain_scope=annotated&significance_threshold_method=g_SCS&user_threshold=0.05&numeric_namespace=ENTREZGENE_ACC&sources=GO:MF,GO:CC,GO:BP,KEGG,TF,REAC,MIRNA,HPA,CORUM,HP,WP"

gProfilerPrefix + "+".join(gene_name_list) + gProfilerSuffix

fabio-t avatar Mar 25 '19 16:03 fabio-t

@JuliaGeh please fix enrichment output (genes should not have strand or empty parentheses)

TST( ) CACNA1I(-) 

fabio-t avatar Apr 04 '19 12:04 fabio-t

I've removed the gprofiler link altogether, as the API has changed too much (now it needs a post request). I've tried to fiddle with javascript to send a json POST request and print out the huge json response in html, but it's not a very efficient approach.

gprofiler provides an official python API - we should make use of it somehow, and link it to the report.

fabio-t avatar Jan 24 '20 17:01 fabio-t