Mercurial > repos > tomnl > create_sqlite_db
diff create_sqlite_db.R @ 13:4acad02faf32 draft
planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit e6935a8c6a3da23f47a753ab5a8159fa9d165535
author | tomnl |
---|---|
date | Fri, 11 May 2018 06:08:10 -0400 |
parents | 225009d1f603 |
children | 69d5cb5a8e90 |
line wrap: on
line diff
--- a/create_sqlite_db.R Tue May 08 05:37:10 2018 -0400 +++ b/create_sqlite_db.R Fri May 11 06:08:10 2018 -0400 @@ -46,6 +46,7 @@ + option_list <- list( make_option(c("-o", "--out_dir"), type="character"), make_option("--pa", type="character"), @@ -109,13 +110,13 @@ } -print(pa@fileList) -print(xset@filepaths) + db_pth <- msPurity::create_database(pa, xset=xset, xsa=xa, out_dir=opt$out_dir, grp_peaklist=grp_peaklist, db_name=opt$db_name) +print(db_pth) if (!is.null(opt$eic)){ if (is.null(opt$raw_rt_columns)){ @@ -123,6 +124,8 @@ }else{ rtrawColumns <- TRUE } + # previous check should have matched filelists together + xset@filepaths <- unname(pa@fileList) # Saves the EICS into the previously created database px <- msPurity::purityX(xset, saveEIC = TRUE,