hetionet
hetionet copied to clipboard
Unable to get gene-gene and disease-gene edges
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.
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.