Pilar Lopez Hernandez
03/25/2026, 8:27 AMPilar Lopez Hernandez
03/25/2026, 8:34 AM-resume issue:
Nextflow is completely ignoring my previous Assembly (MEGAHIT/metaSPAdes) and Binning Preparation steps.
In the execution console, those processes show as [-] (not even as cached or 0%). However, the Host/PhiX Removal steps are showing as [100%] cached.
I have verified that I am in the same working directory and that
the work/ directory still contains the folders for the assembly tasks.Mahesh Binzer-Panchal
03/25/2026, 8:50 AMMahesh Binzer-Panchal
03/25/2026, 8:51 AMPilar Lopez Hernandez
03/25/2026, 9:04 AMnextflow run nf-core/mag -r 3.2.1 -name BankVole_test -profile uppmax --project uppmax2026-1-38 -params-file nf_params.json -resume
To resume, I am using the same command but omitting the -name flag (as Nextflow throws an error that the name 'BankVole_test' already exists). I previously had to resume for other issues and it worked fine.Mahesh Binzer-Panchal
03/25/2026, 10:01 AMBankVole_test after -resume , but to be honest I never use -name. What does nextflow log print? Do you know also if your project got transferred to Gorilla in between runs?Pilar Lopez Hernandez
03/25/2026, 10:47 AM.nextflow.log was overwritten when I last tried to -resume. I manually killed it after seeing it start to repeat the host removal and assembly again. But I did check it before I did -resume and all seemed fine except it crashed because of OOM. I guess Nextflow keeps the whole history of .log files somewhere? But I do not know/haven't checked that yet. But I do have the print of my screen and the assembly .log files for both SPAdes and MEGAHITPilar Lopez Hernandez
03/25/2026, 10:49 AMPilar Lopez Hernandez
03/25/2026, 10:53 AM-resume Bank_Vole ?Mahesh Binzer-Panchal
03/25/2026, 11:28 AM.nextflow.log gets moved to .nextflow.log.1 when a new run starts. The last 10 runs are saved. I meant the command though. If it's only showing the last run, then you didn't run your workflow from the same directory and is why it's restartingPilar Lopez Hernandez
03/25/2026, 11:52 AMPilar Lopez Hernandez
03/25/2026, 11:55 AMnextflow.log you asked looks like: [pilarlp7@pelle2 Pilar]$ tail -f .nextflow.log.2
Mar-25 061308.141 [Task submitter] DEBUG n.processor.TaskPollingMonitor - %% executor slurm > tasks in the submission queue: 1 -- tasks to be submitted are shown below
~> TaskHandler[jobId: null; id: 15; name: NFCORE_MAGšQUAST (MEGAHIT-sample1985); status: NEW; exit: -; error: -; workDir: /crex/proj/microbiome/BankVole/Metagenome/Pilar/work/a2/9124bc8a5b0e7926341ed9b18addb8 started: -; exited: -; ]
Mar-25 061308.199 [main] DEBUG nextflow.trace.ReportObserver - Workflow completed -- rendering execution report
Mar-25 061308.602 [main] DEBUG nextflow.trace.TimelineObserver - Workflow completed -- rendering execution timeline
Mar-25 061308.641 [main] DEBUG nextflow.trace.TraceFileObserver - Workflow completed -- saving trace file
Mar-25 061308.678 [main] DEBUG nextflow.cache.CacheDB - Closing CacheDB done
Mar-25 061308.807 [main] INFO org.pf4j.AbstractPluginManager - Stop plugin 'nf-schema@2.5.1'
Mar-25 061308.807 [main] DEBUG nextflow.plugin.BasePlugin - Plugin stopped nf-schema
Mar-25 061308.807 [main] DEBUG nextflow.util.ThreadPoolManager - Thread pool 'FileTransfer' shutdown completed (hard=false)
Mar-25 061308.808 [main] DEBUG nextflow.script.ScriptRunner - > Execution complete -- GoodbyeMahesh Binzer-Panchal
03/25/2026, 11:56 AMnextflow has a log subcommand. I was asking for the output of that.Pilar Lopez Hernandez
03/25/2026, 11:57 AMPilar Lopez Hernandez
03/25/2026, 11:58 AMPilar Lopez Hernandez
03/25/2026, 11:58 AMMahesh Binzer-Panchal
03/25/2026, 12:01 PMnextflow clean -f -after BankVole_test That should clean up the runs after the BankVole_test. Then try with -resume againPilar Lopez Hernandez
03/25/2026, 12:07 PMMahesh Binzer-Panchal
03/25/2026, 12:07 PM-n instead of -f first so you can see what will get removedPilar Lopez Hernandez
03/25/2026, 12:08 PMMahesh Binzer-Panchal
03/25/2026, 12:08 PM-resume BankVole_test just to make sure it starts from thereMahesh Binzer-Panchal
03/25/2026, 12:08 PMMahesh Binzer-Panchal
03/25/2026, 12:09 PM-resume 5af62d15-5d65-4264-b619-b58f3a5f9945Pilar Lopez Hernandez
03/25/2026, 12:09 PMPilar Lopez Hernandez
03/25/2026, 12:09 PMPilar Lopez Hernandez
03/25/2026, 12:09 PMPilar Lopez Hernandez
03/25/2026, 12:48 PMPilar Lopez Hernandez
03/25/2026, 12:49 PMMahesh Binzer-Panchal
03/25/2026, 12:49 PMPilar Lopez Hernandez
03/25/2026, 12:52 PMMahesh Binzer-Panchal
03/25/2026, 3:06 PMPilar Lopez Hernandez
03/25/2026, 3:16 PM-resume insane_pauling which is the run name where the assemblies were done because the session ID is the same for all of them... I was planning trying as well with ID if run name didn't work but I decided I will use the nf-core/mag option of starting with the assemblies, since I already got them and I am consuming a lot of the project time š« But I won't rest in peace until I understand why nextflow keeps on starting a new job for something that is been already done without complains š§Mahesh Binzer-Panchal
03/25/2026, 3:23 PMPilar Lopez Hernandez
03/25/2026, 3:25 PM