【发布时间】:2021-03-31 07:07:31
【问题描述】:
我正在编写规则来处理一些数据:
目录中的数据将类似于:
myfirst.trim_1P, myfirst.trim_2P, mysecond.trim_1P, mysecond.trim_2P,...
rule trim_data:
input:"{dataset}/{sample}.trim_{r}P"
output:"{dataset}/{sample}.{r}.fastq"
params:
length=14
shell:
"""
reformat.sh forcetrimleft="{params.length}" in="{input}" out="{output}"
"""
我有这个错误:
WorkflowError:
RecursionError: maximum recursion depth exceeded
If building the DAG exceeds the recursion limit
myDir/myfirst.1.trimed.1.trimed.2.trimed.2.trimed.2....
如果输出与输入不同,为什么它以递归方式运行?以及如何解决?
【问题讨论】:
标签: snakemake