diff options
author | Munyoki Kilyungi | 2023-08-21 14:49:55 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2023-08-21 14:49:55 +0300 |
commit | 849874fdfe11003f05abe5f82efde974a8c8a388 (patch) | |
tree | 902774358126ed3e74d3d7d2ffb9853b6fb22f71 /examples/dump-generif.scm | |
parent | 0d651ee8ef5f82a2fc3339329d2c0af6f84a745f (diff) | |
download | gn-transform-databases-849874fdfe11003f05abe5f82efde974a8c8a388.tar.gz |
Rename define-dump -> define-transformer
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'examples/dump-generif.scm')
-rwxr-xr-x | examples/dump-generif.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/dump-generif.scm b/examples/dump-generif.scm index 0689f57..f754274 100755 --- a/examples/dump-generif.scm +++ b/examples/dump-generif.scm @@ -18,7 +18,7 @@ -(define-dump dump-genewiki-symbols +(define-transformer dump-genewiki-symbols (tables (GeneRIF_BASIC (left-join Species "USING (SpeciesId)")) "GROUP BY GeneId ORDER BY BINARY symbol") @@ -37,7 +37,7 @@ (string-split (field ("GROUP_CONCAT(DISTINCT TaxID)" taxId)) #\,))))) -(define-dump dump-gn-genewiki-entries +(define-transformer dump-gn-genewiki-entries (tables (GeneRIF (left-join GeneRIF_BASIC "USING (symbol)") (left-join Species "ON Species.SpeciesId = GeneRIF.SpeciesId") @@ -101,7 +101,7 @@ (cut string-split-substring <> "::::") comments)))))) -(define-dump dump-ncbi-genewiki-entries +(define-transformer dump-ncbi-genewiki-entries (tables (GeneRIF_BASIC) "GROUP BY GeneId, comment, createtime") (schema-triples |