Mercurial > repos > tomnl > create_msp
diff create_sqlite_db.R @ 5:278a7e7a84cf draft
planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit e6935a8c6a3da23f47a753ab5a8159fa9d165535
author | tomnl |
---|---|
date | Fri, 11 May 2018 05:59:39 -0400 |
parents | 7ae48818a229 |
children | a5042433dc8a |
line wrap: on
line diff
--- a/create_sqlite_db.R Tue May 08 05:28:37 2018 -0400 +++ b/create_sqlite_db.R Fri May 11 05:59:39 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,