Hi,
I am running ShapeMapper2 on two samples (treated vs. untreated) but am running into a problem where the maximum recursion depth for a Python object is exceeded (see below for full error output). Would you be able to advise on what the issue might be/any potential workarounds? Thank you, I appreciate it!
args: --target ./data/pool1_finalized.fasta --amplicon --modified --U ./data/Pool1_NoPUS_NAI.fq --untreated --U ./data/Pool1_NoPUS_DMSO.fq --output-counted-mutations --per-read-histograms --min-mapq 0 --min-qual-to-count 0 --min-qual-to-trim 0
Traceback (most recent call last):
File "/oak/stanford/groups/nicolemm/ronitj/shapemapper2-2.3/internals/python/cli.py", line 278, in
run(sys.argv)
File "/oak/stanford/groups/nicolemm/ronitj/shapemapper2-2.3/internals/python/cli.py", line 75, in run
pipeline, arg_dict = ap.construct(rest_args)
File "/oak/stanford/groups/nicolemm/ronitj/shapemapper2-2.3/internals/python/pyshapemap/pipeline_arg_parser.py", line 567, in construct
return (build_pipeline(**kw),
File "/oak/stanford/groups/nicolemm/ronitj/shapemapper2-2.3/internals/python/pyshapemap/pipeline_builder.py", line 509, in build_pipeline
pipeline.setup()
File "/oak/stanford/groups/nicolemm/ronitj/shapemapper2-2.3/internals/python/pyshapemap/pipeline.py", line 503, in setup
self.calc_run_order(serial_mode=serial_mode)
File "/oak/stanford/groups/nicolemm/ronitj/shapemapper2-2.3/internals/python/pyshapemap/pipeline.py", line 237, in calc_run_order
self.calc_run_order(run_order=updated_run_order,
File "/oak/stanford/groups/nicolemm/ronitj/shapemapper2-2.3/internals/python/pyshapemap/pipeline.py", line 237, in calc_run_order
self.calc_run_order(run_order=updated_run_order,
File "/oak/stanford/groups/nicolemm/ronitj/shapemapper2-2.3/internals/python/pyshapemap/pipeline.py", line 237, in calc_run_order
self.calc_run_order(run_order=updated_run_order,
[Previous line repeated 985 more times]
File "/oak/stanford/groups/nicolemm/ronitj/shapemapper2-2.3/internals/python/pyshapemap/pipeline.py", line 225, in calc_run_order
comps = self.sort_components(comps)
File "/oak/stanford/groups/nicolemm/ronitj/shapemapper2-2.3/internals/python/pyshapemap/pipeline.py", line 95, in sort_components
recurse(self)
File "/oak/stanford/groups/nicolemm/ronitj/shapemapper2-2.3/internals/python/pyshapemap/pipeline.py", line 94, in recurse
recurse(m, tree_path=updated_tree_path)
File "/oak/stanford/groups/nicolemm/ronitj/shapemapper2-2.3/internals/python/pyshapemap/pipeline.py", line 94, in recurse
recurse(m, tree_path=updated_tree_path)
File "/oak/stanford/groups/nicolemm/ronitj/shapemapper2-2.3/internals/python/pyshapemap/pipeline.py", line 94, in recurse
recurse(m, tree_path=updated_tree_path)
File "/oak/stanford/groups/nicolemm/ronitj/shapemapper2-2.3/internals/python/pyshapemap/pipeline.py", line 88, in recurse
o.pipeline_location = tree_path
File "/oak/stanford/groups/nicolemm/ronitj/shapemapper2-2.3/internals/python/pyshapemap/component.py", line 103, in setattr
for i in range(len(self.internal_components)):
RecursionError: maximum recursion depth exceeded while calling a Python object
Hi,
I am running ShapeMapper2 on two samples (treated vs. untreated) but am running into a problem where the maximum recursion depth for a Python object is exceeded (see below for full error output). Would you be able to advise on what the issue might be/any potential workarounds? Thank you, I appreciate it!
args: --target ./data/pool1_finalized.fasta --amplicon --modified --U ./data/Pool1_NoPUS_NAI.fq --untreated --U ./data/Pool1_NoPUS_DMSO.fq --output-counted-mutations --per-read-histograms --min-mapq 0 --min-qual-to-count 0 --min-qual-to-trim 0
Traceback (most recent call last):
File "/oak/stanford/groups/nicolemm/ronitj/shapemapper2-2.3/internals/python/cli.py", line 278, in
run(sys.argv)
File "/oak/stanford/groups/nicolemm/ronitj/shapemapper2-2.3/internals/python/cli.py", line 75, in run
pipeline, arg_dict = ap.construct(rest_args)
File "/oak/stanford/groups/nicolemm/ronitj/shapemapper2-2.3/internals/python/pyshapemap/pipeline_arg_parser.py", line 567, in construct
return (build_pipeline(**kw),
File "/oak/stanford/groups/nicolemm/ronitj/shapemapper2-2.3/internals/python/pyshapemap/pipeline_builder.py", line 509, in build_pipeline
pipeline.setup()
File "/oak/stanford/groups/nicolemm/ronitj/shapemapper2-2.3/internals/python/pyshapemap/pipeline.py", line 503, in setup
self.calc_run_order(serial_mode=serial_mode)
File "/oak/stanford/groups/nicolemm/ronitj/shapemapper2-2.3/internals/python/pyshapemap/pipeline.py", line 237, in calc_run_order
self.calc_run_order(run_order=updated_run_order,
File "/oak/stanford/groups/nicolemm/ronitj/shapemapper2-2.3/internals/python/pyshapemap/pipeline.py", line 237, in calc_run_order
self.calc_run_order(run_order=updated_run_order,
File "/oak/stanford/groups/nicolemm/ronitj/shapemapper2-2.3/internals/python/pyshapemap/pipeline.py", line 237, in calc_run_order
self.calc_run_order(run_order=updated_run_order,
[Previous line repeated 985 more times]
File "/oak/stanford/groups/nicolemm/ronitj/shapemapper2-2.3/internals/python/pyshapemap/pipeline.py", line 225, in calc_run_order
comps = self.sort_components(comps)
File "/oak/stanford/groups/nicolemm/ronitj/shapemapper2-2.3/internals/python/pyshapemap/pipeline.py", line 95, in sort_components
recurse(self)
File "/oak/stanford/groups/nicolemm/ronitj/shapemapper2-2.3/internals/python/pyshapemap/pipeline.py", line 94, in recurse
recurse(m, tree_path=updated_tree_path)
File "/oak/stanford/groups/nicolemm/ronitj/shapemapper2-2.3/internals/python/pyshapemap/pipeline.py", line 94, in recurse
recurse(m, tree_path=updated_tree_path)
File "/oak/stanford/groups/nicolemm/ronitj/shapemapper2-2.3/internals/python/pyshapemap/pipeline.py", line 94, in recurse
recurse(m, tree_path=updated_tree_path)
File "/oak/stanford/groups/nicolemm/ronitj/shapemapper2-2.3/internals/python/pyshapemap/pipeline.py", line 88, in recurse
o.pipeline_location = tree_path
File "/oak/stanford/groups/nicolemm/ronitj/shapemapper2-2.3/internals/python/pyshapemap/component.py", line 103, in setattr
for i in range(len(self.internal_components)):
RecursionError: maximum recursion depth exceeded while calling a Python object