aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/cnvkit-batch.nix2
-rw-r--r--tools/cnvkit-scatter.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/cnvkit-batch.nix b/tools/cnvkit-batch.nix
index d6d439d..113e0c9 100644
--- a/tools/cnvkit-batch.nix
+++ b/tools/cnvkit-batch.nix
@@ -22,7 +22,7 @@ assert (all sorted (normals ++ tumours));
stage {
name = "cnvkit";
- buildInputs = with pkgs; [ python2Packages.cnvkit ];
+ buildInputs = with pkgs; [ python3Packages.cnvkit ];
outputs = [ "out" ] ++ builtins.genList (x: "out${toString (x + 1)}") (length tumours);
buildCommand = ''
ln -s ${ref} ref.fa
diff --git a/tools/cnvkit-scatter.nix b/tools/cnvkit-scatter.nix
index fb7329f..2899584 100644
--- a/tools/cnvkit-scatter.nix
+++ b/tools/cnvkit-scatter.nix
@@ -9,7 +9,7 @@ with types;
stage {
name = "cnvkit-scatter";
- buildInputs = with pkgs; [ pkgs.python2Packages.cnvkit ];
+ buildInputs = with pkgs; [ pkgs.python3Packages.cnvkit ];
buildCommand = ''
cnvkit.py scatter -s ${input}/*.cn{s,r} -o plot.pdf
cp plot.pdf $out