nf-core / nf-core/modules

[FEATURE] Allow cellranger renaming to skip pattern matching between R1/R2 files when renaming

Open
#11,638 0 comments 0 reactions 1 assignee View on GitHub

@tgelafr-pfzr is already working on this.

Since May 12, 2026.

Dominant language
Nextflow
Stars
429
Forks
1.1k
Avg merge
1d 6h
Merged PRs (30d)
153

Description

Is your feature request related to a problem? Please describe

Cellranger modules that rename the files check that the filenames are identical except for R1/R2. Public data can often have non-standard naming, e.g. from SRA. The only way to work around this is to rename the source files, which can be untenable, particularly with large files in cloud storage.

Describe the solution you'd like

I propose a new boolean flag (default false) that, when set, skips this check. This maintains the validation logic which presumably keeps the user from mismatching files, but allows flexibility for non-standard data that should actually circumvent the logic.

Describe alternatives you've considered

The only way to work around this is to rename the source files, which can be untenable, particularly with large files in cloud storage. You can skip renaming (for cellranger multi, not for cellranger count), but this causes issue downstream with cellranger.

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.