Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to make some plots #256

Open
lacy111693 opened this issue Feb 7, 2025 · 1 comment
Open

Failed to make some plots #256

lacy111693 opened this issue Feb 7, 2025 · 1 comment

Comments

@lacy111693
Copy link

Hello! I am brand new to this tool and was having issues with CheckM but have gotten those resolved. I ran dereplicate with the -d flag just took keep and eye out for anymore errors. It looks like the process finished okay but in step 5, analyze, I got these errors with the plots. Any thoughts?

making plots 1, 2, 3, 4, 5, 6
Plotting primary dendrogram
Plotting secondary dendrograms
Plotting MDS plot
Plotting scatterplots
Plotting bin scorring plot
Failed to make plot #5: list index out of range
Traceback (most recent call last):
File "/Users/lacy_barrett/.conda/envs/drep/lib/python3.9/site-packages/drep/d_analyze.py", line 108, in d_analyze_wrapper
plot_binscoring_from_wd(wd, plot_dir, **kwargs)
File "/Users/lacy_barrett/.conda/envs/drep/lib/python3.9/site-packages/drep/d_analyze.py", line 369, in plot_binscoring_from_wd
plot_winner_scoring_complex(Wdb, Sdb, Cdb, Gdb, plot_dir = plot_dir, **kwargs)
File "/Users/lacy_barrett/.conda/envs/drep/lib/python3.9/site-packages/drep/d_analyze.py", line 734, in plot_winner_scoring_complex
g.annotate("{0:.1f}".format(vals[i]), (p.get_width(), p.get_y()+(p.get_height()/1.1) ), fontsize=8)
IndexError: list index out of range
Plotting winning genomes plot...
Failed to make plot #6: list index out of range
Traceback (most recent call last):
File "/Users/lacy_barrett/.conda/envs/drep/lib/python3.9/site-packages/drep/d_analyze.py", line 117, in d_analyze_wrapper
plot_winners_from_wd(wd, plot_dir, **kwargs)
File "/Users/lacy_barrett/.conda/envs/drep/lib/python3.9/site-packages/drep/d_analyze.py", line 403, in plot_winners_from_wd
plot_winners(Wdb, Gdb, Wndb, Wmdb, Widb, plot_dir = plot_dir, **kwargs)
File "/Users/lacy_barrett/.conda/envs/drep/lib/python3.9/site-packages/drep/d_analyze.py", line 840, in plot_winners
_make_scoring_plot(d,bars,**kwargs)
File "/Users/lacy_barrett/.conda/envs/drep/lib/python3.9/site-packages/drep/d_analyze.py", line 1384, in _make_scoring_plot
g.annotate("{0:.1f}".format(vals[i]), (p.get_width(), p.get_y()+(p.get_height()/1.1) ), fontsize=8)
IndexError: list index out of range

@MrOlm
Copy link
Owner

MrOlm commented Feb 7, 2025

Hi @lacy111693 - the plotting library changes often, so there errors are somewhat common. They do NOT impact anything other than the figures drawn at the end, and those 2 figures aren't very useful imo anyways.

If you'd like to get those figures made I can help troubleshoot, though if I were you I would just proceed without them

Best,
Matt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants