I am wondering how to best - or simplest - use snakemake in conjunction with conda. I am aware of the "--use-conda" option with a yaml-file per rule. However, for a simple snakemake workflow I think it would be easier to just (i) activate a single, existing conda environment, (ii) run the snakemake workflow and (iii) deactivate the environment again.
Is this a good and simple strategy at all or what would be the preferred solution?
Would I need to include Snakemake and its dependencies in all of my relevant conda environment(s) or should I rather install snakemake globally?
Can I reference to an existing conda environment rather than providing the conda yaml description?