Closed c2b2pss closed 1 year ago
Hi @c2b2pss,
Can you share which OS you are using? linux/mac? I can't reproduce this on debian, so I am thinking this might be a system specific / conda issue.
Hi,
I am using Linux (Pop OS/Ubuntu-based). I am just running this in the TOBIAS yaml generated environment. Does this and subsequent steps pull the necessary dependencies?
BTW, I am running TOBIAS without snakemake and that works fine. Except I don't know how to run multiple files rather than entering commands for each file (I have 7 bams+peaks). I presume snakemake would run all these one after another???
Yes, when you run snakemake with "--use-conda" it automatically builds individual conda environments for the run. However, it seems that r=3.2.2
is not available for the system, and it can therefore not build the environment. To solve this you might try:
Option 1: If you are able to, you can try to install all requirements for the whole pipeline, and then run snakemake without "--use-conda". The main requirements are:
Option 2: R is only needed for specific options in the pipeline, so if you are just running default parameters, you can remove the requirements from the file at environments/uropa.yaml
to look like:
name: uropa_env
channels:
- bioconda
- conda-forge
- defaults
dependencies:
- python
- numpy <1.16
- pysam >=0.15.3
- pip
- pip:
- uropa
The pipeline is meant to deal with multiple .bam-files such that you do not have to run them manually (like you say). But other than that, the same TOBIAS tools are used.
Hi c2b2pss,
I am not from Looso lab but thought to contribute to the thread as I have also encountered a problem similar to the one mentioned above.
For me it had to do with the conda set up (of channel priority)
I ran this conda command: conda config --set channel_priority disabled
then could install TOBIAS_snakemake version.
Thanks Deep
Snakemake errors: Many dependencies not being downloaded or installed?