Question: In silico whole genome digestion- RestrictionDigest perl module - Illegal division by zero error
0
gravatar for csjlee08
2.1 years 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 • 890 views
ADD COMMENTlink modified 2.1 years ago by h.mon27k • written 2.1 years 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 2.1 years ago by WouterDeCoster40k
1

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

ADD REPLYlink written 2.1 years ago by h.mon27k

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 2.1 years ago by h.mon27k

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 2.1 years ago by WouterDeCoster40k
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: 544 users visited in the last hour