Cluego CyREST implementation - no GO terms/pathways found

19 views
Skip to first unread message

nivedas...@gmail.com

unread,
Nov 1, 2019, 3:42:11 PM11/1/19
to cytoscape-helpdesk
Hi,
I am using the CyREST implementation to run ClueGO on Cytoscape. I use the following code to a) Run analysis and b) Save results to an output file:
  # Run the analysis an save log file
  analysis_name
= "ClueGO Network"
  selection
= "Continue analysis"                                                                        
  response
= requests.get(CLUEGO_BASE_URL+SEP+analysis_name+SEP+selection, headers=HEADERS)
 
 
# Get network id (SUID) (CyRest function from Cytoscape)
  response
= requests.get(CYTOSCAPE_BASE_URL+SEP+"networks"+SEP+"currentNetwork", headers=HEADERS)
  current_network_suid
= response.json()['data']['networkSUID']
 
 
# 4.2 Get ClueGO result table
 
if output_cluego:
    response
= requests.get(CLUEGO_BASE_URL+SEP+"analysis-results"+SEP+"get-cluego-table"+SEP+str(current_network_suid))
    table_file_name
= output_cluego
    writeLines
(response.text,table_file_name)

On occasions where there are no pathways found for my list of input, the user shown a pop-up message indicating that no GO terms/pathways were found for their input. Only when the user click on the 'Ok' button does the script proceed to the next step. Since I am trying to avoid user intervention, is there any way in my script to capture this pop-up and proceed without any user intervention. Please advice.

Bernhard

unread,
Nov 1, 2019, 6:30:53 PM11/1/19
to cytoscape-helpdesk
Hi Niveda, this is a bug to fix. Thanks for reporting it.
Best
Reply all
Reply to author
Forward
0 new messages