aboutsummaryrefslogtreecommitdiff
path: root/tools/fastqc-check.nix
blob: 17d6183feef22475259f9cc9a65fc4853b90e4b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ bionix
, nixpkgs
, flags ? null
}:

with nixpkgs;
with lib;

input:

stdenv.mkDerivation {
  name = "fastqc-check";
  buildInputs = [ bionix.fastqc.fastqc ];
  buildCommand = ''
    mkdir $out
    fastqc \
      -o $out \
      ${optionalString (flags != null) flags} \
      ${input}
  '';
}