1 2 3 4 5 6 7 8 9 10 11 12 13 14
{ bionix }: input: with bionix; with lib; stage { name = "samtools-index"; buildInputs = with pkgs; [ samtools ]; buildCommand = "samtools flagstat -@ $NIX_BUILD_CORES ${input} > $out"; passthru.multicore = true; }