Skip to content

Commit

Permalink
Merge pull request #360 from eolaniru/Fixfb_ref
Browse files Browse the repository at this point in the history
Fix: fb_reference
  • Loading branch information
grst authored Aug 13, 2024
2 parents 2dd8465 + 7582f30 commit 8923d21
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion subworkflows/local/align_cellrangermulti.nf
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ workflow CELLRANGER_MULTI_ALIGN {
vdj: meta.feature_type == "vdj"
return [ meta, fastq ]
ab: meta.feature_type == "ab"
return [ meta, fastq ]
if (params.fb_reference){
return [ meta, fastq ]
} else {
error ("Antibody reference was not specified. Please provide a reference file for feature barcoding (e.g. antibody measurements).\nPlease refer to https://www.10xgenomics.com/support/software/cell-ranger/latest/analysis/inputs/cr-feature-ref-csv for more details.")
}
beam: meta.feature_type == "beam"
return [ meta, fastq ]
crispr: meta.feature_type == "crispr"
Expand Down

0 comments on commit 8923d21

Please sign in to comment.