Skip to content
Snippets Groups Projects
Commit 2a82bccc authored by JasperBoom's avatar JasperBoom
Browse files

Add workaround for glob command in lima.

parent 8c8cc282
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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 {
......
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