blob: 074a9531d4629a38d7dfb693deebec13e017ea50 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{ bionix
, kmerSize ? 31
, unique ? false
}:
with bionix;
with lib;
with types;
assert (kmerSize > 1);
input:
assert (matchFiletype input { fa = _: true; } input);
stage {
name = "kallisto-index";
buildInputs = with pkgs; [ kallisto ];
buildCommand = ''
kallisto index -k ${toString kmerSize} ${optionalString unique "--make-unique"} -i $out ${input}
'';
}
|