Skip to content

Commit

Permalink
modified: utils/mysql/gwas2mysql.R
Browse files Browse the repository at this point in the history
  • Loading branch information
boxiangliu committed Apr 26, 2018
1 parent daf0711 commit 261cbbf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/mysql/gwas2mysql.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ read_gwas = function(gwas_fn){
message(command)

gwas=tryCatch({
fread(command)
fread(command,header=TRUE)
},
error = function(e) {NULL}
)
Expand Down Expand Up @@ -139,6 +139,7 @@ for (gwas_fn in gwas_fn_list){
index_table(table_name)
}


gwas_dir = '/mnt/data/shared/datasets/gwas/batch5/'
gwas_fn_list = list.files(gwas_dir,pattern='txt.gz$')
for (gwas_fn in gwas_fn_list){
Expand Down

0 comments on commit 261cbbf

Please sign in to comment.