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

with bionix;

{
  /* Compute coverage of a reference given an alignemnt
    Type: { ... } -> bam -> mosdepth
  */
  depth = callBionixE ./mosdepth-depth.nix;

  /* Plot sample coverages. Names are optional.
    Type: { ... } -> { inputs :: [mosdepth], names :: [string] } -> html
  */
  plot = callBionixE ./mosdepth-plot.nix;
}