diff options
author | Justin Bedo <cu@cua0.org> | 2018-09-26 10:53:53 +1000 |
---|---|---|
committer | Justin Bedo <cu@cua0.org> | 2018-09-26 10:53:53 +1000 |
commit | 98672cb1bba7221c5c8ecc363243cb47fcd13f47 (patch) | |
tree | c5c73fc08323a8350a0ba80aae7a7232fed19171 /tools/mosdepth-plot.nix | |
parent | 45af0256cf75fa28e75b6cf6874df0c48aac38cf (diff) |
refactor, add mosdepth, and fixes for bwa
Diffstat (limited to 'tools/mosdepth-plot.nix')
-rw-r--r-- | tools/mosdepth-plot.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/mosdepth-plot.nix b/tools/mosdepth-plot.nix new file mode 100644 index 0000000..464e495 --- /dev/null +++ b/tools/mosdepth-plot.nix @@ -0,0 +1,15 @@ +{ stdenv +, mosdepth +, python +, flags ? null}: + +input: + +stdenv.mkDerivation { + name = "mosdepth-depth"; + buildInputs = [ python ]; + buildCommand = '' + python ${mosdepth.src}/scripts/plot-dist.py ${input}/*global.dist.txt + mv dist.html $out + ''; +} |