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

with bionix;

{
  /* 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;
}