about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-08-14 09:47:38 +0300
committerMunyoki Kilyungi2024-08-14 09:47:38 +0300
commit1fc941e3b51990fe485b2283b4ad08d1cf727213 (patch)
treea14ae57c0cf12dd1b6a2ee0792d7988101a71ba5
parentbd97297c579b4628d8cbff1529abba2b58bd3233 (diff)
downloadgn-transform-databases-1fc941e3b51990fe485b2283b4ad08d1cf727213.tar.gz
Make symbol field a multiset in probeset transform.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rwxr-xr-xexamples/probeset.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/probeset.scm b/examples/probeset.scm
index f2ee324..77448c2 100755
--- a/examples/probeset.scm
+++ b/examples/probeset.scm
@@ -79,8 +79,10 @@
     (set gnt:hasTargetId
          (field ("NULLIF(TRIM(ProbeSet.TargetId), '')"
                  TargetId)))
-    (set gnt:geneSymbol
-         (field ProbeSet Symbol))
+    (multiset gnt:geneSymbol
+              (map string-trim (string-split
+                                (field ProbeSet Symbol)
+                                #\,)))
     (set dct:description (sanitize-rdf-string (field ProbeSet description)))
     (set gnt:targetsRegion
          (sanitize-rdf-string