From a25674dc0d87911db69e4a1b9732967779b9a928 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Fri, 26 May 2023 15:05:09 +0300 Subject: Sanitize a probeset's description Signed-off-by: Munyoki Kilyungi --- examples/dump-probeset.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/dump-probeset.scm b/examples/dump-probeset.scm index 57d0c60..bbf5d8d 100755 --- a/examples/dump-probeset.scm +++ b/examples/dump-probeset.scm @@ -37,7 +37,8 @@ (set gn:chipOf (string->identifier "platform" (field GeneChip Name))) (set gn:name (field ProbeSet Name)) (set gn:symbol (field ProbeSet Symbol)) - (set gn:description (field ProbeSet description)) + (set gn:description (sanitize-rdf-string + (field ProbeSet description))) (set gn:chr (field ProbeSet Chr)) (set gn:mb (annotate-field (field ("IFNULL(ProbeSet.Mb, '')" Mb)) '^^xsd:double)) (multiset gn:tissue (map string-trim-both -- cgit v1.2.3