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

TypeError: Empty 'DataFrame': no numeric data to plot #16

Open
sunwanying21 opened this issue Jul 8, 2022 · 0 comments
Open

TypeError: Empty 'DataFrame': no numeric data to plot #16

sunwanying21 opened this issue Jul 8, 2022 · 0 comments

Comments

@sunwanying21
Copy link

hi, I used docker to install the VIP software. But I get this issue when I run VIP.sh. Could you please have a look at this? Thanks.

#######Prepare to generate Columntable########
Fri Jul 8 11:41:34 HKT 2022 /VIP/VIP.sh ####Parsing Sense mode result with TAXI DONE. The process took 0 seconds####
covplot.sh WHP5086_host_removed_R1.fastq.nohost.nobac.sense_nucl.match.sam.addseq.VIRUSES.all.annotated WHP5086_host_removed_R1.fastq.nohost.nobac.sense_nucl.unmatch.fa.prot.m8.addseq.VIRUSES.all.annotated WHP5086_host_removed_R1.fastq sense illumina 15 31 2 ../VIPDB/SENSE.tar.gz/BLASTDB/blastdb_vip_sense
Fri Jul 8 11:41:34 HKT 2022 /VIP/covplot.sh done creating WHP5086_host_removed_R1.fastq.nohost.nobac.sense_nucl.match.sam.addseq.VIRUSES.all.annotated.tempsorted && WHP5086_host_removed_R1.fastq.nohost.nobac.sense_nucl.unmatch.fa.prot.m8.addseq.VIRUSES.all.annotated.tempsorted
Fri Jul 8 11:41:34 HKT 2022 /VIP/covplot.sh done creating temp.all.WHP5086_host_removed_R1.fastq.uniq.genus
sort: cannot read: ./WHP5086_host_removed_R1.fastq.report/temp.WHP5086_host_removed_R1.fastq.covreport: No such file or directory
Fri Jul 8 11:41:34 HKT 2022 /VIP/VIP.sh Preprocess took 85 seconds
Traceback (most recent call last):
File "/VIP/distributionPlot.py", line 52, in
data['Coverage'].plot(kind='bar', width=0.2, color='red', ax=ax, position=1,legend=True)
File "/usr/local/lib/python2.7/dist-packages/pandas/tools/plotting.py", line 3600, in call
**kwds)
File "/usr/local/lib/python2.7/dist-packages/pandas/tools/plotting.py", line 2674, in plot_series
**kwds)
File "/usr/local/lib/python2.7/dist-packages/pandas/tools/plotting.py", line 2470, in _plot
plot_obj.generate()
File "/usr/local/lib/python2.7/dist-packages/pandas/tools/plotting.py", line 1041, in generate
self._compute_plot_data()
File "/usr/local/lib/python2.7/dist-packages/pandas/tools/plotting.py", line 1150, in _compute_plot_data
'plot'.format(numeric_data.class.name))
TypeError: Empty 'DataFrame': no numeric data to plot
htmlGen.pl taxi.WHP5086_host_removed_R1.fastq.table WHP5086_host_removed_R1.fastq sense 85 ../VIPDB/SENSE.tar.gz
file error - vip.tt: not foundPlease check the VIP_report.html under the path: /data\WHP5086_host_removed_R1.fastq.report

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

1 participant