aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-05-26 15:05:09 +0300
committerBonfaceKilz2023-05-30 11:51:30 +0300
commita25674dc0d87911db69e4a1b9732967779b9a928 (patch)
tree836f8ea93d29215eba8a8bb6d60584a2fcde81f7
parent646194d11a8fa3e7ee6339af194b93e5af1ae48e (diff)
downloadgn-transform-databases-a25674dc0d87911db69e4a1b9732967779b9a928.tar.gz
Sanitize a probeset's description
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rwxr-xr-xexamples/dump-probeset.scm3
1 files changed, 2 insertions, 1 deletions
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