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

with bionix;
with lib;

input:

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