diff options
author | Munyoki Kilyungi | 2023-12-15 21:32:37 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2023-12-15 21:32:37 +0300 |
commit | 4a62e17816928e271ba982038ac36fcaf72783d2 (patch) | |
tree | 5cd4240cfaa5d312694147bb3eb8e5a4c5dfb651 | |
parent | 56d09222742cbff7767ff5ff9e794b81101ef7a7 (diff) | |
download | gn-transform-databases-4a62e17816928e271ba982038ac36fcaf72783d2.tar.gz |
Use URI encoding for OMIM and homologene resource link handling.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rwxr-xr-x | examples/probeset.scm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/examples/probeset.scm b/examples/probeset.scm index 7a304ab..24c09c7 100755 --- a/examples/probeset.scm +++ b/examples/probeset.scm @@ -10,7 +10,9 @@ (transform strings) (transform sql) (transform triples) - (transform special-forms)) + (transform special-forms) + (web uri)) + (define-transformer probeset (tables (ProbeSet @@ -126,7 +128,7 @@ (format #f "<~0@*~a~1@*~a> .~%<~0@*~a~1@*~a> ~2@*~a" "http://www.ncbi.nlm.nih.gov/omim/" - omim + (uri-encode omim) "a gnc:omimLink")) ""))) ;; Homologene Link @@ -137,7 +139,7 @@ (format #f "<~0@*~a~1@*~a> .~%<~0@*~a~1@*~a> ~2@*~a" "http://www.ncbi.nlm.nih.gov/homologene/?term=" - homologene + (uri-encode homologene) "a gnc:homologeneLink")) ""))) (set gnt:uniprot |