diff options
Diffstat (limited to 'tools/snpeff-annotate.nix')
-rw-r--r-- | tools/snpeff-annotate.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/snpeff-annotate.nix b/tools/snpeff-annotate.nix index dee99f1..317d303 100644 --- a/tools/snpeff-annotate.nix +++ b/tools/snpeff-annotate.nix @@ -1,5 +1,6 @@ {bionix ,db +,heapSize ? "31g" ,flags ? ""}: input: @@ -12,6 +13,7 @@ assert (matchFiletype "snpeff-annotate" { vcf = _: true; } input); stage { name = "snpeff-annotate"; buildInputs = with pkgs; [ snpeff ]; + JAVA_TOOL_OPTIONS = "-Xmx${heapSize}"; buildCommand = '' ln -s ${db} ${db.name} snpeff -nodownload -dataDir $TMPDIR ${db.name} ${input} > $out |