aboutsummaryrefslogtreecommitdiff
path: root/tools/cnvkit.nix
blob: 73f432909a5441b0ee061087a33f77fb3843d4a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{bionix}:

with bionix;

{
  app = lib.callPackageWith (pkgs // pkgs.pythonPackages) ./cnvkit-app.nix {};

  /* Call CNVs
  Type: callCNV :: {targets :: target file, annotations :: annotation file, ...} -> {normals :: [bam], tumours :: [bam]} -> CNVs
  */
  callCNV = callBionixE ./cnvkit-batch.nix;

  /* Scatter plot from CNV calls
  Type: scatterPlot :: {} -> CNVs -> PDF
  */
  scatterPlot = callBionixE ./cnvkit-scatter.nix;
}