Age | Commit message (Expand) | Author |
2023-05-26 | Update how Species are dumped...* dump.scm (dump-species): Rename gn:menuName to gn:displayName. Add
gn:family and up:organism triplets.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Delete "operation" from fields...Nested raw queries: ((field (query alias)) alias) are now supported so
an "operation is not needed".
* dump.scm (field->key, field->assoc-ref): Delete
((field table column operation alias) alias))
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Simplify pattern matching when checking for a node...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Wrap the password in quotes...The password can contain special characters. As such, wrap it in
quotes.
* load-rdf.scm (delete-graph): Replace "~a" with "~s".
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Update GeneRIF prefix...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Add species data to generif entries...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Dump genewiki symbol...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Annotate gn:geneWikiEntry as a class and add a comment...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Dump species, symbols and indicate generif type when a geneid = 0...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Separate NCBI and GN wikientries in dump...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Add dublin-core and uniprot prefixes...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Avoid prefixing 'pubmed: to an empty string...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Delete generif file dump...* dump.scm (decode-html-entities, import-generif): Delete.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Refactor dump-generif-basic/dump-generif to dump-gn-genewiki-entries...* dump.scm (dump-generif, dump-generif-basic): Refactor to ...
(dump-gn-genewiki-entries): ... this.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Use match syntax to print object correctly during dump...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Redefine how genewiki is dumped...* dump.scm (dump-generif, dump-generif-basic): Replace with ...
(dump-gn-genewiki-entries): ... this.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Split substring int a list of substrings delimited by substring...* dump.scm (string-split-substring): New function.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Add new special form for representing blank nodes...* dump.scm (blank-node): New macro.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Allow running raw queries in field form...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Make dumping metadata about a given table optional defaulting to #f...* dump.scm (define-dump): Add optional table-metadata? flag thats #f
by default. If this flag is #t, dump metadata about the SQL table
itself.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Add "xsd:" and "owl:" prefixes...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Annotate fields with a custom scheme such as "^^xsd:datetime"...* dump.scm (annotate-field): New function.
* dump/triples.scm (triple): Print a string as they appear with
DISPLAY should they contain "\"" thus enabling a triple that looks
like:
gn:species_mus_musculus gn:name "Mouse"^^xsd:string
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Dump GeneRIF wikidata...* dump.scm (dump-generif-basic): Annotate createTime field with xsd.
* dump.scm (dump-generif): New dump.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Add a method to transform epoch time to a human readable format...* dump/utils.scm: Import srfi-19. Export time-unix->string.
(time-unix->string): New function.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Add pubmed, taxon and generif prefixes...Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Create a method to define ontologies as symbols...* dump/triples.scm: Export ontology.
(ontology): New function.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-04-05 | Add ability to have operations such as GROUP_CONCAT in SELECT clause...This change enables having:
"... GROUP_CONCAT(GeneRIF_BASIC.PubMedId) AS alias ..."
as part of the query.
* dump.scm (field->key, field->assoc-ref): Add new syntax-rule.
* dump/sql.scm (select-query): Ditto.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-03-24 | Instructions for running in a container and added dependencies | Pjotr Prins |
2023-03-08 | Dump GeneWiki metadata...* dump.scm (dump-generif): New data dump.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-03-06 | Dump relevant metadata about phenotypes...* dump.scm (dump-publishfreeze, dump-published-phenotypes): New dumps.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-03-06 | Delete phenotype and publish_xref metadata...* dump.scm (phenotype-id->id, dump-phenotype): Delete
(dump-publish-xref): Delete.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-03-06 | Add mapping method and species info to inbredsets....* dump.scm (dump-inbred-set): Add mapping method and species as extra
metadata for inbredsets.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-02-15 | Read metadata from a json file...* json-dump.scm: New file.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2023-02-15 | Remove dump-case-attributes...This information is already stored in LMDB.
* dump.scm (dump-case-attributes): Delete.
(main)(<dump-case-attributes>): Ditto.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| Munyoki Kilyungi |
2022-12-06 | Use InfoPageName as a dataset's name....* dump.scm (dump-info-files): Set a dataset's name to InfoPageName.
| Munyoki Kilyungi |
2022-11-25 | Provide a sample conn.scm....* README.md (Using)[Set up connection parameters]: Provide a sample
conn.scm.
| Arun Isaac |
2022-11-25 | Document generif-data-file connection parameter....* README.md (Using)[Set up connection parameters]: Document
generif-data-file.
| Arun Isaac |
2022-11-25 | Split up README into subsections....* README.md (Using): Split into subsections.
| Arun Isaac |
2022-11-04 | Add comment with URI to GeneRIF data....* dump.scm: Add comment with URI to GeneRIF data.
| Arun Isaac |
2022-11-04 | Unite importing GeneRIF with dumping SQL data....* README.md: Document generif-data-file parameter in connection
settings.
* dump.scm: Import (srfi srfi-171), (ice-9 regex) and (zlib).
(decode-html-entities, import-generif): New functions.
(main): Call import-generif.
* import-generif.scm: Delete file.
| Arun Isaac |
2022-11-04 | Revert "Put isql commands on a single line."...This reverts commit 5aecbcd3e59119533658b792c6dafa0c6efd9d5b. Despite
putting commands on a single line, isql still echoes and leaks the
password.
| Arun Isaac |
2022-10-31 | Put isql commands on a single line....We put isql commands on a single line in the hope that they will not
be echoed thus leaking the password.
* load-rdf.scm (delete-graph): Put isql commands on a single line.
| Arun Isaac |
2022-10-30 | Import GeneRIF data into RDF....* import-generif.scm: New file.
| Arun Isaac |
2022-10-30 | Move triple utilities to new module....* dump.scm (string->identifier, string-blank?, triple, prefix): Move
to ...
* dump/triples.scm: ... new file.
* dump.scm: Import (dump triples).
| Arun Isaac |
2022-10-30 | Move string-blank? to (dump utils)....* dump.scm (string-blank?): Move to ...
* dump/utils.scm (string-blank?): ... here.
| Arun Isaac |
2022-10-30 | Special case Yohan Bossé's last name....* dump.scm (dump-investigators): Special case Yohan Bossé's last name.
| Arun Isaac |
2022-10-30 | Do not deduplicate the AvgMethod table....The AvgMethod table no longer has duplicate "N/A" records.
* dump.scm (dump-avg-method): Do not deduplicate the AvgMethod table.
| Arun Isaac |
2022-10-21 | Authenticate when deleting graph from virtuoso....* load-rdf.scm (delete-graph): Accept password argument.
(main): Call delete-graph with password.
| Arun Isaac |
2022-08-20 | Add gn:traitId and gn:publicationId....In GeneNetwork, a phenonytpe is currently identified by it's
ID (primary key of the table from MariaDB). The only way to relate it
to a publication is through a publication ID. This is important
because there are some publications with a NULL value for "pubmed ID"
and as such without the publication ID, some data is lost as there's
no way to point to publication with a NULL "pubmed ID."
* dump.scm (dump-publish-xref): Define gn:traitId and
gn:publicationId.
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
| Munyoki Kilyungi |
2022-08-02 | Add new functions to read CSV files in a flexible way....We add new functions---parse-raw-table and parse-aggregate-table---to
parse raw ungrouped data and grouped data respectively.
* csv-dump.scm (assoc-set, parse-raw-table, parse-aggregate-table):
New functions.
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
| Munyoki Kilyungi |