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

with lib;

input:

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