-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
default conda env in 3.0.0 #1061
Comments
Hi, Have a look at: TLDR: the conda directory needs to be set on the profile level, which is not (yet ? cfr. #1049 ) changeable through snakePipes config. Since 3.0.0, snakePipes uses a predefined local profile (which would run all jobs locally), and this is probably something you don't want.
Will give you the paths that are utilized for a specific installation. Hope this helps ! |
To be honest I am not a vivid snakemake user and some of the configuration files do not make sense to me. The global configuration file is:
/scratch/tgeorgom/mamba/snakePipes/lib/python3.12/site-packages/snakePipes/shared/defaults.yaml
--> tempDir in the global configuration = /scratch/tgeorgom/temp
--> The snakemake profile used = /scratch/tgeorgom/mamba/snakePipes/lib/python3.12/site-packages/snakePipes/shared/profiles/local in the shared/profiles/local there is no cluster configuration file |
Cluster configurations (cluster.yaml) are deprecated by snakemake since quite some time, hence why this is dropped from snakePipes now as well. There is some overlap with profiles, though. If your cluster is using slurm, you can try to adapt the pre-shipped 'snakepipes_genericprofile' to your needs. after doing this, snakePipes info will print the full path to the profile directory. Inside there are two files of interest: Alternatively, you can set up a profile that works for your computation infrastructure yourself. Some links to get you started: It could also be worth double checking with your HPC sysadmins, most likely profiles specific to your infrastructure are already set up / being used. Hope this helps ! If you have specific questions or suggestions to make the docs more clear I'd be happy to help and/or implement them. |
Hi Ward,
Thank you for this. I found this files but how to direct snakePipes to use this was not intuitive. Also, this needs to be added in the readme.
default-resources:
mem: 10G
time: 1440
partition: is this the same as the one that we set in the sbatch command using the "-p, --partition"? so is it set twice?
I will come back when I start testing, probably with another issue, but I am stuck with #1062 |
Hi all,
Even in I set the
snakePipes config --condaEnvDir /scratch/tgeorgom/mamba/snakePipes/env --tempDir /scratch/tgeorgom/temp
while riunning the snakePipes createEnvs``, snakePipes creates a folder into /tmp, that I have no access to.there was this info:
profile used: /scratch/tgeorgom/mamba/snakePipes/lib/python3.12/site-packages/snakePipes/shared/profiles/local CondaEnvDir detected as: /tmp, from Snakemakeprofile: local
and then a message that saying that the creation of the conda environments failed due to space issue.
I had to dig into the
vi /scratch/tgeorgom/mamba/snakePipes/lib/python3.12/site-packages/snakePipes/shared/profiles/local/config.yaml
to get it right.
Is it possible when we are setting the
snakePipes config
to also change the entries in the shared/profiles/local/config.yam?Thank you.
The text was updated successfully, but these errors were encountered: