Skip to content

Commit

Permalink
Reuse ref_ch instead of redundantly redefining in effluent workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
j3551ca committed Dec 27, 2023
1 parent 9e86248 commit d275756
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 1 addition & 5 deletions modules/effluent.nf
Original file line number Diff line number Diff line change
Expand Up @@ -203,13 +203,9 @@ workflow EFFLUENT {
trim_aln_ch
freeb_vcf_ch
ann_vcf_ch
ref_ch

main:
ref_ch = Channel
.fromPath(params.ref,
checkIfExists:true)



if (params.rerun_lins != null){

Expand Down
1 change: 1 addition & 0 deletions modules/treatment.nf
Original file line number Diff line number Diff line change
Expand Up @@ -315,4 +315,5 @@ workflow TREATMENT {
trim_aln_ch
freeb_vcf_ch
ann_vcf_ch
ref_ch
}

0 comments on commit d275756

Please sign in to comment.