Skip to content

Commit

Permalink
Fixing issue #297
Browse files Browse the repository at this point in the history
  • Loading branch information
heylf committed Feb 2, 2024
1 parent ddf3e1d commit 59648cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions assets/protocols.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
"protocol": "SC3Pv3"
}
},
"cellrangerarc": {
"auto": {
"protocol": "auto"
}
},
"star": {
"10XV1": {
"protocol": "CB_UMI_Simple",
Expand Down
2 changes: 1 addition & 1 deletion workflows/scrnaseq.nf
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ include { MULTIQC } from '../modules/nf-core/multiqc/main'
ch_output_docs = file("$projectDir/docs/output.md", checkIfExists: true)
ch_output_docs_images = file("$projectDir/docs/images/", checkIfExists: true)
protocol_config = WorkflowScrnaseq.getProtocol(workflow, log, params.aligner, params.protocol)
if (protocol_config['protocol'] == 'auto' && params.aligner != "cellranger") {
if (protocol_config['protocol'] == 'auto' && ( params.aligner != "cellranger" && params.aligner != "cellrangerarc") ) {
error "Only cellranger supports `protocol = 'auto'`. Please specify the protocol manually!"
}

Expand Down

0 comments on commit 59648cc

Please sign in to comment.