Skip to content

Add a --query option for when there is only one query#113

Merged
charles-plessy merged 2 commits into
devfrom
single-query-option-issue-112
May 28, 2026
Merged

Add a --query option for when there is only one query#113
charles-plessy merged 2 commits into
devfrom
single-query-option-issue-112

Conversation

@charles-plessy
Copy link
Copy Markdown
Collaborator

Closes #112

This is inspired by nf-co.re/demultiplex, which also allows to bypass --input and provide single files directly.

PR checklist

  • 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 pipeline conventions in the contribution docs
  • If necessary, also make a PR on the nf-core/pairgenomealign branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core pipelines lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
  • Usage Documentation in docs/usage.md is updated.
  • Output Documentation in docs/output.md is updated.
  • CHANGELOG.md is updated.
  • README.md is updated (including new tool citations and authors/contributors).

Closes #112

This is inspired by nf-co.re/demultiplex, which also allows to bypass
--input and provide single files directly.
Copy link
Copy Markdown

@piplus2 piplus2 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 the event with both --input and --query should be handled with a feedback to the user, or that the priority should go into the help.

@charles-plessy charles-plessy requested a review from piplus2 May 28, 2026 00:18
Copy link
Copy Markdown

@piplus2 piplus2 left a comment

Choose a reason for hiding this comment

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

🚀

@charles-plessy charles-plessy merged commit 63e7b75 into dev May 28, 2026
11 checks passed
@charles-plessy charles-plessy deleted the single-query-option-issue-112 branch May 28, 2026 06:36
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.

2 participants