nanosv
nanosv copied to clipboard
ZeroDivisionError: float division by zero from NanoSV version 1.2.4
Hi Mark,
I got the following error message during NanoSV (version 1.2.4) run on centos7 environment.
command I was using:
NanoSV test.bam -b Homo_sapiens.GRCh38.100.remapped.bed -o . -s sambamba_v0.5.5
error message
Thu Feb 18 22:17:14 2021 Busy with printing to vcf... Traceback (most recent call last): File "NanoSV", line 10, in
sys.exit(main()) File "NanoSV.py", line 79, in main utils.parse_svs.parse_svs() File "parse_svs.py", line 59, in parse_svs breakpoint.structural_variants[sv_id_2].setArguments(NanoSV.opts_depth_support) File "sv.py", line 164, in setArguments avg_dupdel_cov = self.getDupDelcoverage() File "sv.py", line 230, in getDupDelcoverage return float(sum(dupdel_coverages)) / len(dupdel_coverages) ZeroDivisionError: float division by zero
I know you have fixed similar issue in issue #8. As that issue has been closed, I have to create this issue.
Thank you, Wei