-
Notifications
You must be signed in to change notification settings - Fork 39
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
Conversation
|
@@ -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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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"
There was a problem hiding this comment.
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() |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
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
There was a problem hiding this 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!
PR checklist
nf-core lint
).nextflow run . -profile test,docker --outdir <OUTDIR>
).nextflow run . -profile debug,test,docker --outdir <OUTDIR>
).docs/usage.md
is updated.docs/output.md
is updated.CHANGELOG.md
is updated.README.md
is updated (including new tool citations and authors/contributors).