Evangelos Karatzas
08/28/2026, 1:26 PMSimon Pearce
08/28/2026, 1:29 PMRike Hanssen
08/28/2026, 1:31 PMRike Hanssen
08/28/2026, 1:31 PMNiklas Schandry
08/28/2026, 1:32 PMSimon Pearce
08/28/2026, 1:32 PM-resume to work after more than a couple of weeks you are probably optimistic 😉Phil Ewels
08/28/2026, 1:58 PMJim Downie
08/28/2026, 2:05 PMEvangelos Karatzas
08/28/2026, 2:57 PMJames Fellows Yates
08/28/2026, 3:01 PMRike Hanssen
08/28/2026, 6:05 PMJames Fellows Yates
08/28/2026, 7:17 PMnf-core download works, and I imagine most pipelines can run without a reference database (or maybe the CI also downloads the test data locally itself?James Fellows Yates
08/28/2026, 7:20 PMEvangelos Karatzas
08/28/2026, 7:38 PMJames Fellows Yates
08/28/2026, 7:39 PMEvangelos Karatzas
08/28/2026, 7:44 PMJames Fellows Yates
08/28/2026, 7:52 PMEvangelos Karatzas
08/28/2026, 8:00 PMRike Hanssen
08/28/2026, 9:02 PMstoreDir for this. I think it might be the only pipeline that is utilizing this a lot, so there might be gremlins somewhere but it looks like it might solve this problem to some extend.Daniel Lundin
08/29/2026, 5:35 AMstoreDir works like a charm in both magmap and metatdenovo. The only problem is versions since the eval style doesn't work and to allow users to download data outside the pipeline requiring a versions.yml is awkward. It was @Mahesh Binzer-Panchal who gave us the tip originally.Mahesh Binzer-Panchal
08/31/2026, 7:04 AMstoreDir was the way to do this: https://nfcore.slack.com/archives/CE6SDBX2A/p1772801992798349?thread_ts=1772799969.096169&cid=CE6SDBX2A
If the files are already there, the process doesn't activate. It treats it as a form of cache. ( first time as well as on -resume).
But then it's not compatible with eval. So now you have to supply a parameter with the database path, and basically programmatically do what storeDir did. See the GH thread on this with Ben
github.com/nextflow-io/nextflow/issues/5785#…
workflow {
index_path = file("${params.store_dir}/genome.bwt")
index = index_path.exists()
? Channel.fromPath("${params.store_dir}/genome.*").collect()
: BUILD_INDEX().out.index
ALIGN(reads, index)
}James Fellows Yates
09/02/2026, 12:56 PMYep, exactly. For example somebody runs the pipeline for the first time using the url params, and completes it to the very end, for 100 samples. Then comes back in the future to test/benchmark different params for a module in the middle of the pipeline.Meh I think for a SINGLE run to hurt if they didn't read the docs is not worth it... it's a small amount of pain IMO rather than learning a whole other pipeline for a one off thing
James Fellows Yates
09/02/2026, 12:58 PMstoreDir I think Iv'e had some critique of that in the past in a review of metatdenovo or magmap @Daniel Lundin. Do you remember exactly what iwas?
I THINK my problem was that using that forces a user to store the databases in a place where the pipeline wants, and a user can structure the directory themselves - where particularly if you're downloading very large databases (e.g. >200 GB... looking at you GTDB and CAT shakefist ), it's something you want to may want to place in a cache used for multiple users on e.g. a HPC, where ther may already be a system/structure on storing such a cache...Mahesh Binzer-Panchal
09/02/2026, 1:03 PMstoreDir would check that path. It never needed to be run firstJames Fellows Yates
09/02/2026, 1:04 PMDaniel Lundin
09/02/2026, 1:04 PMDaniel Lundin
09/02/2026, 1:08 PMJames Fellows Yates
09/02/2026, 1:41 PMDaniel Lundin
09/02/2026, 1:44 PM