Skip to content

Support for both TCR and BCR - #555

Open
leandrotiburske wants to merge 3 commits into
nf-core:devfrom
leandrotiburske:vdj-fix
Open

Support for both TCR and BCR#555
leandrotiburske wants to merge 3 commits into
nf-core:devfrom
leandrotiburske:vdj-fix

Conversation

@leandrotiburske

Copy link
Copy Markdown

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/scrnaseq 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).

@leandrotiburske

Copy link
Copy Markdown
Author

Hi!

This PR aims to address support for both TCR and BCR (VDJ-T and VDJ-B) inputs, as discussed in issue #473.

To achieve this, I updated the feature_type enum and made the necessary modifications to the cellrangermulti module.

@fmalmeida

Copy link
Copy Markdown
Contributor

Hi @leandrotiburske ;
I see that the PR contains a .diff for the cellranger/multi module.
Did you perform its modifications directly here in the scrnaseq repo or via the nf-core/modules repo?

@leandrotiburske

Copy link
Copy Markdown
Author

Hi @fmalmeida ,

The modifications were performed directly here in the scrnaseq repo.

@fmalmeida

Copy link
Copy Markdown
Contributor

Since cellranger/multi is a shared nf-core modules, we need first to update it upstream and then bring it to the repo.

More info here: https://nf-co.re/docs/contributing/contribute-components

@leandrotiburske

Copy link
Copy Markdown
Author

Hi @fmalmeida,

I started working on updating the module upstream as you requested. While doing so, I noticed that after last week's merge, the Python template and main.nf appear to have diverged.

For example, the Python template contains:

#
# generate config file for cellranger multi
#
config_txt = (
    f"""${include_gex}
{gex_reference_path}
{frna_probeset}
${gex_options_filter_probes}

However, some of the variables (e.g., include_gex and gex_reference_path) that the template expects to receive from main.nf no longer seem to be defined there after the merge.

I also noticed that the template was last updated about 11 months ago, so I'm wondering whether the current mismatch is expected or if some changes may have been missed during previous updates.

Could you confirm whether this is a known issue? If so, would you prefer that I open an issue on nf-core/modules before proceeding with the upstream update?

Thanks!

@fmalmeida

fmalmeida commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Hi @leandrotiburske ,
Is the current version you are seeing the same as the one after this PR here?

nf-core/modules#11066

If so, then indeed was a intended change where Mahesh helped migrating the inclusion checkers in order to fit better mutually exclusive files.

You can read more here:
#529

The scrnaseq pipeline would have to be slightly adapted to use the new version, but I can do that after you add the TCR and BCR support so the module update can be done only once to fix both issues.

If there are still mismatches like a variables that are not used anymore or scenarios that are not fully operational, please flag upstream as well.

So we can have the module fully operational upstream before we bring it in.

Does it make sense? Not sure if I actually answered or not, but feel free to ask for more clarification if needed.

:)

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