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

changes to Petagraph Version 1 #2

Open
benstear opened this issue Nov 6, 2023 · 0 comments
Open

changes to Petagraph Version 1 #2

benstear opened this issue Nov 6, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@benstear
Copy link
Collaborator

benstear commented Nov 6, 2023

  • change GTEXEQTL TO HGNC relationship from located_in and location_of to target and target_of
match (gtex_code {SAB:'GTEXEQTL'})-[:CODE]-(gtex:Concept)-[r:location_of]-(hgnc:Concept)-[:CODE]-(:Code {CodeID:'HGNC:52402'})
CALL apoc.refactor.setType(r, 'target_of')
YIELD input, output
RETURN input, output
  • change SAB for SCHEART to ASP2019 , and change AUTHOR SAB to ASP2019CLUSTER
match (a:Code {SAB:'SCHEART'})-[r0:CODE]-(b:Concept)-[r1:expressed_in]-(c:Concept)-[r2:CODE]-(d:Code {SAB:'HGNC'})
match (b)-[]-(e:Concept)-[:CODE]-(f:Code {SAB:'ASP2019CLUSTER'})
//set f.SAB = 'ASP2019CLUSTER'  // ORIGINALLY WAS 'AUTHOR'
set a.SAB = 'ASP2019' // ORIGINALLY WAS 'SCHEART'
return * limit 1
@benstear benstear added the enhancement New feature or request label Nov 6, 2023
@benstear benstear self-assigned this Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant