blob: 790eeb426a62a128cb2f154416c59b1e2a4a740b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{ stdenv
, callPackage
, lib
, samtools
}:
input:
with lib;
stdenv.mkDerivation {
name = "samtools-index";
buildInputs = [ samtools ];
buildCommand = "samtools flagstat -@ $NIX_BUILD_CORES ${input} > $out";
}
|