Skip to content

Commit

Permalink
Fixing warning message produced by nanocomp so that files are passed …
Browse files Browse the repository at this point in the history
…in correctly
  • Loading branch information
atrull314 committed Mar 13, 2024
1 parent 2714573 commit 6e358bc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
3 changes: 2 additions & 1 deletion modules/local/nanocomp.nf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ process NANOCOMP {
'biocontainers/nanocomp:1.20.0--pyhdfd78af_0' }"

input:
tuple path(ont_files), path(ont_files_idx)
path(ont_files)
path(idx_files)

output:
path "*.html" , emit: html
Expand Down
12 changes: 4 additions & 8 deletions workflows/scnanoseq.nf
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,9 @@ workflow SCNANOSEQ {
ch_nanocomp_fastq_html = Channel.empty()
ch_nanocomp_fastq_txt = Channel.empty()
if (!params.skip_qc && !params.skip_fastq_nanocomp) {
ch_nanocomp_fastqs = ch_cat_fastq
.collect{it[1]}
.combine( ch_dummy_file )

NANOCOMP_FASTQ ( ch_nanocomp_fastqs )
NANOCOMP_FASTQ ( ch_cat_fastq.collect{it[1]},
ch_dummy_file )
ch_nanocomp_fastq_html = NANOCOMP_FASTQ.out.html
ch_nanocomp_fastq_txt = NANOCOMP_FASTQ.out.txt

Expand Down Expand Up @@ -437,11 +435,9 @@ workflow SCNANOSEQ {
ch_nanocomp_bam_txt = Channel.empty()

if (!params.skip_qc && !params.skip_bam_nanocomp) {
ch_nanocomp_bams = ch_minimap_sorted_bam
.collect{it[1]}
.join( ch_minimap_sorted_bai, by: 0 )

NANOCOMP_BAM ( ch_nanocomp_bams )
NANOCOMP_BAM ( ch_minimap_sorted_bam.collect{it[1]},
ch_minimap_sorted_bai.collect{it[1]})

ch_nanocomp_bam_html = NANOCOMP_BAM.out.html
ch_nanocomp_bam_txt = NANOCOMP_BAM.out.txt
Expand Down

0 comments on commit 6e358bc

Please sign in to comment.