Created
April 30, 2015 19:30
-
-
Save albertmeronyo/9896a5458d9c105e532d to your computer and use it in GitHub Desktop.
SCRY paper queries
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PREFIX scry:<http://www.scry.rocks/> | |
SELECT ?pau ?desc WHERE { | |
GRAPH scry:orb_description { | |
scry:orb scry:procedure ?pau . | |
?pau scry:description ?desc . | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PREFIX scry: <http://www.scry.rocks/> | |
PREFIX math: <http://www.scry.rocks/math/> | |
SELECT ?desc ?pred ?arg { | |
GRAPH scry:orb_description { | |
{math:stdev scry:description ?desc .} | |
UNION | |
{math:stdev ?pred ?arg_node . | |
?arg_node scry:identifier ?arg_id | |
scry:description ?arg_desc .} | |
} | |
BIND(CONCAT("'",?arg_id,"' - ",?arg_desc) AS ?arg) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PREFIX scry: <http://www.scry.rocks/> | |
PREFIX blast: <http://www.scry.rocks/blast/> | |
PREFIX input: <http://www.scry.rocks/input?> | |
PREFIX output: <http://www.scry.rocks/output?> | |
SELECT ?uniprot_id ?homolog_id ?score WHERE { | |
VALUES(?uniprot_id) {("P68871") ("P02008")} | |
GRAPH ?g1 {blast:fetch_sequence input:_ ?uniprot_id ; | |
output:file ?file .} | |
GRAPH ?g2 {blast:blast input:file ?file ; | |
input:evalue "1e-20" ; | |
output:ac ?homolog_id ; | |
output:e_val ?e_value .} | |
} ORDER BY ?homolog_id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment