Open lexnederbragt opened 2 years ago
Hi. I'm looking into this now. As you noted there was some issue with the file.
I've now updated the links and the file so this file should work OK: https://carpentries-incubator.github.io/snakemake-novice-bioinformatics/files/conda_env.yaml
Regarding the number of packages, this is the minimal list.
The big list of packages was created by installing these into an environment, then doing "conda env export" to freeze the whole environment as conda_env.yaml. I believe this is the most reliable option since the decisions made by Conda regarding dependent packages will change over time, and my experience is that eventually these changes will break something.
However, there is now a pared-down version of the YAML file just containing the above list, if you want to install that and let Conda fill in the dependencies: https://carpentries-incubator.github.io/snakemake-novice-bioinformatics/files/conda_env_min.yaml
Thanks @lexnederbragt for reporting this issue.
I believe this is fixed, but let me know if there are still problems.
Thanks! However, when I use https://carpentries-incubator.github.io/snakemake-novice-bioinformatics/files/conda_env_min.yaml as is, I get a lot (a lot!) of warnings about conflicts (Mac OS Big Sur, conda 4.12.0). When I instead used this, I got it to work (at least until episode 4).
name: snakemake_dash
channels:
- conda-forge
- bioconda
- defaults
dependencies:
- fastqc
- fastx_toolkit
- gnuplot
- graphicsmagick
- graphviz
- kallisto
- multiqc
- salmon
- snakemake
Versions I got in my environment are:
fastqc=0.11.9
fastx_toolkit=0.0.14
gnuplot=5.4.3
graphicsmagick=1.3.37
graphviz=3.0.0
kallisto=0.48.0
multiqc=1.12
salmon=1.8.0
snakemake=7.6.2
So quite a number of newer versions than in conda_env_min.yaml
...
I am going through the lesson and will get back if I see anything that didn't work as expected.
It does not surprise me that several things do not quite work on the Mac, and it's great that you are able to test and fix these. I'll hold off merging the fixes and pull requests just now, but when you are done I'll roll them into a big fix and then we'll be able to say our course is good for Mac users. (I'm not sure it will ever be good for Windows users!)
Hi @lexnederbragt once you are happy you have a working Conda setup for Mac then if you can conda env export
it and share it here I will add it as an alternative conda_env_macos.yaml
file in the repo.
I am trying to install snakemake as per the instructions in https://carpentries-incubator.github.io/snakemake-novice-bioinformatics/setup.html. When I run
conda env update --file conda_env_all.yaml
usinghttps://carpentries-incubator.github.io/snakemake-novice-bioinformatics/files/conda_env_all.yaml
I get aResolvePackageNotFound
. error with a long list of packages:That is 136 out of 239 packages (!). What can be done to sove this?
Additionally, isn't it quite unusual to specify so many packages in detail? Is there a 'minimal' set of packages that are required?