aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-12-20 01:12:50 +0300
committerMunyoki Kilyungi2023-12-22 11:53:23 +0300
commit6d2091f91a8b16a17acdf0c9ada085130e82df14 (patch)
tree7338cb463e56f48712e3a0a334343b2f24860935 /examples
parent793d383b816b6baec63dc7adc9ec74d2dca4a4c9 (diff)
downloadgn-transform-databases-6d2091f91a8b16a17acdf0c9ada085130e82df14.tar.gz
Update handling of RGD_ID field in genelist metadata transform.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/genelist.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/genelist.scm b/examples/genelist.scm
index 7bee085..61d2174 100755
--- a/examples/genelist.scm
+++ b/examples/genelist.scm
@@ -251,7 +251,8 @@
(set gnt:hasUnigenID (string-trim-both (field GeneList UnigenID)))
(set gnt:hasProteinID (string-trim-both (field GeneList ProteinID)))
(set gnt:hasAlignID (string-trim-both (field GeneList AlignID)))
- (set gnt:hasRgdID (field GeneList RGD_ID))))
+ (set gnt:hasRgdID
+ (field ("IFNULL(RGD_ID, '')" RGD_ID)))))
(define-transformer genelist-rn33
(tables (GeneList_rn33))