aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJustin Bedo <cu@cua0.org>2019-09-06 10:59:25 +1000
committerJustin Bedo <cu@cua0.org>2019-09-06 10:59:46 +1000
commit8110c2ce6ab558de28c051c0a3eaccdcb97a82db (patch)
tree01d60c830ffa9d258a36f3667afb02990c4f4330 /tools
parent84d273e9ab9c02b3da3c4ec53f7e5bcb6f780030 (diff)
cnvkit: use python2
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 113e0c9..d6d439d 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; [ python3Packages.cnvkit ];
+ buildInputs = with pkgs; [ python2Packages.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 2899584..fb7329f 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.python3Packages.cnvkit ];
+ buildInputs = with pkgs; [ pkgs.python2Packages.cnvkit ];
buildCommand = ''
cnvkit.py scatter -s ${input}/*.cn{s,r} -o plot.pdf
cp plot.pdf $out