aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/cnvkit-batch.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cnvkit-batch.nix b/tools/cnvkit-batch.nix
index 67eaac3..6fb97a4 100644
--- a/tools/cnvkit-batch.nix
+++ b/tools/cnvkit-batch.nix
@@ -28,7 +28,7 @@ stage {
ln -s ${samtools.faidx indexAttrs ref} ref.fa.fai
cnvkit.py batch ${concatStringsSep " " tumours} \
${optionalString (normals != []) ("-n " + concatStringsSep " " normals)} \
- ${optionalString (annotations != null) annotations} \
+ ${optionalString (annotations != null) "--annotate ${annotations}"} \
${if targets != null then "--targets ${targets}" else "-m wgs"} \
-f ref.fa \
-p $NIX_BUILD_CORES \