Skip to content

Conversation

@DLBPointon
Copy link
Contributor

Addition of /tmpdir to Diamond blast modules.

@sanger-tolsoft
Copy link
Contributor

Warning

Newer version of the nf-core template is available.

Your pipeline is using an old version of the nf-core template: 3.2.1.
Please update your pipeline to the latest version.

For more documentation on how to update your pipeline, please see the nf-core documentation and Synchronisation documentation.

@github-actions
Copy link

github-actions bot commented Sep 19, 2025

nf-core pipelines lint overall result: Passed ✅ ⚠️

Posted for pipeline commit a468982

+| ✅ 187 tests passed       |+
#| ❔  28 tests were ignored |#
!| ❗  19 tests had warnings |!

❗ Test warnings:

❔ Tests ignored:

  • files_exist - File is ignored: CODE_OF_CONDUCT.md
  • files_exist - File is ignored: assets/nf-core-blobtoolkit_logo_light.png
  • files_exist - File is ignored: docs/images/nf-core-blobtoolkit_logo_light.png
  • files_exist - File is ignored: docs/images/nf-core-blobtoolkit_logo_dark.png
  • files_exist - File is ignored: .github/ISSUE_TEMPLATE/config.yml
  • files_exist - File is ignored: .github/workflows/awstest.yml
  • files_exist - File is ignored: .github/workflows/awsfulltest.yml
  • files_exist - File is ignored: conf/igenomes.config
  • nextflow_config - Config variable ignored: manifest.name
  • nextflow_config - Config variable ignored: manifest.homePage
  • files_unchanged - File ignored due to lint config: CODE_OF_CONDUCT.md
  • files_unchanged - File ignored due to lint config: LICENSE or LICENSE.md or LICENCE or LICENCE.md
  • files_unchanged - File ignored due to lint config: .github/CONTRIBUTING.md
  • files_unchanged - File ignored due to lint config: .github/ISSUE_TEMPLATE/bug_report.yml
  • files_unchanged - File does not exist: .github/ISSUE_TEMPLATE/config.yml
  • files_unchanged - File ignored due to lint config: .github/PULL_REQUEST_TEMPLATE.md
  • files_unchanged - File ignored due to lint config: .github/workflows/branch.yml
  • files_unchanged - File ignored due to lint config: .github/workflows/linting_comment.yml
  • files_unchanged - File ignored due to lint config: .github/workflows/linting.yml
  • files_unchanged - File ignored due to lint config: assets/email_template.html
  • files_unchanged - File ignored due to lint config: assets/email_template.txt
  • files_unchanged - File ignored due to lint config: assets/sendmail_template.txt
  • files_unchanged - File ignored due to lint config: assets/nf-core-blobtoolkit_logo_light.png
  • files_unchanged - File ignored due to lint config: docs/images/nf-core-blobtoolkit_logo_light.png
  • files_unchanged - File ignored due to lint config: docs/images/nf-core-blobtoolkit_logo_dark.png
  • actions_awstest - 'awstest.yml' workflow not found: /home/runner/work/blobtoolkit/blobtoolkit/.github/workflows/awstest.yml
  • template_strings - template_strings
  • merge_markers - merge_markers

✅ Tests passed:

Run details

  • nf-core/tools version 3.2.1
  • Run at 2025-09-22 11:44:45

Copy link
Member

@muffato muffato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our convention is to control this via a parameter named use_work_dir_as_temp. We have that in readmapping and genomenote.

@DLBPointon
Copy link
Contributor Author

Ok, no problem. How's this instead?

Copy link
Member

@muffato muffato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can simplify the two main.nf by always doing mkdir blastp_tmp. It's the only tmpdir value that the pipeline allows anyway.

And please register use_work_dir_as_temp as the other params: nextflow.config, nextflow_schema.json, CHANGELOG.md

@DLBPointon
Copy link
Contributor Author

I think you can simplify the two main.nf by always doing mkdir blastp_tmp. It's the only tmpdir value that the pipeline allows anyway.

That's how I have it for production at the minute, but didn't think it was enough for this. mkdir is in there now. Does it want to just be hardcoded for --tmpdir in that case then or should I keep modules.config as is?

And please register use_work_dir_as_temp as the other params: nextflow.config, nextflow_schema.json, CHANGELOG.md

What do you mean by this bit? use_work_dir_as_temp as no longer a hidden arg?

@muffato
Copy link
Member

muffato commented Sep 22, 2025

I think you can simplify the two main.nf by always doing mkdir blastp_tmp. It's the only tmpdir value that the pipeline allows anyway.

That's how I have it for production at the minute, but didn't think it was enough for this. mkdir is in there now. Does it want to just be hardcoded for --tmpdir in that case then or should I keep modules.config as is?

I mean hardcode mkdir blast_tmp in the main.nf, but still control --tmpdir in a closure like you have.
In the worst case, it's an unneeded mkdir but that's fine

And please register use_work_dir_as_temp as the other params: nextflow.config, nextflow_schema.json, CHANGELOG.md

What do you mean by this bit? use_work_dir_as_temp as no longer a hidden arg?

Exactly. Make it an official pipeline arg

@DLBPointon
Copy link
Contributor Author

Cool,
Removed hidden: true
Added note in CHANGELOG that it is no longer hidden
tempdir control is simplified.

@muffato
Copy link
Member

muffato commented Sep 22, 2025

Ah there's a typo ! blastx_temp in main.nf, blastx_tmp in conf/modules.config

@DLBPointon DLBPointon merged commit 54a4b37 into dev Sep 22, 2025
5 checks passed
@DLBPointon DLBPointon deleted the add_tmp branch September 22, 2025 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants