Closed lingyi-owl closed 2 years ago
Hey, Unfortunately, I have not that much experience with singularity... maybe you find something here ?
Hi @lingyi-owl . Have you tried the --setup
workflow as documented here under Conda Usage
?
For a first time interactive run you can use that to setup the images and databases locations.
If you want to include this as a step in your workflow - which can be unstable and lead to some frustration IMO - you would need to add an extra rule that wraps the step from above and produces all the required inputs for your rule wtp
, specifically databases=config["WTP"]["databases"]
and cachedir=config["WTP"]["cachedir"]
.
It worked. thank you! @papanikos
thanks for helping out @papanikos
Dear developer,
I am building a Snakemake pipeline with WtP nextflow embedded in a wrapper. The script is attached below. The
cachedir
points to a folder containing singularity images. Our bioinformatician @papanikos helped me build the images before. Now I want to build the singularity myself again. This tutorial https://mult1fractal.github.io/wtp-documentation/installation/Engine/singularity/ showed how to build it with sudo but I am using a cluster without admins permission. Is there a way I can install singularity without admins permission?I am looking forward to your reply.
Best, Ling-Yi