最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Can I pin the 'global' conda environment in Snakemake? - Stack Overflow

programmeradmin1浏览0评论

When injecting into the Python environment running snakemake using the

conda:
  "envs/global.yaml"

directive as described here, can I pin the exact environment using a envs/global.<platform>.pin.txt file as described here?


Context:

When adding envs/foo.{platform}.pin.txt for an environment activated via

rule foo:
   conda: "envs/foo.yaml"
   ...

to a specific rule as described here, running

snakemake -n1 foo

prints the following informative messages:

...
Creating conda environment <path>/envs/foo.yaml...
Using pinnings from <path>/envs/foo.{platform}.pin.txt.
...

However, for the 'global' environment (see above) there is no such message to indicate whether envs/global.<platform>.pin.txt is being considered or not.

发布评论

评论列表(0)

  1. 暂无评论