Skip to content

Commit

Permalink
rename tables for GSR data model v2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
smgogarten committed Jul 11, 2024
1 parent 1531e8a commit 90378b6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions genesis_gwas.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ task prepare_gsr_data_model {
chromosome=chromosome, \
n_variants=n_variants, \
file_type='data'); \
write_tsv(dat, 'gsr_file_table.tsv'); \
write_tsv(dat, 'association_file_table.tsv'); \
writeLines(as.character(total_variants), 'total_variants.txt')
"
Rscript -e "\
Expand Down Expand Up @@ -301,14 +301,14 @@ task prepare_gsr_data_model {
}; \
analysis_vec <- unlist(analysis)
analysis_vec <- analysis_vec[analysis_vec != 'NA']
write_tsv(tibble(field=names(analysis_vec), value=analysis_vec), 'analysis_table.tsv'); \
write_tsv(tibble(field=names(analysis_vec), value=analysis_vec), 'association_analysis_table.tsv'); \
"
>>>

output {
Map[String, File] table_files = {
"analysis": "analysis_table.tsv",
"gsr_file": "gsr_file_table.tsv"
"association_analysis": "association_analysis_table.tsv",
"association_file": "association_file_table.tsv"
}
}

Expand Down

0 comments on commit 90378b6

Please sign in to comment.