This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Opening a local html file using an url in Cytoscape

Hi, I have made up a graphml file and is importing it to Cytoscape. Now the thing is that there are html files local to the user machine that contains certain edge informations (pathway). I have a data key called url and has the file path to it. But the url only prompts me to navigate to the web browser if "http" word is present in the url. But my local file donot need http so can anybody help me out in opening the local html file by giving the url as a data key through Cytoscape.

P.S: Neither http://localhost:80/path-to-file works nor file:///path-to-file.

cytoscape

1 answer

For a file to be served over http, you need a running web server so http://localhost:80/path-to-file will not work unless you have such a server running and configured to serve files from path-to-file. My guess is that the file:/// protocol doesn't work because Cytoscape is looking for http data. I am not sure I understand the problem here. If you have a file on the local machine, why not use the File > Import > Table > File menu (assuming your extra data is in a table).

Log in to answer this question.