Skip to content

changes to Petagraph Version 1 #2

@benstear

Description

@benstear
  • 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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions