keylabivdc / VIP

25 stars 15 forks source link

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

Open sunwanying21 opened 2 years ago

sunwanying21 commented 2 years ago

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