Skip to content

Commit

Permalink
Readd metaMS_gcms.wdl, mistakenly removed
Browse files Browse the repository at this point in the history
  • Loading branch information
kheal committed Nov 15, 2024
1 parent f26abc1 commit a169b58
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions wdl/metaMS_gcms.wdl
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
version 1.0

workflow gcmsMetabolomics {
call runMetaMSGCMS

output {
String out = runMetaMSGCMS.out
File output_file = runMetaMSGCMS.output_file
File output_metafile = runMetaMSGCMS.output_metafile
}
}

task runMetaMSGCMS {
input {
Array[File] file_paths
File calibration_file_path
String output_directory
String output_filename
String output_type
File corems_toml_path
File nmdc_metadata_path
Int jobs_count
}

command {
metaMS run-gcms-wdl-workflow \
${sep=',' file_paths} \
${calibration_file_path} \
${output_directory} \
${output_filename} \
${output_type} \
${corems_toml_path} \
${nmdc_metadata_path} \
--jobs ${jobs_count}
}

output {
String out = read_string(stdout())
File output_file = "${output_directory}/${output_filename}.${output_type}"
File output_metafile = "${output_directory}/${output_filename}.json"
}

runtime {
docker: "microbiomedata/metams:2.2.2"
}
}

0 comments on commit a169b58

Please sign in to comment.