aboutsummaryrefslogtreecommitdiff
path: root/tools/samtools-flagstat.nix
blob: ae36c94a8f142889501f9beab20b171d7fb18f0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ bionix
, nixpkgs
}:

input:

with nixpkgs;
with lib;

stdenv.mkDerivation {
  name = "samtools-index";
  buildInputs = [ samtools ];
  buildCommand = "samtools flagstat -@ $NIX_BUILD_CORES ${input} > $out";
}