Skip to content

Commit

Permalink
Merge pull request #337 from nf-core/fmalmeida-patch-1
Browse files Browse the repository at this point in the history
Include cellrangerarc in checker
  • Loading branch information
grst committed Jun 4, 2024
2 parents 411d5fe + 20a6b46 commit 64a3382
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workflows/scrnaseq.nf
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ workflow SCRNASEQ {
main:

protocol_config = Utils.getProtocol(workflow, log, params.aligner, params.protocol)
if (protocol_config['protocol'] == 'auto' && params.aligner !in ["cellranger", "cellrangermulti"]) {
if (protocol_config['protocol'] == 'auto' && params.aligner !in ["cellranger", "cellrangerarc", "cellrangermulti"]) {
error "Only cellranger supports `protocol = 'auto'`. Please specify the protocol manually!"
}

ch_genome_fasta = params.fasta ? file(params.fasta, checkIfExists: true) : ( params.genome ? file( getGenomeAttribute('fasta'), checkIfExists: true ) : [] )
ch_gtf = params.gtf ? file(params.gtf, checkIfExists: true) : ( params.genome ? file( getGenomeAttribute('gtf'), checkIfExists: true ) : [] )
ch_gtf = params.gtf ? file(params.gtf , checkIfExists: true) : ( params.genome ? file( getGenomeAttribute('gtf') , checkIfExists: true ) : [] )

// general input and params
ch_transcript_fasta = params.transcript_fasta ? file(params.transcript_fasta): []
Expand Down

0 comments on commit 64a3382

Please sign in to comment.