mkiyer / oncoseq

Automatically exported from code.google.com/p/oncoseq
0 stars 0 forks source link

divided by zero warning in log10 function in vs2vcf #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Got a divided by zero warning --

/oncoseq/lib/vs2vcf.py:102: RuntimeWarning: divide by zero encountered in log10
  fields['QUAL']= str(np.around(-10 * np.log10(float(fields['QUAL'])),decimals=2))

Original issue reported on code.google.com by matthew....@gmail.com on 9 Feb 2012 at 4:11

GoogleCodeExporter commented 8 years ago
Rewrote the VarScan code. Seems to be working.

Original comment by matthew....@gmail.com on 10 Feb 2013 at 6:33