Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make cytoscape tool support bluegenes list page #2

Open
heralden opened this issue Dec 6, 2019 · 2 comments
Open

Make cytoscape tool support bluegenes list page #2

heralden opened this issue Dec 6, 2019 · 2 comments

Comments

@heralden
Copy link
Member

heralden commented Dec 6, 2019

Right now this visualization only supports the report page for genes or proteins. In this mode, it will run this query (filling in the symbol for gene or protein) and display a network visualization using Cytoscape.js, showing the current gene or protein in the middle, with lines representing interactions to various other genes or proteins. (You can also click on the interaction lines or nodes and more information will be displayed.)

We want this tool to be also available on the list page, where it should display all the genes or proteins in the list, with interaction lines to other genes or proteins which they interact with.

To do this we will need to:

  • Add "ids" to the accepts array in config.json
  • Set demo.html to pass the appropriate data (should be { "class": "Gene", "format": "ids", "value": [ 100, 101, 102 ] } where value is an array of gene IDs)
  • Pass on the correct data to Cymine in index.js
  • Handle this new data for a list of genes in cytoscape-intermine (whose npm package this repo wraps)

To achieve this, we will probably need to work a lot with the code in cytoscape-intermine (including a modification to the query used when on the list page, which should be to query for any in a list of gene symbols, instead of just one specific gene symbol).

@jshreyans
Copy link

jshreyans commented Mar 11, 2020

@uosl The first 2 steps seem simple enough. Its steps 3 and 4 that will require more work. If it's fine, I'd like to give this a try. I think it would be a good start to the Datavis project that I intend to work on.
I hope this issue isn't redundant now?

@heralden
Copy link
Member Author

@jshreyans This issue still applies and is a welcoming feature. Please go ahead and give it a try!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants