Age | Commit message (Collapse) | Author |
|
* import-generif.scm: New file.
|
|
* dump.scm (string->identifier, string-blank?, triple, prefix): Move
to ...
* dump/triples.scm: ... new file.
* dump.scm: Import (dump triples).
|
|
* dump.scm (string-blank?): Move to ...
* dump/utils.scm (string-blank?): ... here.
|
|
* dump.scm (dump-investigators): Special case Yohan Bossé's last name.
|
|
The AvgMethod table no longer has duplicate "N/A" records.
* dump.scm (dump-avg-method): Do not deduplicate the AvgMethod table.
|
|
* load-rdf.scm (delete-graph): Accept password argument.
(main): Call delete-graph with password.
|
|
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>
|
|
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>
|
|
* load-rdf.scm (put-graph): Accept retry? argument, and retry if it is
#t.
(main): Call put-graph with a #t retry? argument.
|
|
* dump.scm (dump-publication): Delete vertical tab character in
abstracts.
|
|
* .gitignore: New file.
|
|
* dump.scm (dump-groups): New dump.
(main): Call dump-groups.
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
|
|
* dump.scm (dump-case-attributes): New dump.
(main): Call dump-case-attributes.
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
|
|
A "." at the end of a turtle identifier---for example
"gn:caseAttribute_ethn."---generates an error when trying to validate
the generated RDF.
* dump.scm (string->identifier): Remove trailing "." if it occurs in
the identifier.
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
|
|
* README.md (Using): Document source compilation.
|
|
* Makefile (%.go): Set GUILE_AUTO_COMPILE to 0.
|
|
* Makefile (GUILD, top_level_module_dir, sources, objects): New
variables.
(all, %.go, clean): New targets.
* pre-inst-env: Use built object files.
|
|
* manifest.scm: Import gnu-make from (gnu packages base).
Add gnu-make to manifest.
|
|
* manifest.scm: Import raptor2 from (gnu packages rdf). Add raptor2 to
manifest.
* README.md (Using): Document validation using rapper.
|
|
* README.md (Using): Advertise continuous integration build artifacts.
|
|
* README.md (Using): Document loading RDF and visualizing schema.
|
|
This differentiates it from virtuoso and SPARQL connection parameters.
* dump.scm (call-with-genenetwork-database, dump-data-table): Prefix
SQL connection parameters with sql-.
* README.md (Using): Update documentation of SQL connection
parameters.
|
|
Markdown is a simpler format and easier to render to the web. In
particular, this change is prompted by Gitea not handling image links
correctly.
* README.org: Replace with ...
* README.md: ... this.
|
|
* README.org: Link to genenetwork.org CI instead of systemreboot.net
CI.
|
|
* README.org: Add CI badges.
|
|
* visualize-schema.scm (%sparql-host, %sparql-port): New parameters.
(sparql-query-records): Use %sparql-host and %sparql-port parameters.
(main): Accept connection settings file as argument, read it, and
parameterize %sparql-host and %sparql-port.
Pass command-line arguments to main.
|
|
This is a follow-up from commit
baa9b54f1eb232ed891beaf8a24c3d0d058fbd31 where this change was missed
out.
* manifest.scm: Import guile-hashing from (gnu packages guile-xyz).
|
|
* load-rdf.scm: New file.
* manifest.scm: Import virtuoso-ose from (gnu packages databases). Add
virtuoso-ose to manifest.
|
|
* dump.scm (investigator-attributes->id): Add special case for
investigator "Yohan Bossé".
|
|
* pre-inst-env (prepend-path-env!): Rename to
prepend-path-environment!.
Adjust invocations of prepend-path-env!.
|
|
* dump.scm (%connection-settings): Use 1th command-line argument.
(%dump-directory): Use 2th command-line argument.
|
|
* dump.scm: Import (rnrs programs).
(%connection-settings): New variable.
(call-with-database): Use %connection-settings.
(%database-name): Delete variable.
(%dump-directory): Set from command-line arguments.
(dump-data-table): Use %connection-settings instead of %database-name.
* README.org (Using): Add command-line arguments to usage
instructions.
|
|
The delete verb of map-alist somehow interacts with the delete
function from (srfi srfi-1), and I'm not able to figure out how. It is
simpler to just rename the delete verb to remove.
* dump/utils.scm: Do not rename the delete function from (srfi srfi-1).
(map-alist): Rename the delete verb to remove.
* tests.scm ("map-alist docstring example"): Update test.
|
|
* manifest.scm: Import guile-sparql with guix: prefix.
(guile-sparql): New variable.
|
|
This reverses an accidental commit of work in progress code.
* manifest.scm: Remove guix: prefix from guile-libyaml.
|
|
* manifest.scm: Import (guix build-system gnu) and (guix licenses).
(run64): New variable.
Add run64 to manifest.
* Makefile (GUILE): Delete variable.
(RUN64): New variable.
(check): Use run64 instead of guile to run tests.
|
|
* Makefile: New file.
|
|
* .dir-locals.el (makefile-gmake-mode): Set indent-tabs-mode to t.
|
|
We only have a manifest, not a package definition. So, rename it as
such, making `guix shell' invocations briefer.
* guix.scm: Rename to manifest.scm. In documentation comments, make
`guix shell' implicitly pick up the manifest file.
* README.org (Using): Make `guix shell' implicitly pick up the
manifest file.
|
|
If these macro helper functions are not evaluated at macro expansion
time, the dependent macros will fail to compile.
* dump.scm (string->identifier, field->key, field->assoc-ref,
collect-fields, find-clause, remove-namespace, column-id, dump-id):
Eval at macro expansion time.
|
|
* BUGS.org (Dump table and field annotations to RDF): New bug.
|
|
* visualize-schema.scm: Add shebang and grant execution permissions.
|
|
* README.org (Using): Execute dump.scm directly without explicitly
invoking guile.
|
|
* pre-inst-env: New file.
|
|
* dump.scm: Do not add to load path.
|
|
* README.org (Using): New section.
|
|
* README.org (Contributing): New section.
|
|
* BUGS.org (Fix table size estimates): New bug.
|
|
* BUGS.org: New file.
|
|
* visualize-schema.scm (literal-node-id, rdf-type-nodes,
rdf-literal-nodes, rdf-edges, write-rdf-visualization): New functions.
(main): Call write-rdf-visualization.
|