aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-07-21Add dct: prefix to genotype dumpMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Update phenotype dumpMunyoki Kilyungi
2023-07-21Make define-dump take extra args as keyMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Dump prefixes correctly when auto-generating docsMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Dump probesetfreeze metadata using new metadataMunyoki Kilyungi
2023-07-21Dump probeset-metadata using the new syntaxMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Dump genotypes with the new syntaxMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Use "gn:" and "gn-term:" when dumping phenotypesMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Replace "publication:" with "pubmed:"Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Use "gn:" and "gn-terms" prefixesMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Make 'inputs' and 'outputs' fields listsMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Remove unnecessary prefixesMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Use a min of 4 should the schema triples be manyMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Only document a triple if it existsMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Rename 'gn-id' prefix to 'gn'Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Replace :gn with :gn-id and :gn-termMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Dump phenotypes with documentation.Munyoki Kilyungi
2023-07-21Make the default ontology "gn-id:"Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Dump probeset metadata with documentationMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Update tissue dump to use gn-term/gn-idMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Replace gn with gn-term and gn-id where suitableMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Use size of the results set to come up with sparql exampleMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Replace gn:species with gn-speciesMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Update dump-species to have lists for inputs and outputMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Add "gn:species:" prefixMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Convert symbol to a string when show-casing triples in docMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Capitalize species identifierMunyoki Kilyungi
Replace gn:species_mus_musculus with gn:species:Mus_musculus.
2023-07-21Add string-capitalize-firstMunyoki Kilyungi
* dump/strings.scm: Export string-capitalize-first (string-capitalize-first): New function. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Make string->identifier take optional keyword argsMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Make dump-data? default to #f when dumping dataMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Rewrite dump-with-documentation to be order-agnosticMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Dump dataset metadata with documentationMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Dump publication metadata with documentationMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Dump tissue metadata with documentationMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Dump species metadata with documentationMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Conditionally dump documentationMunyoki Kilyungi
2023-07-21Make prefix function have an optional ttl?Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Revert "Pass port as an optional argument"Munyoki Kilyungi
This reverts commit 195ca590be5533935cf708d49fcb3736b3c78643.
2023-07-21Add missing srfi-26 importMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Create a new procedure for shadowing a file portMunyoki Kilyungi
* dump/documentation.scm (dump): Export call-with-documentation. (call-with-documentation): New function. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Rename auto-documentation-port -> pathMunyoki Kilyungi
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>
2023-07-21Move dump-configuration record type to (dump documentation)Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-07-21Construct example SQL query and expected resultsMunyoki Kilyungi
2023-07-21Pass port to scm->triplesMunyoki Kilyungi
* dump/triples.scm (scm->triples): Make define have an optional arg fn that defaults to "triple".
2023-07-21Pass port as an optional argumentMunyoki Kilyungi
* 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>
2023-07-21Print out triples with the from Table.Name or Table.AliasMunyoki Kilyungi
* 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>
2023-07-21Add table metadata to triple dumpMunyoki Kilyungi
2023-07-21Add a section sub-heading for schema triplesMunyoki Kilyungi
2023-07-21Wrap the dump title in quotesMunyoki Kilyungi
2023-07-21Replace #` with #'when fetching the name of the defined dumpMunyoki Kilyungi