Question: In silico whole genome digestion- RestrictionDigest perl module - Illegal division by zero error
0
gravatar for csjlee08
19 months ago by
csjlee0810
csjlee0810 wrote:

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.

restriction digest gbs wgs • 711 views
ADD COMMENTlink modified 19 months ago by h.mon23k • written 19 months ago by csjlee0810

For such a large chunk of code a github gist is probably more convenient for sharing. Just make the gist and paste the link here, it will render automatically.

ADD REPLYlink written 19 months ago by WouterDeCoster36k
1

I replaced the copied / pasted code by a link to the line throwing the error message.

ADD REPLYlink written 19 months ago by h.mon23k

The same genome which works on a mac does not work on linux? Or different genomes? What are the perl versions on mac and linux? What are the command lines you issued at both mac and linux?

ADD REPLYlink written 19 months ago by h.mon23k

So, for some reason the variable overall_length_of_scfd is 0, it seems... (That's as helpful I can be when it's perl...)

ADD REPLYlink written 19 months ago by WouterDeCoster36k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1752 users visited in the last hour