Skip to content

Commit

Permalink
commit test configurations for leechuck and jerven data
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuels committed Sep 10, 2012
1 parent 0a9b13e commit 7b14ce4
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions sparql_branch_todo.txt
@@ -1,3 +1,4 @@
- block aggregation
- factor block aggregation into BlockBased.js
- support for subfeatures
- remove todo and example-query files from root dir
9 changes: 9 additions & 0 deletions sparql_jerven.json
@@ -0,0 +1,9 @@
{
"storeClass" : "JBrowse/Store/SeqFeature/SPARQL",
"urlTemplate" : "http://192.168.100.5:8098/sparql",
"type" : "JBrowse/View/Track/HTMLFeatures",
"label" : "sparql",
"key" : "SPARQL Test",
"style": { "className": "feature5" },
"queryTemplate": "PREFIX pos:<https://github.com/dbcls/bh12/wiki/Feature-Annotation-Location-Description-Ontology#> PREFIX up:<http://purl.uniprot.org/core/> PREFIX rdfs:<http://www.w3.org/2000/01/rdf-schema#> SELECT ?start ?end ?strand ?id ?Protein WHERE { ?Protein up:encodedBy ?id . ?id pos:locationOn ?location . ?location pos:begin ?sp . ?location pos:end ?ep . ?sp a pos:Position . ?sp pos:reference ?ref . ?ref rdfs:label ?strand . ?sp pos:position ?start . ?ep a pos:Position . ?ep pos:position ?end . FILTER( !(?start > {end} || ?end < {start}) ) }"
}
10 changes: 10 additions & 0 deletions sparql_local.json
@@ -0,0 +1,10 @@
{
"storeClass" : "JBrowse/Store/SeqFeature/SPARQL",
"urlTemplate" : "/sparql",
"type" : "JBrowse/View/Track/HTMLFeatures",
"label" : "sparql",
"key" : "SPARQL Test",
"style": { "className": "feature5", "arrowheadClass": "arrowhead" },

"queryTemplate": "PREFIX xsd:<http://www.w3.org/2001/XMLSchema#> PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs:<http://www.w3.org/2000/01/rdf-schema#> PREFIX pos:<http://phenomebrowser.net/gff3/#> SELECT ?id ?name ?type ?start ?end ?strand WHERE { ?id rdf:type ?te . ?te rdfs:label ?type . ?id pos:location ?location . ?location pos:start ?sp . ?sp pos:position ?start . ?location pos:end ?ep . ?ep pos:position ?end . ?sp rdf:type ?spt . ?spt rdf:label ?strand . ?id rdfs:label ?name . FILTER( !(?start > {end} || ?end < {start}) ) . FILTER( ?type = \"gene\"^^xsd:string ) }"
}

0 comments on commit 7b14ce4

Please sign in to comment.