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

Fix cellranger multi handling of crispr data #7175

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/nf-core/cellranger/multi/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ process CELLRANGER_MULTI {
include_vdj = vdj_fastqs.first().getName() != 'fastqs' && vdj_reference ? '[vdj]' : ''
include_beam = beam_fastqs.first().getName() != 'fastqs' && beam_control_panel ? '[antigen-specificity]' : ''
include_cmo = cmo_fastqs.first().getName() != 'fastqs' && cmo_barcodes ? '[samples]' : ''
include_fb = ab_fastqs.first().getName() != 'fastqs' && fb_reference ? '[feature]' : ''
include_fb = (ab_fastqs.first().getName() != 'fastqs' || crispr_fastqs.first().getName() != 'fastqs') && fb_reference ? '[feature]' : ''
include_frna = gex_frna_probeset_name && frna_sampleinfo ? '[samples]' : ''

gex_reference_path = include_gex ? "reference,./${gex_reference_name}" : ''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def chunk_iter(seq, size):
# do not match "SRR12345", "file_INFIXR12", etc
filename_pattern = r"([^a-zA-Z0-9])R1([^a-zA-Z0-9])"

for modality in ["gex", "vdj", "ab", "beam", "cmo", "cirspr"]:
for modality in ["gex", "vdj", "ab", "beam", "cmo", "crispr"]:
# get fastqs, ordered by path. Files are staged into
# - "fastq_001/{original_name.fastq.gz}"
# - "fastq_002/{original_name.fastq.gz}"
Expand Down
Loading