diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a9338990f500898f06681f3f512a5c36cd9b34c..0291d0ae88ef3b1aaafabcc229755a9244c487af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ that users understand how the changes affect the new version. --> Version 3.1.0-dev --------------------------- ++ Lima: Add workaround for glob command not locating files in output directory. + CCS: Add missing backslash. + Cutadapt now explicitly calls the `--compression-level` flag with compression level 1 to prevent cutadapt from using very high gzip compression level 6 diff --git a/lima.wdl b/lima.wdl index 125b12c61091114693c97118268f666a8571b761..67d9ff278fe4d0afb805277ef91a2bffbb32c99e 100644 --- a/lima.wdl +++ b/lima.wdl @@ -86,6 +86,14 @@ task Lima { ~{inputBamFile} \ ~{barcodeFile} \ ~{basename(outputPrefix) + ".fl.bam"} + + # Move commands below are needed because glob command does not find + # multiple bam/bam.pbi/subreadset.xml files when not located in working + # directory. + mv "~{basename(outputPrefix)}.fl.json" "~{outputPrefix}.fl.json" + mv "~{basename(outputPrefix)}.fl.lima.counts" "~{outputPrefix}.fl.lima.counts" + mv "~{basename(outputPrefix)}.fl.lima.report" "~{outputPrefix}.fl.lima.report" + mv "~{basename(outputPrefix)}.fl.lima.summary" "~{outputPrefix}.fl.lima.summary" } output { @@ -93,10 +101,10 @@ task Lima { Array[File] outputFLindexFile = glob("~{basename(outputPrefix)}*.bam.pbi") Array[File] outputFLxmlFile = glob("~{basename(outputPrefix)}*.subreadset.xml") File outputSTDERRfile = outputPrefix + ".fl.stderr.log" - File outputJSONfile = "~{basename(outputPrefix)}.fl.json" - File outputCountsFile = "~{basename(outputPrefix)}.fl.lima.counts" - File outputReportFile = "~{basename(outputPrefix)}.fl.lima.report" - File outputSummaryFile = "~{basename(outputPrefix)}.fl.lima.summary" + File outputJSONfile = outputPrefix + ".fl.json" + File outputCountsFile = outputPrefix + ".fl.lima.counts" + File outputReportFile = outputPrefix + ".fl.lima.report" + File outputSummaryFile = outputPrefix + ".fl.lima.summary" } runtime {