From 1fc941e3b51990fe485b2283b4ad08d1cf727213 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Wed, 14 Aug 2024 09:47:38 +0300 Subject: Make symbol field a multiset in probeset transform. Signed-off-by: Munyoki Kilyungi --- examples/probeset.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'examples') 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 -- cgit v1.2.3