diff options
-rw-r--r-- | genenetwork-development.scm | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/genenetwork-development.scm b/genenetwork-development.scm index 8025631..b5c1cb4 100644 --- a/genenetwork-development.scm +++ b/genenetwork-development.scm @@ -582,6 +582,10 @@ described by CONFIG, a <genenetwork-configuration> object." (invoke "./pre-inst-env" "./dump.scm" connection-settings-file dump-directory) + ;; Import GeneRIF into RDF. + (invoke "./pre-inst-env" "./import-generif.scm" + (string-append dump-directory "/generifs_basic.gz") + dump-directory) ;; Validate dumped RDF, sending the error output to ;; oblivion because we don't want to print out potentially ;; sensitive data. @@ -592,9 +596,11 @@ described by CONFIG, a <genenetwork-configuration> object." "--count" (string-append dump-directory "/dump.ttl"))) ;; Load RDF into virtuoso. - (invoke "./pre-inst-env" "./load-rdf.scm" - connection-settings-file - (string-append dump-directory "/dump.ttl")) + (for-each (lambda (ttl) + (invoke "./pre-inst-env" "./load-rdf.scm" + connection-settings-file + (string-append dump-directory "/" ttl))) + (list "dump.ttl" "generif.ttl")) ;; Visualize schema and archive results. (invoke "./pre-inst-env" "./visualize-schema.scm" connection-settings-file) |