Altius / hotspot2

Implementation of hotspot2 by Eric Rynes
16 stars 3 forks source link

densities could have nan's #22

Closed sjneph closed 8 years ago

sjneph commented 8 years ago

after the switch from bedmap's --count to --sum, I forgot to add in something that changes NAN to 0.

sjneph commented 8 years ago

used awk to change any NAN to 0. don't use sed as a 'chrom' name might include NAN, which would mess up fields 1 and 4. Well, the simple sed that I typically use. There are ways to do it with regular expressions. awk is simple enough here. Fixed in commit 8293108ac787b93be0dc0165eff3a20d8fc358dd