aboutsummaryrefslogtreecommitdiff
path: root/tools/mosdepth.nix
blob: cbebdfb00323f8311a57784c07b582ba3d93f223 (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;
}