NanoPlot: Failt to execute newer version of NanoPlot (v NanoPlot 1.32.1)
Hi I installed latest version expecting 1.35.5, but conda installed 1.32.1 and i tried to run but got an error. Can you please take a look that i got an error.
NanoPlot -t 1 --fastq ../*fail*.fastq --plots hex dot --title FailedReads --N50 --tsv_stats -o NanoPlotQC2 -p failFastqNanoPlot
Apps/envs/NanoPlots/lib/python3.7/site-packages/seaborn/distributions.py:2551: FutureWarning: distplot
is a deprecated function and will be removed in a future version. Please adapt your code to use either displot
(a figure-level function with similar flexibility) or histplot
(an axes-level function for histograms).
warnings.warn(msg, FutureWarning)
If you read this then NanoPlot 1.32.1 has crashed 😦 Please try updating NanoPlot and see if that helps…
If not, please report this issue at https://github.com/wdecoster/NanoPlot/issues If you could include the log file that would be really helpful. Thanks!
Traceback (most recent call last): File “Apps/envs/NanoPlots/bin/NanoPlot”, line 10, in <module> sys.exit(main()) File “Apps/envs/NanoPlots/lib/python3.7/site-packages/nanoplot/NanoPlot.py”, line 101, in main plots = make_plots(datadf, settings) File “Apps/envs/NanoPlots/lib/python3.7/site-packages/nanoplot/NanoPlot.py”, line 169, in make_plots plot_settings=plot_settings) File “Apps/envs/NanoPlots/lib/python3.7/site-packages/nanoplotter/nanoplotter_main.py”, line 135, in scatter height=10) File “Apps/envs/NanoPlots/lib/python3.7/site-packages/seaborn/_decorators.py”, line 46, in inner_f return f(**kwargs) File “Apps/envs/NanoPlots/lib/python3.7/site-packages/seaborn/axisgrid.py”, line 2124, in jointplot grid.plot_joint(plt.hexbin, **joint_kws) File “Apps/envs/NanoPlots/lib/python3.7/site-packages/seaborn/axisgrid.py”, line 1694, in plot_joint func(self.x, self.y, **kwargs) File “Apps/envs/NanoPlots/lib/python3.7/site-packages/matplotlib/pyplot.py”, line 2593, in hexbin is not None else {}), **kwargs) File “Apps/envs/NanoPlots/lib/python3.7/site-packages/matplotlib/init.py”, line 1565, in inner return func(ax, *map(sanitize_sequence, args), **kwargs) File “Apps/envs/NanoPlots/lib/python3.7/site-packages/matplotlib/axes/_axes.py”, line 4802, in hexbin collection.update(kwargs) File “Apps/envs/NanoPlots/lib/python3.7/site-packages/matplotlib/artist.py”, line 1006, in update ret = [_update_property(self, k, v) for k, v in props.items()] File “Apps/envs/NanoPlots/lib/python3.7/site-packages/matplotlib/artist.py”, line 1006, in <listcomp> ret = [_update_property(self, k, v) for k, v in props.items()] File “Apps/envs/NanoPlots/lib/python3.7/site-packages/matplotlib/artist.py”, line 1002, in _update_property .format(type(self).name, k)) AttributeError: ‘PolyCollection’ object has no property ‘stat_func’
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 28 (13 by maintainers)
Hi @unique379r, could you perhaps provide me with the running version of NanoPlot (
NanoPlot --version
)? Perhaps a clean install of NanoPlot could fix it (conda remove -n <env> NanoPlot
to remove NanoPlot,conda install -c bioconda nanoplot
to reinstall).@tjhinet, what output do you get when you execute following command:
tail -10 sequencing_summary_FAH29897_2fd1c19e.txt
because we might have a corrupt summary file at our hands.PS: I suggest next time to open a issue of your own, that way the developers can help you out better 👍