aboutsummaryrefslogtreecommitdiff
path: root/examples/dump-probeset.scm
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-05-29 18:11:50 +0300
committerBonfaceKilz2023-05-30 11:51:30 +0300
commit2260b56a4f8e896ea9912efe98a8b74f57660b16 (patch)
tree39b300ead4e8c884731196f6f3eabacc9cdbaa24 /examples/dump-probeset.scm
parentdfa7af5f422ea90f88025754e7f013ab3c6f8306 (diff)
downloadgn-transform-databases-2260b56a4f8e896ea9912efe98a8b74f57660b16.tar.gz
Dump OMIM as a normal string without any annotation
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'examples/dump-probeset.scm')
-rwxr-xr-xexamples/dump-probeset.scm5
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/dump-probeset.scm b/examples/dump-probeset.scm
index c28f7dd..730e914 100755
--- a/examples/dump-probeset.scm
+++ b/examples/dump-probeset.scm
@@ -54,10 +54,7 @@
(set gn:blatSeq (sanitize-rdf-string
(string-trim-both (field ProbeSet BlatSeq))))
(set gn:targetSeq (sanitize-rdf-string (field ProbeSet TargetSeq)))
- (set gn:omim
- (ontology
- 'omim:
- (field ("IF(ProbeSet.OMIM REGEXP '^-?[0-9]+$' > 0, ProbeSet.OMIM, '')" OMIM))))
+ (set gn:omim (sanitize-rdf-string (string-trim-both (field ProbeSet OMIM))))
(set gn:RefSeq_TranscriptId (field ProbeSet RefSeq_TranscriptId))
(set gn:uniProtReference (ontology 'uniprot:
(field ProbeSet UniProtID)))))