diff options
author | l-d-s <distefano.l@wehi.edu.au> | 2018-12-10 16:42:16 +1100 |
---|---|---|
committer | l-d-s <distefano.l@wehi.edu.au> | 2018-12-10 16:42:16 +1100 |
commit | 6742864b8f92f5d7d56da4901486b7e83a271e23 (patch) | |
tree | ad9d65650db23fca88b133bb70814f20e4be1cfe /tools/gridss-computeSamTags.nix | |
parent | 238c059743605853472d172f430227e06e20b891 (diff) |
gridss: add java heapSize arguments.
Diffstat (limited to 'tools/gridss-computeSamTags.nix')
-rw-r--r-- | tools/gridss-computeSamTags.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/gridss-computeSamTags.nix b/tools/gridss-computeSamTags.nix index 9267809..c462461 100644 --- a/tools/gridss-computeSamTags.nix +++ b/tools/gridss-computeSamTags.nix @@ -5,6 +5,7 @@ , faidxAttrs ? {} , flags ? null , config ? null +, heapSize ? "1G" }: with nixpkgs; @@ -29,7 +30,7 @@ stdenv.mkDerivation rec { for f in ${bionix.bwa.index bwaIndexAttrs ref}/*; do ln -s $f done - java -Xmx1G \ + java -Xmx${heapSize} \ -Dsamjdk.create_index=false \ -cp ${bionix.gridss.jar} gridss.ComputeSamTags \ REFERENCE_SEQUENCE=ref.fa \ |