-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
- spladder version:3.0.4
- Python version:3.8.15
- Operating System:CentOS
Description
I was trying to optimize a run a large cohort by using the "--chunked-merge" mechanism.
I first generated the individual graphs. I then tried to merge using the "--chunked-merge" mechanism, which failed with an error listed below. The merge runs ok if I omit the "--chunked-merge" parameters, but since the cohort is too large I can't get away with this this.
What I Did
spladder build --parallel 1 -o /pathTo/spladder -a /pathTo/genome.gtf -b /pathTo/alignments.txt --merge-strat merge_graphs --no-extract-ase --no-quantify-graph --chunked-merge 0 1 0 2
merging level 0 chunk 0 to 0
Traceback (most recent call last):
File "/pathTo/bin/spladder", line 8, in <module>
sys.exit(main())
File "/pathTo/lib/python3.8/site-packages/spladder/spladder.py", line 229, in main
options.func(options)
File "/pathTo/lib/python3.8/site-packages/spladder/spladder_build.py", line 88, in spladder
run_merge(options.samples, options)
File "/pathTo/lib/python3.8/site-packages/spladder/merge.py", line 253, in run_merge
merge_genes_by_splicegraph(options, merge_list=merge_list[chunk_start:chunk_end], fn_out=fn)
File "/pathTo/lib/python3.8/site-packages/spladder/merge.py", line 203, in merge_genes_by_splicegraph
genes = genes2.copy()
UnboundLocalError: local variable 'genes2' referenced before assignment
Metadata
Metadata
Assignees
Labels
No labels