diff options
author | Munyoki Kilyungi | 2023-07-26 13:43:33 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2023-07-31 13:12:24 +0300 |
commit | c179a0fcf762804dcfe27fb23760ace35f19e016 (patch) | |
tree | d9cce170789460528f808df3be4b6a725399ad69 /examples/dump-probeset-metadata.scm | |
parent | 04c28dfe05dc3e2cadad75890a630b227be60900 (diff) | |
download | gn-transform-databases-c179a0fcf762804dcfe27fb23760ace35f19e016.tar.gz |
Replace "gn-term" with "gnt" prefix
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'examples/dump-probeset-metadata.scm')
-rwxr-xr-x | examples/dump-probeset-metadata.scm | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/examples/dump-probeset-metadata.scm b/examples/dump-probeset-metadata.scm index 6da1eb0..ddbea5e 100755 --- a/examples/dump-probeset-metadata.scm +++ b/examples/dump-probeset-metadata.scm @@ -24,14 +24,14 @@ "WHERE ProbeSetFreeze.public > 0 AND ProbeSetFreeze.confidentiality < 1") (schema-triples (gn:probesetData rdfs:range gn:probeset) - (gn-term:hasProbeset rdfs:range rdfs:Literal)) + (gnt:hasProbeset rdfs:range rdfs:Literal)) (triples (string->identifier "probesetData" (field ("CONCAT(ProbeSetFreeze.Name,':',IFNULL(ProbeSet.Name, ProbeSet.Id))" ProbeSetName))) (set rdf:type 'gn:probesetData) - (set gn-term:hasProbeset + (set gnt:hasProbeset (ontology 'probeset: (regexp-substitute/global @@ -39,34 +39,34 @@ (field ("IFNULL(ProbeSet.Name, ProbeSet.Id)" name)) 'pre "_" 'post))) - (set gn-term:probesetOfDataset + (set gnt:probesetOfDataset (ontology 'probeset: (regexp-substitute/global #f "[^A-Za-z0-9:]" (field ProbeSetFreeze Name) 'pre "_" 'post))) - (set gn-term:mean + (set gnt:mean (annotate-field (field ("IFNULL(ProbeSetXRef.mean, '')" mean)) '^^xsd:double)) - (set gn-term:se + (set gnt:se (annotate-field (field ("IFNULL(ProbeSetXRef.se, '')" se)) '^^xsd:double)) - (set gn-term:locus (field ProbeSetXRef Locus)) + (set gnt:locus (field ProbeSetXRef Locus)) (set gn:LRS (annotate-field (field ("IFNULL(ProbeSetXRef.LRS, '')" LRS)) '^^xsd:double)) - (set gn-term:pValue + (set gnt:pValue (annotate-field (field ("IFNULL(ProbeSetXRef.pValue, '')" pValue)) '^^xsd:double)) - (set gn-term:additive + (set gnt:additive (annotate-field (field ("IFNULL(ProbeSetXRef.additive, '')" additive)) '^^xsd:double)) - (set gn-term:h2 + (set gnt:h2 (annotate-field (field ("IFNULL(ProbeSetXRef.h2, '')" h2)) '^^xsd:float)))) @@ -79,7 +79,7 @@ (table-metadata? #f) (prefixes '(("gn:" "<http://genenetwork.org/id/>") - ("gn-term:" "<http://genenetwork.org/id/>") + ("gnt:" "<http://genenetwork.org/id/>") ("rdf:" "<http://www.w3.org/1999/02/22-rdf-syntax-ns#>") ("rdfs:" "<http://www.w3.org/2000/01/rdf-schema#>") ("xsd:" "<http://www.w3.org/2001/XMLSchema#>"))) |