Snakemake:如何强制创建所有 conda 环境
我知道通过添加选项 --conda-create-envs-only
您可以为工作流程创建 conda 环境。但是,是否可以在事先不知道工作流 DAG 的情况下强制创建 workflow/envs/
下的所有 conda 环境?
原因是我计划在 HPC 上运行 Snakemake,并且计算节点没有互联网。因此,我必须在具有互联网的构建节点中设置环境。问题是我只能访问计算节点中的输入数据。
I am aware that by adding the option --conda-create-envs-only
you are able to create the conda environments for the workflow. However, would it be possible to force the creation of all conda environments under workflow/envs/
without knowing the workflow DAG in advance?
The reason is that I am planning to run snakemake on an HPC, and the compute nodes have no internet. As such I have to set up the environment in a build node with internet. The problem is that I can only access my input data in the compute nodes.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
也许将创建 conda 环境本身作为目标?类似于,未测试:
规则
one
将找到创建的 conda env,因为它需要env1.done
作为输入Maybe make the creation of the conda environments a target itself? Something like, not tested:
Rule
one
will find the conda env created because it needsenv1.done
as input