Skip to content

Commit

Permalink
Merge branch 'refactor_light' of github.com:maxulysse/nf-core_sarek i…
Browse files Browse the repository at this point in the history
…nto refactor_light
  • Loading branch information
maxulysse committed Apr 3, 2024
2 parents 0e86cc2 + 4575cba commit 853f7d1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ workflow NFCORE_SAREK {

// Gather built indices or get them from the params
// Built from the fasta file:
dict = params.dict ? Channel.fromPath(params.dict).map{ it -> [ [id:'dict'], it ] }
dict = params.dict ? Channel.fromPath(params.dict).map{ it -> [ [id:'dict'], it ] }.collect()
: PREPARE_GENOME.out.dict
fasta_fai = params.fasta_fai ? Channel.fromPath(params.fasta_fai)
fasta_fai = params.fasta_fai ? Channel.fromPath(params.fasta_fai).collect()
: PREPARE_GENOME.out.fasta_fai
bwa = params.bwa ? Channel.fromPath(params.bwa).collect()
: PREPARE_GENOME.out.bwa
Expand Down
3 changes: 1 addition & 2 deletions subworkflows/local/samplesheet_to_channel/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ workflow SAMPLESHEET_TO_CHANNEL{
aligner //
ascat_alleles //
ascat_loci //
ascat_loci_gc //
ascat_loci_rt //
bcftools_annotations //
bcftools_annotations_tbi //
Expand Down Expand Up @@ -306,5 +307,3 @@ def flowcellLaneFromFastq(path) {
}
return fcid
}


1 change: 1 addition & 0 deletions subworkflows/local/utils_nfcore_sarek_pipeline/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ if (params.tools && (params.tools.split(',').contains('vep') || params.tools.
params.aligner,
params.ascat_alleles,
params.ascat_loci,
params.ascat_loci_gc,
params.ascat_loci_rt,
params.bcftools_annotations,
params.bcftools_annotations_tbi,
Expand Down

0 comments on commit 853f7d1

Please sign in to comment.