diff --git a/README.md b/README.md index 44d6178..30258a7 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ ## Introduction -This code is designed to upload integration sites, PCR breakpoints, and multihits identified by `intSiteCaller` and upload them to the intsitesdev database. The database is currently located at `microbxxx.med.upenn.edu:3306` and is described by the included schema, `insitesdev.sql`. +This code is designed to upload integration sites, PCR breakpoints, and multihits identified by `intSiteCaller` and upload them to the intsitesdev database. The database is currently located at `microbxxx.med.upenn.edu:3306` and is described by the included schema, `integration_site_schema.sql`. ## Inputs @@ -31,7 +31,7 @@ the values contained in these two metadata files. Code example: ``` cd run20150505 # a recent processed run folder -Rscript path/to/intSiteUploader.R . +Rscript path/to/intSiteUploader.R Rscript intSiteUploader.R [mysql_group] ``` diff --git a/helper/reset_microb237.R b/helper/reset_microb237.R index b86b148..15f2dee 100644 --- a/helper/reset_microb237.R +++ b/helper/reset_microb237.R @@ -20,7 +20,7 @@ cmd <- sprintf("mysql --defaults-file=%s -e 'CREATE DATABASE IF NOT EXISTS intsi message(cmd) stopifnot( system(cmd)==0 ) -cmd <- sprintf("mysql --defaults-file=%s intsitesdevtest < %s/intsitesdev.sql", test_db_cnf, codeDir) +cmd <- sprintf("mysql --defaults-file=%s intsitesdevtest < %s/integration_site_schema.sql", test_db_cnf, codeDir) message(cmd) stopifnot( system(cmd)==0 )