diff options
author | Munyoki Kilyungi | 2023-05-26 15:05:09 +0300 |
---|---|---|
committer | BonfaceKilz | 2023-05-30 11:51:30 +0300 |
commit | a25674dc0d87911db69e4a1b9732967779b9a928 (patch) | |
tree | 836f8ea93d29215eba8a8bb6d60584a2fcde81f7 | |
parent | 646194d11a8fa3e7ee6339af194b93e5af1ae48e (diff) | |
download | gn-transform-databases-a25674dc0d87911db69e4a1b9732967779b9a928.tar.gz |
Sanitize a probeset's description
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rwxr-xr-x | examples/dump-probeset.scm | 3 |
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 |