diff options
author | Munyoki Kilyungi | 2024-08-14 09:47:38 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2024-08-14 09:47:38 +0300 |
commit | 1fc941e3b51990fe485b2283b4ad08d1cf727213 (patch) | |
tree | a14ae57c0cf12dd1b6a2ee0792d7988101a71ba5 /examples | |
parent | bd97297c579b4628d8cbff1529abba2b58bd3233 (diff) | |
download | gn-transform-databases-1fc941e3b51990fe485b2283b4ad08d1cf727213.tar.gz |
Make symbol field a multiset in probeset transform.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/probeset.scm | 6 |
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 |