Skip to content

GATK4_MARKDUPLICATES not respecting --TMP_DIR #1918

Open
@alexnater

Description

@alexnater

Description of the bug

There seems to be an issue with GATK's MarkDuplicates and probably other Picard tools in GATK, since they don't seem to fully respect the --TMP_DIR parameter. The tool still writes a folder CSPI.tmpXXXXXX to /tmp, causing problems on our HPC system. The solution is to set --java-options "-Djava.io.tmpdir=.", even though this should be equivalent to setting --TMP_DIR according to the documentation. This can't be done via a custom config, since it's an argument to gatk rather than MarkDuplicates, so it would be good to have that included in the GATK4_MARKDUPLICATES module.

Command used and terminal output

Relevant files

No response

System information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions