diff options
author | Munyoki Kilyungi | 2023-12-19 20:31:46 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2023-12-22 11:53:22 +0300 |
commit | 98b8397f788ac109a4c45bcfd5ecdef25dbd2b98 (patch) | |
tree | 314effdf45d02e22663394e6a1e0673b9a8afeac | |
parent | da5aa39b9791e697fd84cf2d4f8c881bac55d67a (diff) | |
download | gn-transform-databases-98b8397f788ac109a4c45bcfd5ecdef25dbd2b98.tar.gz |
Delete "GROUP BY" when transforming genelist/genelist_rn33 metadata.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rwxr-xr-x | examples/genelist.scm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/genelist.scm b/examples/genelist.scm index 2d94a3b..d6337bf 100755 --- a/examples/genelist.scm +++ b/examples/genelist.scm @@ -15,8 +15,7 @@ (define-transformer genelist (tables (GeneList - (left-join Species "USING (SpeciesId)")) - "GROUP BY BINARY GeneSymbol, GeneId, chromosome, txStart, txEnd") + (left-join Species "USING (SpeciesId)"))) (schema-triples (gnt:gene rdfs:domain gnc:GeneSymbol) (gnt:belongsToSpecies rdfs:domain gnc:GeneSymbol) @@ -303,8 +302,7 @@ #\,))))) (define-transformer genelist-rn33 - (tables (GeneList_rn33) - "GROUP BY BINARY GeneSymbol, chromosome, txStart, txEnd") + (tables (GeneList_rn33)) (triples (string->identifier "gene" (regexp-substitute/global #f "[^A-Za-z0-9:]" |