Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates cellranger_vdj #305

Merged
merged 6 commits into from
Feb 27, 2024
Merged

Conversation

ggabernet
Copy link
Member

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/airrflow branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core 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).

Copy link

github-actions bot commented Feb 16, 2024

nf-core lint overall result: Passed ✅

Posted for pipeline commit afa4c1d

+| ✅ 205 tests passed       |+
#| ❔   7 tests were ignored |#

❔ Tests ignored:

✅ Tests passed:

Run details

  • nf-core/tools version 2.12.1
  • Run at 2024-02-20 15:02:56

@ggabernet ggabernet requested a review from mapo9 February 20, 2024 19:26
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

- [#294](https://github.com/nf-core/airrflow/pull/294) Merge template updates nf-core/tools v2.11.1
- [#299](https://github.com/nf-core/airrflow/pull/299) Add profile for common NEB and TAKARA protocols
- Add possibility to merge multi-lane samples when starting from fastq files
Copy link
Member Author

Choose a reason for hiding this comment

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

@mapo9 I added the possibility to merge multi-lane samples for Bulk, and to send multi-lane samples to the same cellranger vdj process, as Cellranger can handle them directly.

Copy link
Collaborator

Choose a reason for hiding this comment

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

that's great thanks!

@@ -120,7 +120,6 @@ params {
// Single cell raw input options
// -----------------------
reference_10x = null
sc_raw = false
Copy link
Member Author

Choose a reason for hiding this comment

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

Not needed if setting the param library_generation_protocol == "sc_10X_genomics"

Copy link
Collaborator

Choose a reason for hiding this comment

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

sure, we can leave it out and add library_generation_protocols for the mixcr single cell analysis as well

ch_sc_reference
)
ch_versions = ch_versions.mix(CELLRANGER_VDJ.out.versions)
ch_sc_reference.collect()
Copy link
Member Author

Choose a reason for hiding this comment

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

@mapo9 this one is important, if combining a channel with multiple input files, with one that only contains 1 file, e.g. the reference here, one needs to use the .collect() method for the reference, as otherwise the CELLRANGER_VDJ process will only be executed once for one sample at random.

Copy link
Collaborator

Choose a reason for hiding this comment

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

👍

Copy link
Collaborator

Choose a reason for hiding this comment

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

thanks! fixing this behaviour would've taken me hours probably

Copy link
Collaborator

@mapo9 mapo9 left a comment

Choose a reason for hiding this comment

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

lgtm, thanks for the changes!

@ggabernet ggabernet merged commit a0ad699 into nf-core:cellranger_vdj Feb 27, 2024
22 of 28 checks passed
@ggabernet ggabernet deleted the cellranger_vdj branch November 27, 2024 01:10
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