When executing ZARP on the mouse sarcopenia dataset to be described as a use case in the manuscript, the following errors are produced:
InputFunctionException in rule genome_quantification_kallisto in file /path/to/zarp/workflow/rules/single_end.snakefile.smk, line 351:
Error:
IndexError: index 0 is out of bounds for axis 0 with size 0
Wildcards:
sample=3M_TSCmKO_RAPA_rep6
Traceback:
File "/path/to/zarp/workflow/rules/single_end.snakefile.smk", line 364, in <lambda>
File "/path/to/zarp/workflow/rules/common.smk", line 6, in get_sample
File "/path/to/envs/zarp/lib/python3.11/site-packages/pandas/core/series.py", line 1108, in __getitem__
This is the rule raising the error (from workflow/rules/single_end.snakefile.smk):
Describe the bug
When executing ZARP on the mouse sarcopenia dataset to be described as a use case in the manuscript, the following errors are produced:
This is the rule raising the error (from
workflow/rules/single_end.snakefile.smk
):More specifically, this line:
get_sample()
is defined inworkflow/rules/common.smk
:Specifically, this line is where the out of bounds error arises:
To Reproduce
Go to
ZARP/f1000
in our group folder on the cluster login node. Executerun_zarp.sh
.Expected behavior
No error is raised and kallisto quantifies gene expression.
Screenshots
N/A
Additional context
Incidentally (or not), the line in
get_sample()
that raises the error is also among those that leads to warnings being raised in #158.