dondi / GRNsight

Web app and service for modeling and visualizing gene regulatory networks.
http://dondi.github.io/GRNsight
BSD 3-Clause "New" or "Revised" License
17 stars 8 forks source link

Problems opening .sif and .graphml files #1079

Closed kdahlquist closed 6 months ago

kdahlquist commented 8 months ago

I'm having an intermittent problem opening .sif files in beta 7.0.8. Sometimes I can open one and sometimes it won't load after selecting it in the open dialog. After that the open button on the left panel also becomes unresponsive. I'm using latest version of Firefox as my browser.

kdahlquist commented 8 months ago

It's not intermittent. I discovered that it is definitely nonfunctional in beta 7.0.8, but I can open the .sif file in production 6.0.7. The production functionality has a different problem that I will report in a different issue. I think that this will block our ability to release 7.0.8 to production because it is a major regression of functionality. 21-genes_31-edges_Schade-data_input.zip

kdahlquist commented 8 months ago

Tested a .graphml file and it also doesn't open in beta 7.0.8. I zipped the graphml file because Github doesn't support its filetype. 4-gene_4-edge_Manual-Cytoscape_test-naming.zip

kdahlquist commented 8 months ago

Note that .graphml files cannot contain PPI network information, so it will only be a GRN.

For unweighted sif, "pd" means it is a GRN. "pp" means it is a PPI.

For weighted sif, then it can only be GRN.

I think this is talked about in #1066

dondi commented 7 months ago

PR has been merged into beta but the merge might not have interacted well with the preceding merge. @ntran18 and possibly @ceciliazaragoza/@akaiap can help test the new version following the PR checklist

ntran18 commented 7 months ago

I test the function locally and it works. @ceciliazaragoza also helped me to test it. I will talk to Dondi to know more about what the problem is.

ntran18 commented 7 months ago

I tried to ssh to the server to stop it and rerun again. However, I wasn't able to stop it. My question is, is the beta currently running the latest version?

dondi commented 7 months ago

@ntran18 you can do a git pull while cd’ed into GRNsight-beta to make sure that it has the latest code

ceciliazaragoza commented 7 months ago

After taking a look at the server, it seems that there is an npm run start-dev process running on a deleted screen. We are unable to view the console logs from npm run start-dev on the current screen, and when we try running the NODE_ENV command, it says that the port is already in use.

ntran18 commented 7 months ago

The code is updated, but I found an error in my code. For sif file, we have two workbookType - Weighted and Unweighted. I know if the import file have pp or pd, it determine the networkMode. How about if it's not either pp or pd, but is a value. It's a weighted workbook, but then what is the type?

dondi commented 7 months ago

If I recall correctly, the presence of weights implies that the graph is a GRN because PPIs don’t have weighted edges. We can verify this with @kdahlquist at our meeting

kdahlquist commented 7 months ago

Yes, the presence of weights means that it is a GRN. We don't support weights for PPI yet. If we ever do, then we'd need to come up with a way to distinguish weighed sifs. But for the moment, they should be treated as weighted GRNs.

ntran18 commented 6 months ago

This issue is fixed.

kdahlquist commented 6 months ago

I have confirmed that I can open three types of sif files, unweighted GRN, weighted GRN, and unweighted sif in beta 7.0.13