Charles Xu
07/03/2026, 1:06 AM--build_kraken2 on 7 eukaryotic genomes to take over 2 hours? I'd like to add all archaea and bacteria to this for host removal, but I must be doing something wrong...
KRAKEN2_ADD is not parallelizing but I guess that is normal for reading the ~14GB nucl_gb.accession2taxid?Charles Xu
07/03/2026, 1:15 AM--build_kraken2 flag is giving me the following error
ERROR ~ Validation of pipeline parameters failed!
-- Check '.nextflow.log' file for details
The following invalid input values have been detected:
* --build_kraken2 (true): Value is [string] but should be [boolean]
I can get it to run by providing this config file though
params {
build_kraken2 = true
}
Ah figured out this issue at least: nf-co.re/blog/2026/parameter-typesJames Fellows Yates
07/03/2026, 6:50 AMJames Fellows Yates
07/03/2026, 7:04 AMCharles Xu
07/03/2026, 4:46 PMJames Fellows Yates
07/03/2026, 4:48 PMwork/James Fellows Yates
07/03/2026, 4:48 PM.command.log saysCharles Xu
07/03/2026, 4:51 PMINFO: Environment variable SINGULARITYENV_TMPDIR is set, but APPTAINERENV_TMPDIR is preferred
INFO: Environment variable SINGULARITYENV_NXF_TASK_WORKDIR is set, but APPTAINERENV_NXF_TASK_WORKDIR is preferred
INFO: Environment variable SINGULARITYENV_NXF_DEBUG is set, but APPTAINERENV_NXF_DEBUG is preferred
Creating sequence ID to taxonomy ID map (step 1)...
Found 8698/8698 targets, searched through 242044067 accession IDs, search complete.
Sequence ID to taxonomy ID map complete. [1m26.253s]
Estimating required capacity (step 2)...
Estimated hash table requirement: 18286732432 bytes
Capacity estimation complete. [3m1.943s]
Building database files (step 3)...
Taxonomy parsed and converted.
CHT created with 6 bits reserved for taxid.
Completed processing of 8698 sequences, 19404142574 bp
Writing data to disk... complete.
Database files completed. [43m36.041s]
Database construction complete. [Total: 48m4.274s]
Database disk usage: 18G
After cleaning, database uses 18GJames Fellows Yates
07/03/2026, 4:52 PMJames Fellows Yates
07/03/2026, 4:52 PMJames Fellows Yates
07/03/2026, 4:52 PMCharles Xu
07/03/2026, 4:57 PMJames Fellows Yates
07/03/2026, 5:03 PMCharles Xu
07/03/2026, 6:32 PMNFCORE_CREATETAXDB:CREATETAXDB:PREPROCESSING:UNPIGZ_DNA . Is this throttling by NCBI?
[main] DEBUG n.file.http.XFileSystemProvider - Got HTTP error=503 waiting for 250ms (attempt=1)James Fellows Yates
07/03/2026, 6:34 PMdatasets tool to download it using their 'dehydrate' and rehydrate mechanismJames Fellows Yates
07/03/2026, 6:35 PM