Skip to content
Snippets Groups Projects
Commit 1a51a354 authored by Ruben Vorderman's avatar Ruben Vorderman
Browse files

tar the genomicsdbworkspace path

parent 20b83d3b
Branches BIOWDL-396
No related tags found
No related merge requests found
......@@ -729,6 +729,7 @@ task GenomicsDBImport {
Array[File] gvcfFilesIndex
Array[File]+ intervals
String genomicsDBWorkspacePath = "genomics_db"
String genomicsDBTarFile = "genomics_db.tar.gz"
String? tmpDir
String memory = "12G"
String javaXmx = "4G"
......@@ -744,10 +745,11 @@ task GenomicsDBImport {
--genomicsdb-workspace-path ~{genomicsDBWorkspacePath} \
~{"--tmp-dir " + tmpDir} \
-L ~{sep=" -L " intervals}
bash -c 'tar -cvzf ~{genomicsDBTarFile} ~{genomicsDBWorkspacePath}/*'
}
output {
Array[File] genomicsDbFiles = glob(genomicsDBWorkspacePath + "/*")
Array[File] genomicsDbTarArchive = genomicsDBTarFile
}
runtime {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment