aboutsummaryrefslogtreecommitdiff
path: root/tools/cnvkit-scatter.nix
blob: 6cd5b96b331de4eb8f08bdef8a67b408e2178016 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ bionix
, flags ? null
}:

input:

with bionix;
with lib;
with types;

stage {
  name = "cnvkit-scatter";
  buildInputs = with pkgs; [ pkgs.python3Packages.cnvkit ];
  buildCommand = ''
    cnvkit.py scatter -s ${input}/*.cn{s,r} -o plot.pdf
    cp plot.pdf $out
  '';
}