modules icon indicating copy to clipboard operation
modules copied to clipboard

Use `/tmp` directory as STAR temp folder

Open bounlu opened this issue 1 year ago • 1 comments

This prevents permission issues for creating tmp directory during STAR alignment. In addition, it saves storage for the working directory.

PR checklist

  • [x] This comment contains a description of changes (with reason).
  • [ ] If you've fixed a bug or added code that should be tested, add tests!
  • [ ] If you've added a new tool - have you followed the module conventions in the contribution docs
  • [ ] If necessary, include test data in your PR.
  • [x] Remove all TODO statements.
  • [x] Emit the versions.yml file.
  • [x] Follow the naming conventions.
  • [x] Follow the parameters requirements.
  • [x] Follow the input/output options guidelines.
  • [x] Add a resource label
  • [ ] Use BioConda and BioContainers if possible to fulfil software requirements.
  • Ensure that the test works with either Docker / Singularity. Conda CI tests can be quite flaky:
    • For modules:
      • [ ] nf-core modules test <MODULE> --profile docker
      • [ ] nf-core modules test <MODULE> --profile singularity
      • [ ] nf-core modules test <MODULE> --profile conda
    • For subworkflows:
      • [ ] nf-core subworkflows test <SUBWORKFLOW> --profile docker
      • [ ] nf-core subworkflows test <SUBWORKFLOW> --profile singularity
      • [ ] nf-core subworkflows test <SUBWORKFLOW> --profile conda

bounlu avatar Oct 14 '24 06:10 bounlu

Writing to /tmp can create issues on clusters. The TmpDir should be created within the working directory.

fellen31 avatar Oct 14 '24 08:10 fellen31

@bounlu Are you planning to work on this one? :)

luisas avatar Mar 11 '25 09:03 luisas

This PR has been tagged as awaiting-changes or awaiting-feedback by an @nf-core/modules contributor. Remove stale label or add a comment if it is still useful.

github-actions[bot] avatar Apr 20 '25 00:04 github-actions[bot]