Skip to content
Snippets Groups Projects
Unverified Commit d0f378cc authored by Cats's avatar Cats Committed by GitHub
Browse files

Merge pull request #195 from biowdl/umi_stats

make statsPrefix optional for umitools dedup
parents 3dd889b7 9fc05a16
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 2.2.0-dev version 2.2.0-dev
--------------------------- ---------------------------
+ The statsPrefix input for umitools dedup is now optional.
+ Allow setting the `--emit-ref-confidence` flag for HaplotypeCaller. + Allow setting the `--emit-ref-confidence` flag for HaplotypeCaller.
+ Add `--output-mode` flag to HaplotypeCaller. + Add `--output-mode` flag to HaplotypeCaller.
+ Added rtg.Format and rtg.VcfEval tasks. + Added rtg.Format and rtg.VcfEval tasks.
......
...@@ -71,10 +71,10 @@ task Dedup { ...@@ -71,10 +71,10 @@ task Dedup {
File inputBam File inputBam
File inputBamIndex File inputBamIndex
String outputBamPath String outputBamPath
String statsPrefix = "stats" String? statsPrefix
Boolean paired = true Boolean paired = true
String memory = "20G" String memory = "5G"
# Use a multi-package-container which includes umi_tools (0.5.5) and samtools (1.9) # Use a multi-package-container which includes umi_tools (0.5.5) and samtools (1.9)
String dockerImage = "quay.io/biocontainers/mulled-v2-509311a44630c01d9cb7d2ac5727725f51ea43af:6089936aca6219b5bb5f54210ac5eb456c7503f2-0" String dockerImage = "quay.io/biocontainers/mulled-v2-509311a44630c01d9cb7d2ac5727725f51ea43af:6089936aca6219b5bb5f54210ac5eb456c7503f2-0"
...@@ -88,7 +88,7 @@ task Dedup { ...@@ -88,7 +88,7 @@ task Dedup {
umi_tools dedup \ umi_tools dedup \
--stdin ~{inputBam} \ --stdin ~{inputBam} \
--stdout ~{outputBamPath} \ --stdout ~{outputBamPath} \
--output-stats ~{statsPrefix} \ ~{"--output-stats " + statsPrefix} \
~{true="--paired" false="" paired} ~{true="--paired" false="" paired}
samtools index ~{outputBamPath} ~{outputBamIndex} samtools index ~{outputBamPath} ~{outputBamIndex}
} }
...@@ -96,9 +96,9 @@ task Dedup { ...@@ -96,9 +96,9 @@ task Dedup {
output { output {
File deduppedBam = outputBamPath File deduppedBam = outputBamPath
File deduppedBamIndex = outputBamIndex File deduppedBamIndex = outputBamIndex
File editDistance = statsPrefix + "_edit_distance.tsv" File? editDistance = statsPrefix + "_edit_distance.tsv"
File umiStats = statsPrefix + "_per_umi.tsv" File? umiStats = statsPrefix + "_per_umi.tsv"
File positionStats = statsPrefix + "_per_umi_per_position.tsv" File? positionStats = statsPrefix + "_per_umi_per_position.tsv"
} }
runtime { 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