Hello, I have small problem in long-read pipeline...
# help
a
Hello, I have small problem in long-read pipeline. I would love to get advices. This is my starting code:
nextflow 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.
t
I would ask this question in #mag, where the experts for this workflow can see it (I can't tell what the exact problem is from the message).