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

Unable to get gene-gene and disease-gene edges #59

Open
Tabatabaei1999 opened this issue Dec 2, 2024 · 1 comment
Open

Unable to get gene-gene and disease-gene edges #59

Tabatabaei1999 opened this issue Dec 2, 2024 · 1 comment

Comments

@Tabatabaei1999
Copy link

Hello,

I would like to download the gene-gene and disease-gene edges(from https://neo4j.het.io/browser/). However, when I attempt to click on them, the website breaks after some time. Could you please advise me on how to download them successfully?

Thank you.

@dhimmel
Copy link
Member

dhimmel commented Dec 2, 2024

Hmm, this Cypher query finds all 27,977 gene-gene edges and just took 340 milliseconds for me to run at https://neo4j.het.io/browser/, so something is going wrong for you:

MATCH (gene:Gene)-[rel]-(disease:Disease)
RETURN
  gene.identifier AS gene_id,
  gene.name AS gene_name,
  disease.identifier AS disease_id,
  disease.name AS disease_name,
  type(rel) AS rel_type
ORDER BY gene_id DESC

There are also several formats of bulk downloads available for Hetionet. The TSV or JSON formats would allow you to easily extract all gene-gene and disease-gene edges.

@dhimmel dhimmel transferred this issue from hetio/hetnetpy Dec 2, 2024
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