diff --git a/ccs.wdl b/ccs.wdl index 60e43711ed88f587b7cc5ca9877791ceb683b4c6..bcebefe948b4a1f1c01bf76c6c2b764ea2cdd8d4 100644 --- a/ccs.wdl +++ b/ccs.wdl @@ -29,12 +29,14 @@ task CCS { Float minReadQuality = 0.99 String logLevel = "WARN" File subreadsFile + File? subreadsIndexFile + String? chunkString String outputPrefix Int cores = 2 String memory = "2G" Int timeMinutes = 1440 - String dockerImage = "quay.io/biocontainers/pbccs:4.2.0--0" + String dockerImage = "quay.io/biocontainers/pbccs:5.0.0--0" } command { @@ -48,7 +50,8 @@ task CCS { --min-rq ~{minReadQuality} \ --log-level ~{logLevel} \ --num-threads ~{cores} \ - ~{"--report-file " + outputPrefix + ".ccs.report.txt"} \ + ~{"--chunk " + chunkString} \ + ~{"--report-json " + outputPrefix + ".ccs.report.json"} \ ~{"--log-file " + outputPrefix + ".ccs.stderr.log"} \ ~{subreadsFile} \ ~{outputPrefix + ".ccs.bam"} @@ -57,7 +60,7 @@ task CCS { output { File ccsBam = outputPrefix + ".ccs.bam" File ccsBamIndex = outputPrefix + ".ccs.bam.pbi" - File ccsReport = outputPrefix + ".ccs.report.txt" + File ccsReport = outputPrefix + ".ccs.report.json" File ccsStderr = outputPrefix + ".ccs.stderr.log" } @@ -77,6 +80,9 @@ task CCS { minReadQuality: {description: "Minimum predicted accuracy in [0, 1].", category: "common"} logLevel: {description: "Set log level. Valid choices: (TRACE, DEBUG, INFO, WARN, FATAL).", category: "advanced"} subreadsFile: {description: "Subreads input file.", category: "required"} + subreadsIndexFile: {description: "Index for the subreads input file.", category: "required"} + outputPrefix: {description: "Output directory path + output file prefix.", category: "advanced"} + chunkString: {descpription: "Chunk string (e.g. 1/4, 5/5) for CCS.", category: "advanced"} outputPrefix: {description: "Output directory path + output file prefix.", category: "required"} cores: {description: "The number of cores to be used.", category: "advanced"} memory: {description: "The amount of memory available to the job.", category: "advanced"}