Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug introduced in 3.4.1 causes premature stop of the pipeline #1622

Open
bounlu opened this issue Aug 14, 2024 · 4 comments
Open

Bug introduced in 3.4.1 causes premature stop of the pipeline #1622

bounlu opened this issue Aug 14, 2024 · 4 comments
Labels
bug Something isn't working
Milestone

Comments

@bounlu
Copy link

bounlu commented Aug 14, 2024

Description of the bug

The pipeline prematurely stops with the error:

Missing process or function Channel.empty([[]])

The log file says:
Caused by: groovy.lang.MissingMethodException: No signature of method: java.lang.Object.Channel.empty() is applicable for argument types: (ArrayList) values: [[]]

It's hard to debug where it comes from but I confirm it was introduced in bfec02f

When I run the pipeline with the sha before than that it works fine.

Command used and terminal output

#!/bin/bash

nextflow run nf-core/sarek \
-latest \
-profile docker \
--aligner 'bwa-mem2' \
--step mapping \
--tools freebayes,mutect2,strelka,manta,tiddit,cnvkit,controlfreec,snpeff,vep,merge \
--wes \
--intervals 'chip.hg38.bed' \
--igenomes_base 's3://ngi-igenomes/igenomes' \
--snpeff_cache '/data/snpeff_cache' \
--snpeff_genome 'GRCh38' \
--snpeff_db '105' \
--vep_cache '/data/vep_cache' \
--vep_species 'homo_sapiens' \
--vep_genome 'GRCh38' \
--vep_cache_version '111' \
--input 'samplesheet.csv' \
--outdir 'results/' \
-work-dir 'work/' \
-c 'custom_local.config' \
-r bfec02fcda0bfcdb3ce1ced5792bcc9552d8b26f \
-resume

Relevant files

No response

System information

Nextflow version 24.07.0-edge
Ubuntu Server 22.04
local executor
Docker

@oghzzang
Copy link

I have same issue, too!

@asp8200
Copy link
Contributor

asp8200 commented Nov 5, 2024

Try reverting to Nextflow v24.04.4. It can be done like this:

NXF_VER=24.04.4 nextflow run … <your parameters here>

The problem seems to first have appeared with NF 24.07.0-edge.

@dbarras2
Copy link

dbarras2 commented Nov 6, 2024

Thanks so much to all!!

Reverting the version doing :

NXF_VER=24.04.4 nextflow run …

Seems to work fine (at least the pipeline as started!)

Thanks again to all,

David

@asp8200
Copy link
Contributor

asp8200 commented Nov 6, 2024

It seems that the problem is about to be solved by this PR :-)

soccin added a commit to soccin/sarek that referenced this issue Nov 9, 2024
Convert bcf_annotations.tbi from empty() to value
channel to prevent stalling.
nf-core#1622
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

5 participants