Caleb Tilton
07/29/2025, 2:35 PMJames Fellows Yates
07/29/2025, 3:04 PMJames Fellows Yates
07/29/2025, 3:04 PMJames Fellows Yates
07/29/2025, 3:04 PMJames Fellows Yates
07/29/2025, 3:08 PMJames Fellows Yates
07/29/2025, 3:09 PM.nextflow.log?James Fellows Yates
07/29/2025, 3:11 PMCaleb Tilton
07/29/2025, 3:16 PM<https://github.com/nf-core/taxprofiler> [berserk_heisenberg] DSL2 - revision: 970bdc2155 [1.2.3]
------------------------------------------------------
,--./,-.
_ _ _ __ _ /,-._.--~'
|\ | |__ _ / ` / \ |_) |__ } {
| \| | \__, \__/ | \ |___ \`-._,--,.,.,'
nf-core/taxprofiler 1.2.3
------------------------------------------------------
Input/output options
input : /gpfs2/scratch/pi/msama/Spring_2025_short_reads/taxprofiler_07_2025/samplesheet.csv
databases : /gpfs2/scratch/pi/msama/Spring_2025_short_reads/taxprofiler_07_2025/database.csv
outdir : /gpfs2/scratch/pi/msama/Spring_2025_short_reads/taxprofiler_07_2025/output/
Preprocessing short-read QC options
shortread_qc_mergepairs : true
Profiling options
run_diamond : true
run_kraken2 : true
run_bracken : true
run_malt : true
Postprocessing and visualisation options
run_krona : true
krona_taxonomy_directory: /gpfs2/scratch/pi/msama/Taxprofiler_db/krona/taxonomy/
Generic options
trace_report_suffix : 2025-07-29_10-39-13
Core Nextflow options
revision : 1.2.3
runName : berserk_heisenberg
containerEngine : singularity
launchDir : /gpfs2/scratch/pi/msama/Spring_2025_short_reads/taxprofiler_07_2025
workDir : /gpfs2/scratch/pi/msama/Spring_2025_short_reads/taxprofiler_07_2025/work
projectDir : /users/c/t/ctilton/.nextflow/assets/nf-core/taxprofiler
userName : ctilton
profile : singularity
configFiles : /users/c/t/ctilton/.nextflow/assets/nf-core/taxprofiler/nextflow.config, /gpfs2/scratch/pi/msama/Spring_2025_short_reads/taxprofiler_07_2025/malt_07_29.config
!! Only displaying parameters that differ from the pipeline defaults !!
------------------------------------------------------
* The pipeline
https://doi.org/10.1101/2023.10.20.563221
* The nf-core framework
https://doi.org/10.1038/s41587-020-0439-x
* Software dependencies
https://github.com/nf-core/taxprofiler/blob/master/CITATIONS.md
WARN: The following invalid input values have been detected:
* --max_cpus: 20
* --max_memory: 200GB
* --max_time: 48h
[- ] NFC…PROFILERtaxprofilerUNTAR -
[- ] NFC…ROFILERtaxprofilerFASTQC -
[- ] NFC…PROFILERtaxprofilerUNTAR -
[- ] NFC…ROFILERtaxprofilerFASTQC -
[- ] NFC…ROFILERPROFILINGMALT_RUN -
[- ] NFC…OFILING:MEGAN_RMA2INFO_TSV -
[- ] NFC…PROFILINGKRAKEN2_KRAKEN2 -
[- ] NFC…PROFILINGBRACKEN_BRACKEN -
[- ] NFC…RPROFILINGDIAMOND_BLASTX -
[- ] NFC…:KRAKENTOOLS_KREPORT2KRONA -
[- ] NFC…ON_KRONA:KAIJU_KAIJU2KRONA -
[- ] NFC…ZATION_KRONA:KRONA_CLEANUP -
[- ] NFC…N_KRONA:KRONA_KTIMPORTTEXT -
[- ] NFC…KRONA:MEGAN_RMA2INFO_KRONA -
[- ] NFC…VISUALIZATION_KRONA:GUNZIP -
[- ] NFC…ONA:KRONA_KTIMPORTTAXONOMY -
[- ] NFC…PROFILERtaxprofilerUNTAR -
[- ] NFC…ROFILERtaxprofilerFASTQC -
[- ] NFC…ROFILERPROFILINGMALT_RUN -
[- ] NFC…OFILING:MEGAN_RMA2INFO_TSV -
[- ] NFC…PROFILINGKRAKEN2_KRAKEN2 -
[- ] NFC…PROFILINGBRACKEN_BRACKEN -
[- ] NFC…RPROFILINGDIAMOND_BLASTX -
[- ] NFC…:KRAKENTOOLS_KREPORT2KRONA -
[- ] NFC…ON_KRONA:KAIJU_KAIJU2KRONA -
[- ] NFC…ZATION_KRONA:KRONA_CLEANUP -
[- ] NFC…N_KRONA:KRONA_KTIMPORTTEXT -
[- ] NFC…KRONA:MEGAN_RMA2INFO_KRONA -
[- ] NFC…VISUALIZATION_KRONA:GUNZIP -
[- ] NFC…ONA:KRONA_KTIMPORTTAXONOMY -
[- ] NFC…OFILERtaxprofilerMULTIQC -
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample 1BK.
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample 1TK.
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample 3BK.
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample 3TK.
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample 4BK.
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample 4TK.
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample BBK.
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample BTK.
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample neg.
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample pos.
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample UI1.
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample UI2.
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample UI3.
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample UI4.
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample UI5.
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample UI6.
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample UIneg1.
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample Undetermined.
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample UP1.
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample UP2.
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample UP3.
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample UP4.
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample UP5.
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample UP6.
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample UPbonus.
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample UPnegCT.
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample UPposCT.
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample US1.
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample US2.
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample US3.
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample US4.
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample US5.
WARN: [nf-core/taxprofiler] DIAMOND does not accept paired-end files as input. To run DIAMOND on this sample, please merge reads (e.g. with --shortread_qc_mergepairs). Skipping DIAMOND for sample US6.James Fellows Yates
07/29/2025, 3:25 PM.nextflow.log file`?James Fellows Yates
07/29/2025, 3:25 PMCaleb Tilton
07/29/2025, 3:39 PMJames Fellows Yates
07/29/2025, 3:42 PMJames Fellows Yates
07/29/2025, 3:42 PMparams.jsonJames Fellows Yates
07/29/2025, 3:42 PMJames Fellows Yates
07/29/2025, 3:42 PMJames Fellows Yates
07/29/2025, 3:44 PMJames Fellows Yates
07/29/2025, 3:45 PM--shortread_qc_mergepairs only works if you give --perform_shortread_qc did you specify this?James Fellows Yates
07/29/2025, 3:45 PMCaleb Tilton
07/29/2025, 3:47 PMJames Fellows Yates
07/29/2025, 3:47 PMJames Fellows Yates
07/29/2025, 3:47 PM--qc_mergepairs is evaluated)James Fellows Yates
07/29/2025, 3:47 PM--perform_shortread_qcCaleb Tilton
07/29/2025, 3:48 PMLili Andersson-Li
07/30/2025, 11:48 AM--perform_shortread_qc ?Subazini TK
07/31/2025, 11:10 AMNFCORE_TAXPROFILER:taxprofiler:PROFILING:KRAKENUNIQ_PRELOADEDKRAKENUNIQ input file name collision -- There are multiple input files for each of the following file names:'Lili Andersson-Li
07/31/2025, 11:15 AM.command.sh of this prcoess in work? Or can you add dump to the input channels of this process?James Fellows Yates
07/31/2025, 11:15 AMSubazini TK
07/31/2025, 11:55 AMSubazini TK
07/31/2025, 11:57 AMSubazini TK
07/31/2025, 11:59 AMJames Fellows Yates
07/31/2025, 12:47 PMSubazini TK
07/31/2025, 1:04 PMJames Fellows Yates
07/31/2025, 1:04 PMJames Fellows Yates
07/31/2025, 1:05 PMsample and run_accession columnsJames Fellows Yates
07/31/2025, 1:05 PMsample_run1 and sample_run_2James Fellows Yates
07/31/2025, 1:07 PManalysis_ready_fastqsJames Fellows Yates
07/31/2025, 1:11 PMSubazini TK
07/31/2025, 1:16 PMJames Fellows Yates
07/31/2025, 1:19 PM--save_analysis_ready_fastqs?Subazini TK
07/31/2025, 1:23 PMSubazini TK
07/31/2025, 1:44 PMJames Fellows Yates
07/31/2025, 1:45 PMJames Fellows Yates
07/31/2025, 1:45 PM.nextflow.log log?James Fellows Yates
07/31/2025, 1:46 PMSubazini TK
07/31/2025, 1:58 PMJames Fellows Yates
07/31/2025, 2:13 PMSubazini TK
07/31/2025, 2:21 PMSubazini TK
07/31/2025, 2:21 PMSubazini TK
07/31/2025, 3:22 PMJames Fellows Yates
07/31/2025, 4:31 PMProcess `NFCORE_TAXPROFILER:TAXPROFILER:PROFILING:KRAKENUNIQ_PRELOADEDKRAKENUNIQ` input file name collision -- There are multiple input files for each of the following file names: sequences/b5, sequences/7d6e8ff80fd5dd7c9ebfa6dbba041b, sequences/Results, sequences/Test, sequences/STK, sequences/projects, sequences, sequences/Validation, sequences/work, sequences/logs, sequences/P23-015James Fellows Yates
07/31/2025, 4:32 PMJames Fellows Yates
07/31/2025, 4:32 PMJames Fellows Yates
07/31/2025, 4:34 PMSubazini TK
08/01/2025, 6:38 AMSubazini TK
08/01/2025, 6:41 AMLili Andersson-Li
08/04/2025, 9:41 AMsequences in the working directory. Can you re-run analysis without -resume ?Lili Andersson-Li
08/04/2025, 9:41 AMSubazini TK
08/04/2025, 10:11 AMSubazini TK
08/04/2025, 6:38 PMLili Andersson-Li
08/05/2025, 6:03 AMSubazini TK
08/05/2025, 6:34 AMJames Fellows Yates
08/05/2025, 6:38 AMJames Fellows Yates
08/05/2025, 6:39 AMLili Andersson-Li
08/05/2025, 6:39 AMJames Fellows Yates
08/05/2025, 6:39 AM/ it splits the single path by / 🙃James Fellows Yates
08/05/2025, 6:48 AMJames Fellows Yates
08/05/2025, 6:48 AMJames Fellows Yates
08/05/2025, 6:49 AMwork/ directory, and then do a find -name 'P23-015' or something, so we know what is the upstream place that duplicate comes from?Lili Andersson-Li
08/05/2025, 6:49 AMJames Fellows Yates
08/05/2025, 6:57 AMJames Fellows Yates
08/05/2025, 6:57 AMSubazini TK
08/05/2025, 7:47 AMJames Fellows Yates
08/05/2025, 7:47 AMSubazini TK
08/06/2025, 7:22 AMJames Fellows Yates
08/06/2025, 7:23 AMJames Fellows Yates
08/06/2025, 7:23 AMJames Fellows Yates
08/06/2025, 7:24 AMJames Fellows Yates
08/06/2025, 7:24 AM[] when we don't run merge?Subazini TK
08/06/2025, 8:56 AMJames Fellows Yates
08/06/2025, 8:57 AMJames Fellows Yates
08/06/2025, 8:57 AMLili Andersson-Li
08/06/2025, 8:58 AMLili Andersson-Li
08/07/2025, 7:32 AMLili Andersson-Li
08/07/2025, 7:37 AM--krakenuniq_save_readclassifications . Re-run it.Lili Andersson-Li
08/07/2025, 7:51 AMKRAKENUNIQ_PRELOADEDKRAKENUNIQ was skipped, I will do a new test with the full test data:
params {
config_profile_name = 'Test profile'
config_profile_description = 'Minimal test dataset to check pipeline function'
// Input data
input = params.pipelines_testdata_base_path + 'taxprofiler/samplesheet.csv'
databases = params.pipelines_testdata_base_path + 'taxprofiler/database_v1.2.csv'
save_preprocessed_reads = true
krakenuniq_save_readclassifications = true
save_hostremoval_unmapped = true
perform_shortread_qc = true
perform_shortread_redundancyestimation = false
perform_longread_qc = false
shortread_qc_mergepairs = true
perform_shortread_complexityfilter = true
perform_shortread_hostremoval = false
perform_longread_hostremoval = true
perform_runmerging = false
hostremoval_reference = params.pipelines_testdata_base_path + 'modules/data/genomics/homo_sapiens/genome/genome.fasta'
run_kaiju = false
run_kraken2 = true
run_bracken = false
run_malt = false
run_metaphlan = false
run_centrifuge = false
run_diamond = true
run_krakenuniq = true
run_motus = false
run_ganon = false
run_krona = true
run_kmcp = false
krona_taxonomy_directory = params.pipelines_testdata_base_path + 'modules/data/genomics/sarscov2/metagenome/krona_taxonomy.tab'
malt_save_reads = true
kraken2_save_reads = true
centrifuge_save_reads = true
run_profile_standardisation = true
}James Fellows Yates
08/07/2025, 8:25 AMLili Andersson-Li
08/07/2025, 8:26 AMLili Andersson-Li
08/07/2025, 9:00 AM[DUMP: un-merged_reads] [['id':'db6', 'single_end':true, 'seqtype':'fasta', 'tool':'krakenuniq', 'db_name':'db6', 'db_params':'', 'type':'short'], [/nf-core/test-datasets/taxprofiler/data/fasta/ERX5474930_ERR5766174_1.fa.gz], ["<http://2611_ERR5766174.se|2611_ERR5766174.se>"]]
[DUMP: un-merged_reads] [['id':'db6', 'single_end':true, 'seqtype':'fasta', 'tool':'krakenuniq', 'db_name':'db6', 'db_params':'', 'type':'long'], [/nf-core/test-datasets/taxprofiler/data/fasta/ERR3201952_dup.fa.gz], ["<http://2614_ERR3201952.se|2614_ERR3201952.se>"]]
[DUMP: un-merged_reads] [['id':'db6', 'single_end':true, 'seqtype':'fastq', 'tool':'krakenuniq', 'db_name':'db6', 'db_params':'', 'type':'long'], [/home/proj/development/microbial/metagenomics/lili/pipelines/nfcore/taxprofiler/work/99/bfe61fc37307e71b131d85aa2ee3ab/ERR3201952_ERR3201952_filtered.fastq.gz], ["<http://ERR3201952_ERR3201952.se|ERR3201952_ERR3201952.se>"]]
[DUMP: un-merged_reads] [['id':'db6', 'single_end':true, 'seqtype':'fastq', 'tool':'krakenuniq', 'db_name':'db6', 'db_params':'', 'type':'short'], [home, proj, development, microbial, metagenomics, lili, pipelines, nfcore, taxprofiler, work, 2b, 6cebfd0431953c617c07ec9af8491e, 2612_ERR5766176.unmapped.fastq.gz, home, proj, development, microbial, metagenomics, lili, pipelines, nfcore, taxprofiler, work, 01, 85309f465c7fb6c6fb476824c4e086, 2612_ERR5766176_B.unmapped.fastq.gz, home, proj, development, microbial, metagenomics, lili, pipelines, nfcore, taxprofiler, work, 9b, 8c4bf01c97a03dfadb0bab311da61e, 2612_ERR5766180.unmapped.fastq.gz, home, proj, development, microbial, metagenomics, lili, pipelines, nfcore, taxprofiler, work, 8a, 65b1bf18d5e2bc82433326abe50b47, 2613_ERR5766181.unmapped.fastq.gz], ["<http://2612_ERR5766176.se|2612_ERR5766176.se>", "<http://2612_ERR5766176_B.se|2612_ERR5766176_B.se>", "<http://2612_ERR5766180.se|2612_ERR5766180.se>", "<http://2613_ERR5766181.se|2613_ERR5766181.se>"]]James Fellows Yates
08/07/2025, 9:02 AMdumps around those modifications and see where the path gets splitLili Andersson-Li
08/07/2025, 9:03 AMLili Andersson-Li
08/07/2025, 9:51 AMreads + [prefix] , we could convert reads into a list before adding prefix to the reads list:
def readsList = reads instanceof List ? reads : [reads]
[[id: db_meta.db_name, single_end: meta.single_end, seqtype: seqtype], readsList + [prefix], db_meta, db]Lili Andersson-Li
08/07/2025, 9:51 AMLili Andersson-Li
08/07/2025, 9:54 AMparams.perform_runmerging @Subazini TK you could using --perform_runmerging to avoid the issue for now.James Fellows Yates
08/07/2025, 10:09 AMJames Fellows Yates
08/07/2025, 10:09 AMJames Fellows Yates
08/07/2025, 10:09 AMLili Andersson-Li
08/07/2025, 10:10 AMJames Fellows Yates
08/07/2025, 10:11 AM[reads].flatten()?Lili Andersson-Li
08/07/2025, 10:12 AM[DUMP: perform_runmerging] [['id':'db6', 'single_end':true, 'seqtype':'fasta'], [/nf-core/test-datasets/taxprofiler/data/fasta/ERX5474930_ERR5766174_1.fa.gz, 2611], ['tool':'krakenuniq', 'db_name':'db6', 'db_params':'', 'type':'short'], /home/proj/development/microbial/metagenomics/lili/pipelines/nfcore/taxprofiler/work/08/8b23e21c149df8d067df0c2277a000/testdb-krakenuniq]
[DUMP: perform_runmerging] [['id':'db6', 'single_end':true, 'seqtype':'fasta'], [/nf-core/test-datasets/taxprofiler/data/fasta/ERR3201952_dup.fa.gz, 2614], ['tool':'krakenuniq', 'db_name':'db6', 'db_params':'', 'type':'long'], /home/proj/development/microbial/metagenomics/lili/pipelines/nfcore/taxprofiler/work/08/8b23e21c149df8d067df0c2277a000/testdb-krakenuniq]
[DUMP: perform_runmerging] [['id':'db6', 'single_end':true, 'seqtype':'fastq'], [/home/proj/development/microbial/metagenomics/lili/pipelines/nfcore/taxprofiler/work/62/7799572abc3d5c6accc2366a628852/ERR3201952_ERR3201952.unmapped_other.fastq.gz, 'ERR3201952'], ['tool':'krakenuniq', 'db_name':'db6', 'db_params':'', 'type':'long'], /home/proj/development/microbial/metagenomics/lili/pipelines/nfcore/taxprofiler/work/08/8b23e21c149df8d067df0c2277a000/testdb-krakenuniq]
[DUMP: perform_runmerging] [['id':'db6', 'single_end':true, 'seqtype':'fastq'], [/home/proj/development/microbial/metagenomics/lili/pipelines/nfcore/taxprofiler/work/b1/1970a403821c406a163e3b707260ed/2613_ERR5766181.unmapped.fastq.gz, 2613], ['tool':'krakenuniq', 'db_name':'db6', 'db_params':'', 'type':'short'], /home/proj/development/microbial/metagenomics/lili/pipelines/nfcore/taxprofiler/work/08/8b23e21c149df8d067df0c2277a000/testdb-krakenuniq]
[DUMP: perform_runmerging] [['id':'db6', 'single_end':true, 'seqtype':'fastq'], [/home/proj/development/microbial/metagenomics/lili/pipelines/nfcore/taxprofiler/work/81/559825c8dd3dab395a92d8d08f3d8a/2612.merged.fastq.gz, 2612], ['tool':'krakenuniq', 'db_name':'db6', 'db_params':'', 'type':'short'], /home/proj/development/microbial/metagenomics/lili/pipelines/nfcore/taxprofiler/work/08/8b23e21c149df8d067df0c2277a000/testdb-krakenuniq]Lili Andersson-Li
08/07/2025, 10:14 AM[DUMP: withou_runmerging] [['id':'db6', 'single_end':true, 'seqtype':'fasta'], [/nf-core/test-datasets/taxprofiler/data/fasta/ERX5474930_ERR5766174_1.fa.gz, "2611_ERR5766174"], ['tool':'krakenuniq', 'db_name':'db6', 'db_params':'', 'type':'short'], /home/proj/development/microbial/metagenomics/lili/pipelines/nfcore/taxprofiler/work/08/8b23e21c149df8d067df0c2277a000/testdb-krakenuniq]
[DUMP: withou_runmerging] [['id':'db6', 'single_end':true, 'seqtype':'fasta'], [/nf-core/test-datasets/taxprofiler/data/fasta/ERR3201952_dup.fa.gz, "2614_ERR3201952"], ['tool':'krakenuniq', 'db_name':'db6', 'db_params':'', 'type':'long'], /home/proj/development/microbial/metagenomics/lili/pipelines/nfcore/taxprofiler/work/08/8b23e21c149df8d067df0c2277a000/testdb-krakenuniq]
[DUMP: withou_runmerging] [['id':'db6', 'single_end':true, 'seqtype':'fastq'], [/home/proj/development/microbial/metagenomics/lili/pipelines/nfcore/taxprofiler/work/62/7799572abc3d5c6accc2366a628852/ERR3201952_ERR3201952.unmapped_other.fastq.gz, "ERR3201952_ERR3201952"], ['tool':'krakenuniq', 'db_name':'db6', 'db_params':'', 'type':'long'], /home/proj/development/microbial/metagenomics/lili/pipelines/nfcore/taxprofiler/work/08/8b23e21c149df8d067df0c2277a000/testdb-krakenuniq]
[DUMP: withou_runmerging] [['id':'db6', 'single_end':true, 'seqtype':'fastq'], [/home/proj/development/microbial/metagenomics/lili/pipelines/nfcore/taxprofiler/work/f9/f9c419b2fa854a6e6fc5627746f113/2612_ERR5766176_B.unmapped.fastq.gz, "2612_ERR5766176_B"], ['tool':'krakenuniq', 'db_name':'db6', 'db_params':'', 'type':'short'], /home/proj/development/microbial/metagenomics/lili/pipelines/nfcore/taxprofiler/work/08/8b23e21c149df8d067df0c2277a000/testdb-krakenuniq]
[DUMP: withou_runmerging] [['id':'db6', 'single_end':true, 'seqtype':'fastq'], [/home/proj/development/microbial/metagenomics/lili/pipelines/nfcore/taxprofiler/work/42/6fbcd2051f7b615e7871a00d6f0923/2612_ERR5766180.unmapped.fastq.gz, "2612_ERR5766180"], ['tool':'krakenuniq', 'db_name':'db6', 'db_params':'', 'type':'short'], /home/proj/development/microbial/metagenomics/lili/pipelines/nfcore/taxprofiler/work/08/8b23e21c149df8d067df0c2277a000/testdb-krakenuniq]
[DUMP: withou_runmerging] [['id':'db6', 'single_end':true, 'seqtype':'fastq'], [/home/proj/development/microbial/metagenomics/lili/pipelines/nfcore/taxprofiler/work/3a/7892755d50a2de3e9369dca0e33683/2612_ERR5766176.unmapped.fastq.gz, "2612_ERR5766176"], ['tool':'krakenuniq', 'db_name':'db6', 'db_params':'', 'type':'short'], /home/proj/development/microbial/metagenomics/lili/pipelines/nfcore/taxprofiler/work/08/8b23e21c149df8d067df0c2277a000/testdb-krakenuniq]
[DUMP: withou_runmerging] [['id':'db6', 'single_end':true, 'seqtype':'fastq'], [/home/proj/development/microbial/metagenomics/lili/pipelines/nfcore/taxprofiler/work/b1/1970a403821c406a163e3b707260ed/2613_ERR5766181.unmapped.fastq.gz, "2613_ERR5766181"], ['tool':'krakenuniq', 'db_name':'db6', 'db_params':'', 'type':'short'], /home/proj/development/microbial/metagenomics/lili/pipelines/nfcore/taxprofiler/work/08/8b23e21c149df8d067df0c2277a000/testdb-krakenuniq]Lili Andersson-Li
08/07/2025, 10:15 AMUMP: withou_runmerging] [['id':'db6', 'single_end':true, 'seqtype':'fasta'], [/nf-core/test-datasets/taxprofiler/data/fasta/ERX5474930_ERR5766174_1.fa.gz, "2611_ERR5766174"], ['tool':'krakenuniq', 'db_name':'db6', 'db_params':'', 'type':'short'], /home/proj/development/microbial/metagenomics/lili/pipelines/nfcore/taxprofiler/work/08/8b23e21c149df8d067df0c2277a000/testdb-krakenuniq]
[DUMP: withou_runmerging] [['id':'db6', 'single_end':true, 'seqtype':'fasta'], [/nf-core/test-datasets/taxprofiler/data/fasta/ERR3201952_dup.fa.gz, "2614_ERR3201952"], ['tool':'krakenuniq', 'db_name':'db6', 'db_params':'', 'type':'long'], /home/proj/development/microbial/metagenomics/lili/pipelines/nfcore/taxprofiler/work/08/8b23e21c149df8d067df0c2277a000/testdb-krakenuniq]
[DUMP: withou_runmerging] [['id':'db6', 'single_end':true, 'seqtype':'fastq'], [home, proj, development, microbial, metagenomics, lili, pipelines, nfcore, taxprofiler, work, 62, 7799572abc3d5c6accc2366a628852, ERR3201952_ERR3201952.unmapped_other.fastq.gz, "ERR3201952_ERR3201952"], ['tool':'krakenuniq', 'db_name':'db6', 'db_params':'', 'type':'long'], /home/proj/development/microbial/metagenomics/lili/pipelines/nfcore/taxprofiler/work/08/8b23e21c149df8d067df0c2277a000/testdb-krakenuniq]
[DUMP: withou_runmerging] [['id':'db6', 'single_end':true, 'seqtype':'fastq'], [home, proj, development, microbial, metagenomics, lili, pipelines, nfcore, taxprofiler, work, 3a, 7892755d50a2de3e9369dca0e33683, 2612_ERR5766176.unmapped.fastq.gz, "2612_ERR5766176"], ['tool':'krakenuniq', 'db_name':'db6', 'db_params':'', 'type':'short'], /home/proj/development/microbial/metagenomics/lili/pipelines/nfcore/taxprofiler/work/08/8b23e21c149df8d067df0c2277a000/testdb-krakenuniq]
[DUMP: withou_runmerging] [['id':'db6', 'single_end':true, 'seqtype':'fastq'], [home, proj, development, microbial, metagenomics, lili, pipelines, nfcore, taxprofiler, work, b1, 1970a403821c406a163e3b707260ed, 2613_ERR5766181.unmapped.fastq.gz, "2613_ERR5766181"], ['tool':'krakenuniq', 'db_name':'db6', 'db_params':'', 'type':'short'], /home/proj/development/microbial/metagenomics/lili/pipelines/nfcore/taxprofiler/work/08/8b23e21c149df8d067df0c2277a000/testdb-krakenuniq]
[DUMP: withou_runmerging] [['id':'db6', 'single_end':true, 'seqtype':'fastq'], [home, proj, development, microbial, metagenomics, lili, pipelines, nfcore, taxprofiler, work, 42, 6fbcd2051f7b615e7871a00d6f0923, 2612_ERR5766180.unmapped.fastq.gz, "2612_ERR5766180"], ['tool':'krakenuniq', 'db_name':'db6', 'db_params':'', 'type':'short'], /home/proj/development/microbial/metagenomics/lili/pipelines/nfcore/taxprofiler/work/08/8b23e21c149df8d067df0c2277a000/testdb-krakenuniq]
[DUMP: withou_runmerging] [['id':'db6', 'single_end':true, 'seqtype':'fastq'], [home, proj, development, microbial, metagenomics, lili, pipelines, nfcore, taxprofiler, work, f9, f9c419b2fa854a6e6fc5627746f113, 2612_ERR5766176_B.unmapped.fastq.gz, "2612_ERR5766176_B"], ['tool':'krakenuniq', 'db_name':'db6', 'db_params':'', 'type':'short'], /home/proj/development/microbial/metagenomics/lili/pipelines/nfcore/taxprofiler/work/08/8b23e21c149df8d067df0c2277a000/testdb-krakenuniq]James Fellows Yates
08/07/2025, 10:19 AMJames Fellows Yates
08/07/2025, 10:19 AMLili Andersson-Li
08/07/2025, 10:54 AMdef readsList = [reads].flatten()
[[id: db_meta.db_name, single_end: meta.single_end, seqtype: seqtype], readsList + [prefix], db_meta, db]
and my way also works:
def readsList = reads instanceof List ? reads : [reads]
[[id: db_meta.db_name, single_end: meta.single_end, seqtype: seqtype], readsList + [prefix], db_meta, db]Lili Andersson-Li
08/07/2025, 10:56 AM[[id: db_meta.db_name, single_end: meta.single_end, seqtype: seqtype], [reads].flatten() + [prefix], db_meta, db]Subazini TK
08/07/2025, 11:07 AMLili Andersson-Li
08/07/2025, 11:09 AMJames Fellows Yates
08/07/2025, 11:17 AMJames Fellows Yates
08/07/2025, 11:17 AMreads still works as expected (single, pairs, one set, multiple sets)