Skip to content
Snippets Groups Projects
Unverified Commit 43921519 authored by van den Berg's avatar van den Berg Committed by GitHub
Browse files

Merge pull request #258 from biowdl/ccs5

Update to CCS version 5
parents f5a89268 ccfd8433
No related branches found
No related tags found
No related merge requests found
...@@ -11,6 +11,7 @@ that users understand how the changes affect the new version. ...@@ -11,6 +11,7 @@ that users understand how the changes affect the new version.
version 5.0.0-dev version 5.0.0-dev
--------------------------- ---------------------------
+ CCS: Update CCS to version 5.
+ deepvariant: Add task for DeepVariant. + deepvariant: Add task for DeepVariant.
+ gatk: Make intervals optional for GenotypeGVCFs. + gatk: Make intervals optional for GenotypeGVCFs.
+ isoseq3: Add required bam index input to isoseq3. + isoseq3: Add required bam index input to isoseq3.
......
...@@ -29,12 +29,14 @@ task CCS { ...@@ -29,12 +29,14 @@ task CCS {
Float minReadQuality = 0.99 Float minReadQuality = 0.99
String logLevel = "WARN" String logLevel = "WARN"
File subreadsFile File subreadsFile
File? subreadsIndexFile
String? chunkString
String outputPrefix String outputPrefix
Int cores = 2 Int cores = 2
String memory = "2G" String memory = "2G"
Int timeMinutes = 1440 Int timeMinutes = 1440
String dockerImage = "quay.io/biocontainers/pbccs:4.2.0--0" String dockerImage = "quay.io/biocontainers/pbccs:5.0.0--0"
} }
command { command {
...@@ -48,7 +50,8 @@ task CCS { ...@@ -48,7 +50,8 @@ task CCS {
--min-rq ~{minReadQuality} \ --min-rq ~{minReadQuality} \
--log-level ~{logLevel} \ --log-level ~{logLevel} \
--num-threads ~{cores} \ --num-threads ~{cores} \
~{"--report-file " + outputPrefix + ".ccs.report.txt"} \ ~{"--chunk " + chunkString} \
~{"--report-json " + outputPrefix + ".ccs.report.json"} \
~{"--log-file " + outputPrefix + ".ccs.stderr.log"} \ ~{"--log-file " + outputPrefix + ".ccs.stderr.log"} \
~{subreadsFile} \ ~{subreadsFile} \
~{outputPrefix + ".ccs.bam"} ~{outputPrefix + ".ccs.bam"}
...@@ -57,7 +60,7 @@ task CCS { ...@@ -57,7 +60,7 @@ task CCS {
output { output {
File ccsBam = outputPrefix + ".ccs.bam" File ccsBam = outputPrefix + ".ccs.bam"
File ccsBamIndex = outputPrefix + ".ccs.bam.pbi" File ccsBamIndex = outputPrefix + ".ccs.bam.pbi"
File ccsReport = outputPrefix + ".ccs.report.txt" File ccsReport = outputPrefix + ".ccs.report.json"
File ccsStderr = outputPrefix + ".ccs.stderr.log" File ccsStderr = outputPrefix + ".ccs.stderr.log"
} }
...@@ -77,6 +80,8 @@ task CCS { ...@@ -77,6 +80,8 @@ task CCS {
minReadQuality: {description: "Minimum predicted accuracy in [0, 1].", category: "common"} minReadQuality: {description: "Minimum predicted accuracy in [0, 1].", category: "common"}
logLevel: {description: "Set log level. Valid choices: (TRACE, DEBUG, INFO, WARN, FATAL).", category: "advanced"} logLevel: {description: "Set log level. Valid choices: (TRACE, DEBUG, INFO, WARN, FATAL).", category: "advanced"}
subreadsFile: {description: "Subreads input file.", category: "required"} subreadsFile: {description: "Subreads input file.", category: "required"}
subreadsIndexFile: {description: "Index for the subreads input file, required when using chunkString.", 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"} outputPrefix: {description: "Output directory path + output file prefix.", category: "required"}
cores: {description: "The number of cores to be used.", category: "advanced"} cores: {description: "The number of cores to be used.", category: "advanced"}
memory: {description: "The amount of memory available to the job.", category: "advanced"} memory: {description: "The amount of memory available to the job.", category: "advanced"}
......
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