aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2023-07-30Capitalize species identifier...Replace gn:species_mus_musculus with gn:species:Mus_musculus. Munyoki Kilyungi
2023-07-30Add string-capitalize-first...* dump/strings.scm: Export string-capitalize-first (string-capitalize-first): New function. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-07-30Make string->identifier take optional keyword args...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-07-30Make dump-data? default to #f when dumping data...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-07-30Rewrite dump-with-documentation to be order-agnostic...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-07-30Dump dataset metadata with documentation...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-07-30Dump publication metadata with documentation...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-07-30Dump tissue metadata with documentation...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-07-30Dump species metadata with documentation...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-07-30Conditionally dump documentationMunyoki Kilyungi
2023-07-30Make prefix function have an optional ttl?...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-07-30Revert "Pass port as an optional argument"...This reverts commit 195ca590be5533935cf708d49fcb3736b3c78643. Munyoki Kilyungi
2023-07-30Add missing srfi-26 import...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-07-30Create a new procedure for shadowing a file port...* dump/documentation.scm (dump): Export call-with-documentation. (call-with-documentation): New function. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-07-30Rename auto-documentation-port -> path...We don't need to pass around ports as part of a configuration when we can instead pass in a path that can be used to open a port. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-07-30Move dump-configuration record type to (dump documentation)...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-07-30Construct example SQL query and expected resultsMunyoki Kilyungi
2023-07-30Pass port to scm->triples...* dump/triples.scm (scm->triples): Make define have an optional arg fn that defaults to "triple". Munyoki Kilyungi
2023-07-30Pass port as an optional argument...* dump/triples.scm (triple): Add port as an optional argument. Defaults to #t. This enables us to use triple to print to other ports E.g in the case of dumping documentation to a different file. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-07-30Print out triples with the from Table.Name or Table.Alias...* dump/special-forms.scm (field->datum): New function. (define-dump): Use the field->datum to convert triples into the form Table.Name or Table.Alias. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-07-30Add table metadata to triple dumpMunyoki Kilyungi
2023-07-30Add a section sub-heading for schema triplesMunyoki Kilyungi
2023-07-30Wrap the dump title in quotesMunyoki Kilyungi
2023-07-30Replace #` with #'when fetching the name of the defined dumpMunyoki Kilyungi
2023-07-30Use call-with-target-database when dumping schema annotations...* dump/schema-dump.scm (dump-schema-annotations): Replace call-with-genenetwork-database with call-with-target-database. Munyoki Kilyungi
2023-07-30Conditionally autogenerate schema triples during dumpMunyoki Kilyungi
2023-07-30Rename dump-configuration slots...* dump/special-forms.scm: Export dump-configuration? Rename dump-configuration-table-metadata -> dump-configuration-triples?; dump-configuration-table-dump -> dump-configuration-table-metadata?; and dump-configuration-auto-document-path -> dump-configuration-auto-documentation-port (<dump-configuration>): Ditto renames. (dump-configuration): Ditto. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-07-30Make dumping optional, defaulting to #t...There may be a case where one just wants to dump metadata about the s-exps only. Munyoki Kilyungi
2023-07-30Add table-dump? option to dump-configuration record...* dump/special-forms.scm: Export dump-configuration-table-dump?. (<dump-configuration>): Add dump-configuration-table-dump. (dump-configuration): Make table-dump? default to #t. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-07-30Optionally self-document while dumpingMunyoki Kilyungi
2023-07-30Add a configuration record-type for for the define macro...* dump/special-forms.scm: Import (srfi srfi-9 gnu). (<dump-configuration>): New record-type. (define-dump): Use the above record-type. Munyoki Kilyungi
2023-07-30Remap identifiersPjotr Prins
2023-07-30README: updatePjotr Prins
2023-07-30Remap identifiersPjotr Prins
2023-07-29README fixesPjotr Prins
2023-07-29Updated species listPjotr Prins
2023-07-21Update wikidata metadata...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-07-21Add dct: prefix to genotype dump...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-07-21Update phenotype dumpMunyoki Kilyungi
2023-07-21Make define-dump take extra args as key...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-07-21Dump prefixes correctly when auto-generating docs...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-07-21Dump probesetfreeze metadata using new metadataMunyoki Kilyungi
2023-07-21Dump probeset-metadata using the new syntax...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-07-21Dump genotypes with the new syntax...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-07-21Use "gn:" and "gn-term:" when dumping phenotypes...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-07-21Replace "publication:" with "pubmed:"...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-07-21Use "gn:" and "gn-terms" prefixes...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-07-21Make 'inputs' and 'outputs' fields lists...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-07-21Remove unnecessary prefixes...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2023-07-21Use a min of 4 should the schema triples be many...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi