【发布时间】:2021-04-21 22:42:18
【问题描述】:
我正在运行的程序只需要指定目录即可保存输出文件。如果我使用snakemake 运行它,则会出现错误:
IOError: [Errno 2] No such file or directory: 'BOB/call_images/chrX_194_1967_BOB_78.rpkm.png'
我的尝试:
rule all:
input:
"BOB/call_images/"
rule plot:
input:
hdf="BOB/hdf5/analysis.hdf5",
txt="BOB/calls.txt"
output:
directory("BOB/call_images/")
shell:
"""
python someprogram.py plotcalls --input {input.hdf} --calls {input.txt} --outputdir {output[0]}
"""
这个版本都不行:
output:
outdir="BOB/call_images/"
【问题讨论】:
标签: snakemake