Skip to content

Write query to cover current FlyBase->VFB transgene linkouts #27

@dosumis

Description

@dosumis

The following query produces a standard FLyBase linkout table with 1-2 links per FB construct.

MATCH (f:Feature)<-[]-(ep:Class)-[dbx:hasDbXref]->(s:Site { short_form: 'FlyLight'})
WITH f, ep MATCH (ep)<-[:INSTANCEOF]-(i:Individual)
<-[]-(channel:Individual)-[irw:in_register_with]->(t:Individual) 
WITH distinct f.short_form AS `#FlyBase ID`, collect(i.short_form)[0] AS DBID, 
t.label as template
 RETURN `#FlyBase ID`, 'VFB' as DBNAME, DBID ORDER BY `#FlyBase ID`

=>

#FlyBase ID DBNAME DBID
"FBtp0057296" "VFB" "VFB_00020468"
"FBtp0057297" "VFB" "VFB_00023198"
"FBtp0057299" "VFB" "VFB_00020592"
...

Link recipe:
https://virtualflybrain.org/reports/VFB_00068899

Thumbnail link recipe:
https://virtualflybrain.org/reports/VFB_00068899/thumbnail.png

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions