Sylvia Li
10/08/2025, 6:07 PMPriyanka Surana
10/10/2025, 7:24 AMSusanne Jodoin
10/13/2025, 2:49 PMJon Brรฅte
10/16/2025, 10:38 AMmanifest {
name = 'folkehelseinstituttet/hcvtyper'
author = """Jon Brรฅte"""
homePage = '<https://github.com/folkehelseinstituttet/hcvtyper>'
description = """Assemble and genotype HCV genomes from NGS data"""
mainScript = '<http://main.nf|main.nf>'
nextflowVersion = '!>=23.04.0'
version = '1.1.1' // Current release version
doi = ''
}
Current code for the process:
process SUMMARIZE {
label 'process_medium'
errorStrategy 'terminate'
// Environment with R tidyverse and seqinr packages from the conda-forge channel. Created using seqera containers.
// URLs:
// Docker image: <https://wave.seqera.io/view/builds/bd-3536dd50a17de0ab_1?_gl=1*16bm7ov*_gcl_au*MTkxMjgxNTMwMi4xNzUzNzczOTQz>
// Singularity image: <https://wave.seqera.io/view/builds/bd-88101835c4571845_1?_gl=1*5trzpp*_gcl_au*MTkxMjgxNTMwMi4xNzUzNzczOTQz>
conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'<https://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/2a/2a1764abd77b9638883a202b96952a48f46cb0ee6c4f65874b836b9455a674d1/data>':
'<http://community.wave.seqera.io/library/r-gridextra_r-png_r-seqinr_r-tidyverse:3536dd50a17de0ab|community.wave.seqera.io/library/r-gridextra_r-png_r-seqinr_r-tidyverse:3536dd50a17de0ab>' }"
// Set environment variables for summarize.R
env "PIPELINE_NAME", "${workflow.manifest.name}"
env "PIPELINE_VERSION", "${workflow.manifest.version}" // Primary version source
env "PIPELINE_REVISION", "${workflow.revision ?: ''}" // Secondary (branch/tag info)
env "PIPELINE_COMMIT", "${workflow.commitId ?: ''}" // Tertiary (commit info)
input:
path samplesheet
val stringency_1
val stringency_2
path 'trimmed/'
path 'kraken_classified/'
path 'parsefirst_mapping/'
path 'stats_withdup/'
path 'stats_markdup/'
path 'depth/'
path 'blast/'
path 'glue/'
path 'id/'
path 'variation/'
output:
path 'Summary.csv' , emit: summary
path '*mqc.csv' , emit: mqc
path '*png' , emit: png
path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script:
def args = task.ext.args ?: ''
"""
summarize.R \\
$samplesheet \\
$stringency_1 \\
$stringency_2 \\
$args
But the R-script prints "HCVTyper (version unknown)". Relevant code part in the R-script:
pipeline_name <- Sys.getenv("PIPELINE_NAME", "HCVTyper") # Use HCVTyper if not set
pipeline_version <- Sys.getenv("PIPELINE_VERSION", "")
pipeline_rev <- Sys.getenv("PIPELINE_REVISION", "")
pipeline_commit <- Sys.getenv("PIPELINE_COMMIT", "")
# Precedence: version > revision > commit
ver_label <- dplyr::coalesce(
na_if(pipeline_version, ""),
na_if(pipeline_rev, ""),
na_if(pipeline_commit, "")
)
script_name_version <- if (!<http://is.na|is.na>(ver_label)) {
paste(pipeline_name, ver_label)
} else {
paste(pipeline_name, "(version unknown)")
}Salim Bougouffa
10/16/2025, 12:36 PMPaweล Ciurka
10/17/2025, 4:15 PMNour El Houda Barhoumi
10/19/2025, 3:46 PMSylvia Li
10/20/2025, 11:37 PMYeji Bae
10/21/2025, 1:17 AMnf-core/scrnaseq_nf, but Iโm facing a memory issue with the cellranger count step. I tried increasing the memory by specifying it in my config file as shown below, but it still runs with 15 GB.
process {
withName: 'CELLRANGER_COUNT' {
cpus = 8
memory = 36.GB //TODO: check the format
time = '24h'
}
}
Here is my command for running the pipeline.
nextflow \
-log test_running_cellranger1017.log \
run nf-core/scrnaseq \
-c conf/rnaseq_sasquatch.config \
-profile seattlechildrens,test \
-params-file params/nf-core_scrnaseq_params_ex_cellranger.yml \
-resumeSylvia Li
10/21/2025, 6:58 PMworkflow MAIN {
channel1 = Channel.of(1, 2, 3, 4) // size 4
channel2 = Channel.of('A', 'B', 'C') // size 3
SUB_WORKFLOW(channel1, channel2)
}
workflow SUB_WORKFLOW {
take:
input1 // size 4
input2 // size 3
main:
PROCESS_ONE(input1) // will this run 4times?
PROCESS_TWO(input2) // Will this run 3 times?
}
Will the processes within the subworkflow run the amount of times necessary for each separate channel? I'm worried, or maybe I misunderstood, that it will only run 3 times, since that is the smallest channel for input.
is that an issue only if they're both used in 1 Process and they differ in size?Ammar Aziz
10/22/2025, 4:50 AMERROR ~ /tmp/nextflow-plugin-nf-schema-2.1.1.lock (Permission denied)Ammar Aziz
10/22/2025, 4:51 AMctrl + c during nextflow startup/downloading?Aivars Cฤซrulis
10/22/2025, 1:36 PMchase mateusiak
10/23/2025, 12:14 AM...
input:
tuple val(meta), path(peaks) // peaks can be a list of peak files
output:
tuple val(meta), path("*_merged.txt"), emit: merged
path "versions.yml" , emit: versions
when:
task.ext.when == null || task.ext.when
script:
def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}"
def peak_list = peaks instanceof List ? peaks : [peaks]
def use_peak_file = peak_list.size() > 10
def VERSION = '5.1'
if (use_peak_file) {
"""
# Create file list using a shell loop
for peak_file in ${peaks.join(' ')}; do
echo "\${peak_file}" >> ${prefix}_peak_files.txt
done
mergePeaks \\
$args \\
-file ${prefix}_peak_files.txt \\
> ${prefix}_merged.txt
cat <<-END_VERSIONS > versions.yml
"${task.process}":
homer: ${VERSION}
END_VERSIONS
"""
} else {
"""
mergePeaks \\
$args \\
${peaks.join(' ')} \\
> ${prefix}_merged.txt
cat <<-END_VERSIONS > versions.yml
"${task.process}":
homer: ${VERSION}
END_VERSIONS
"""
}
...
that works with 4 files (reducing the threshold at which it is using a lookup), but when I try it with 1000+, it isn't. It seems like it is failing to symlink the files into the work dir, too, which also isn't happening when I run this on a reduced number of files (can't tell if that is true yet or not -- just dealing with it now)Dylan Renard
10/23/2025, 2:06 PMYang Pei
10/24/2025, 1:14 PMexecutor > slurm (6)
[4d/0abfaf] YPEโฆRBASE:FASTQC (sub_tes33d6) | 0 of 3
[6a/6d8f03] YPEโฆBASE:FASTP (sub_spike0125) | 2 of 3
[- ] YPEโฆNCLE_FGBIO_PERBASE:BWA_MEM -
executor > slurm (6)
[2a/cfa7f3] YPEโฆASE:FASTQC (sub_spike0125) | 1 of 3
[6a/6d8f03] YPEโฆBASE:FASTP (sub_spike0125) | 2 of 3
[- ] YPEโฆNCLE_FGBIO_PERBASE:BWA_MEM -
executor > slurm (9)
[4d/0abfaf] YPEโฆRBASE:FASTQC (sub_tes33d6) | 3 of 3 โ
[fd/92aa1d] YPEโฆERBASE:FASTP (sub_tes33d6) | 3 of 3 โ
[50/b7a700] YPEโฆBASE:BWA_MEM (sub_tes33d6) | 0 of 3
It looks like BWA_MEM only starts once all 3 FASTP tasks for that sample have finished, rather than as each FASTP task completes. Is that expected Nextflow behaviour? Or is there a way to configure Nextflow (or Slurm/executor) to let downstream tasks be scheduled as each upstream task finishes (like a per-task streaming)?Slackbot
10/28/2025, 10:25 AMรcaro Castro
10/28/2025, 2:47 PM(nextflow) icastro@sbcb-cbiot-05:~$ nextflow run nf-core/ampliseq -profile conda,test --outdir test_ampliseq
N E X T F L O W ~ version 25.04.3
nextflow run nf-core/ampliseq -profile conda,test --outdir test_ampliseq
ERROR ~ Unable to parse config file: '/home/icastro/.nextflow/assets/nf-core/ampliseq/nextflow.config'
Cannot read config file include: <https://raw.githubusercontent.com/nf-core/configs/master/pipeline/ampliseq.config>
The same error now happens with any nf-core pipeline I try to run, for example:
(nextflow) icastro@sbcb-cbiot-05:~$ nextflow run nf-core/sarek -profile conda,test --outdir test
N E X T F L O W ~ version 25.04.3
ERROR ~ Unable to parse config file: '/home/icastro/.nextflow/assets/nf-core/sarek/nextflow.config'
Cannot read config file include: <https://raw.githubusercontent.com/nf-core/configs/master/nfcore_custom.config>
It seems Nextflow canโt fetch the nf-core configs from GitHub anymore.
Has anyone experienced this issue or knows how to fix it?
Iโve already tried removing and reinstalling nf-core pipelines with nextflow pull, but the error persists.
Thanks in advance for your help! ๐๐ผAytac Oksuzoglu
10/29/2025, 9:26 AMnextflow run nf-core/mag \
-profile apptainer \
--input samplesheet.csv \
--outdir ./mag_output \
--binqc_tool checkm2 \
--gtdb_db /db/GTDB/r226/gtdbtk_r226_data.tar.gz \
-r 5.0.0 \
-resume
The pipeline works great until PROKKA. Then this error pops up. I could not solve it, is there any advice for me?
Error msg:
-[nf-core/mag] Pipeline completed with errors-
ERROR ~ Error executing process > 'NFCORE_MAG๐PROKKA (METAMDBG-CONCOCT-PAEA-B4_9)'
Caused by:
Process NFCORE_MAG:mag:PROKKA (METAMDBG-CONCOCT-PAEA-B4_9) terminated with an error exit status (2)
Command executed:
prokka \
--metagenome \
--cpus 2 \
--prefix METAMDBG-CONCOCT-PAEA-B4_9 \
\
\
METAMDBG-CONCOCT-PAEA-B4_9.fa
cat <<-END_VERSIONS > versions.yml
"NFCORE_MAG๐PROKKA":
prokka: $(echo $(prokka --version 2>&1) | sed 's/^.*prokka //')
END_VERSIONS
Command exit status:
2
Command output:
(empty)
Command error:
[145315] Determined blastp version is 002016 from 'blastp: 2.16.0+'
[145315] Looking for 'cmpress' - found /opt/conda/bin/cmpress
[145315] Determined cmpress version is 001001 from '# INFERNAL 1.1.5 (Sep 2023)'
[145315] Looking for 'cmscan' - found /opt/conda/bin/cmscan
[145315] Determined cmscan version is 001001 from '# INFERNAL 1.1.5 (Sep 2023)'
[145315] Looking for 'egrep' - found /usr/bin/egrep
[145315] Looking for 'find' - found /usr/bin/find
[145315] Looking for 'grep' - found /usr/bin/grep
[145315] Looking for 'hmmpress' - found /opt/conda/bin/hmmpress
[145315] Determined hmmpress version is 003004 from '# HMMER 3.4 (Aug 2023); http://hmmer.org/'
[145315] Looking for 'hmmscan' - found /opt/conda/bin/hmmscan
[145315] Determined hmmscan version is 003004 from '# HMMER 3.4 (Aug 2023); http://hmmer.org/'
[145315] Looking for 'java' - found /opt/conda/bin/java
[145315] Looking for 'makeblastdb' - found /opt/conda/bin/makeblastdb
[145315] Determined makeblastdb version is 002016 from 'makeblastdb: 2.16.0+'
[145315] Looking for 'minced' - found /opt/conda/bin/minced
[145315] Determined minced version is 004002 from 'minced 0.4.2'
[145315] Looking for 'parallel' - found /opt/conda/bin/parallel
[145316] Determined parallel version is 20241122 from 'GNU parallel 20241122'
[145316] Looking for 'prodigal' - found /opt/conda/bin/prodigal
[145316] Determined prodigal version is 002006 from 'Prodigal V2.6.3: February, 2016'
[145316] Looking for 'prokka-genbank_to_fasta_db' - found /opt/conda/bin/prokka-genbank_to_fasta_db
[145316] Looking for 'sed' - found /usr/bin/sed
[145316] Looking for 'tbl2asn' - found /opt/conda/bin/tbl2asn
[145316] Determined tbl2asn version is 025007 from 'tbl2asn 25.7 arguments:'
[145316] Using genetic code table 11.
[145316] Loading and checking input file: METAMDBG-CONCOCT-PAEA-B4_9.fa
[145316] Wrote 1 contigs totalling 5578 bp.
[145316] Predicting tRNAs and tmRNAs
[145316] Running: aragorn -l -gc11 -w METAMDBG\-CONCOCT\-PAEA\-B4_9\/METAMDBG\-CONCOCT\-PAEA\-B4_9\.fna
[145316] Found 0 tRNAs
[145316] Predicting Ribosomal RNAs
[145316] Running Barrnap with 2 threads
[145316] Found 0 rRNAs
[145316] Skipping ncRNA search, enable with --rfam if desired.
[145316] Total of 0 tRNA + rRNA features
[145316] Searching for CRISPR repeats
[145316] Found 0 CRISPRs
[145316] Predicting coding sequences
[145316] Contigs total 5578 bp, so using meta mode
[145316] Running: prodigal -i METAMDBG\-CONCOCT\-PAEA\-B4_9\/METAMDBG\-CONCOCT\-PAEA\-B4_9\.fna -c -m -g 11 -p meta -f sco -q
[145316] Found 5 CDS
[145316] Connecting features back to sequences
[145316] Not using genus-specific database. Try --usegenus to enable it.
[145316] Annotating CDS, please be patient.
[145316] Will use 2 CPUs for similarity searching.
[145317] There are still 5 unannotated CDS left (started with 5)
[145317] Will use blast to search against /opt/conda/db/kingdom/Bacteria/IS with 2 CPUs
[145317] Running: cat METAMDBG\-CONCOCT\-PAEA\-B4_9\/METAMDBG\-CONCOCT\-PAEA\-B4_9\.IS\.tmp\.67\.faa | parallel --gnu --plain -j 2 --block 366 --recstart '>' --pipe blastp -query - -db /opt/conda/db/kingdom/Bacteria/IS -evalue 1e-30 -qcov_hsp_perc 90 -num_threads 1 -num_descriptions 1 -num_alignments 1 -seg no > METAMDBG\-CONCOCT\-PAEA\-B4_9\/METAMDBG\-CONCOCT\-PAEA\-B4_9\.IS\.tmp\.67\.blast 2> /dev/null
[145317] Could not run command: cat METAMDBG\-CONCOCT\-PAEA\-B4_9\/METAMDBG\-CONCOCT\-PAEA\-B4_9\.IS\.tmp\.67\.faa | parallel --gnu --plain -j 2 --block 366 --recstart '>' --pipe blastp -query - -db /opt/conda/db/kingdom/Bacteria/IS -evalue 1e-30 -qcov_hsp_perc 90 -num_threads 1 -num_descriptions 1 -num_alignments 1 -seg no > METAMDBG\-CONCOCT\-PAEA\-B4_9\/METAMDBG\-CONCOCT\-PAEA\-B4_9\.IS\.tmp\.67\.blast 2> /dev/null
Work dir:
/scratch/shire/data/nj/projects/mosquito_ubiome_aging/preliminary/20251022_aytac_trial_analysis/work/64/757b4928116431c1597396b80a1475
Container:
/gen/lnxdata/nf-core/community.wave.seqera.io-library-prokka_openjdk-10546cadeef11472.img
Tip: when you have fixed the problem you can continue the execution adding the option -resume to the run command line
-- Check '.nextflow.log' file for details
ERROR ~ Pipeline failed. Please refer to troubleshooting docs: https://nf-co.re/docs/usage/troubleshooting
-- Check '.nextflow.log' file for details
[Mon 27 Oct 184010 CET 2025] Finished workflow.Carolina Albuquerque Massena Ribeiro
10/29/2025, 3:05 PMsalmon.merged.gene_counts.tsv is already normalized in any way?
Thank you!mina ming
10/29/2025, 3:17 PMCaused by:
`Process NFCORE_RNASEQ:RNASEQ:FASTQ_QC_TRIM_FILTER_SETSTRANDEDNESS:FQ_LINT (S1) terminated with an error exit status (1)`
Command executed:
fq lint \
--disable-validator P001 \
034_1_S1_R1_001.fastq.gz 034_1_S1_R2_001.fastq.gz > S1.fq_lint.txt
cat <<-END_VERSIONS > versions.yml
"NFCORE_RNASEQ:RNASEQ:FASTQ_QC_TRIM_FILTER_SETSTRANDEDNESS:FQ_LINT":
fq: $(echo $(fq lint --version | sed 's/fq-lint //g'))
END_VERSIONS
Command exit status:
1 this this my code nextflow run nf-core/rnaseq \
-profile singularity \
-process.executor slurm \
--input /users/fi0001/singlesample.csv \
--outdir /parallel_scratch/$USER/nfcore/rnaseq_S1/results \
--genome GRCh38 \
--start_from_fastq_qc false \
--skip_fq_lint true \
--save_trimmed \
-work-dir /parallel_scratch/$USER/nfcore/rnaseq_S1/work \
-with-report -with-trace -with-timelineAbdoulie Kanteh
10/30/2025, 10:36 AMJon Brรฅte
10/30/2025, 12:15 PMJorge Gonzalez
10/31/2025, 12:19 PMnf-core/genomeassembler with Apptainer on our SLURM cluster (Leftraru) in Chile, but I keep running into a consistent error during the container pulling phase.
Error message:
Cannot invoke "nextflow.util.Duration.toMillis()" because "this.pullTimeout" is null
Iโve tried setting apptainer.pullTimeout at the user level (e.g., in .config and through environment variables), but the error persists.
1. Has anyone seen this specific pullTimeout is null error before? Was it fixed by having the cluster admin define a default value in the global Nextflow config?
2. Is there a known user-level workaround to force initialization of this variable when the system default is missing?
Iโve already contacted our cluster support team, but Iโm hoping to get some quick insights from the community in the meantime.
Thanks a lot for any guidance โ still learning my way around Nextflow!Dylan Renard
10/31/2025, 8:40 PMNour El Houda Barhoumi
11/02/2025, 11:58 PMNadia Sanseverino
11/03/2025, 2:54 PM(new-dev) nadiunix@LAPTOP-FAG8G0FQ:~/sammyseq$ nf-core modules update untar
...
TypeError: unhashable type: 'dict'Kathryn Greiner-Ferris
11/03/2025, 6:54 PMJames Fellows Yates
11/04/2025, 11:00 AMmeta in prefix and args etc... in our modules.config
Any suggestions how else to use these variables within in the modules.config file 'properly'?James Fellows Yates
11/04/2025, 11:01 AM