diff options
author | Justin Bedo <cu@cua0.org> | 2018-09-26 11:24:18 +1000 |
---|---|---|
committer | Justin Bedo <cu@cua0.org> | 2018-09-26 11:24:18 +1000 |
commit | 91e6ec3f53b9183082f56c0e52931436d069528e (patch) | |
tree | e9d7fef5af4d151f80c85a781b1bbae2ff65a92e /tools/samtools-flagstat.nix | |
parent | 98672cb1bba7221c5c8ecc363243cb47fcd13f47 (diff) |
Add flagstat and fastqc
Diffstat (limited to 'tools/samtools-flagstat.nix')
-rw-r--r-- | tools/samtools-flagstat.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/samtools-flagstat.nix b/tools/samtools-flagstat.nix new file mode 100644 index 0000000..790eeb4 --- /dev/null +++ b/tools/samtools-flagstat.nix @@ -0,0 +1,15 @@ +{ stdenv +, callPackage +, lib +, samtools +}: + +input: + +with lib; + +stdenv.mkDerivation { + name = "samtools-index"; + buildInputs = [ samtools ]; + buildCommand = "samtools flagstat -@ $NIX_BUILD_CORES ${input} > $out"; +} |