I've been using a perl module called RestrictionDigest to do in silico whole genome digestion. It works on my Mac but when I move to Ubuntu (Linux) the script has an error message: Illegal division by zero at RestrictionDigest.pm line 1502 error code. Because it works on my Mac, I think it is a syntax error. If anyone is familiar with Linux command line, help is appreciated. https://github.com/JINPENG-WANG/RestrictionDigest/find/master --> link to program
The code to the perl module can be found here.