In silico whole genome digestion- RestrictionDigest perl module - Illegal division by zero error
0
0
Entering edit mode
7.3 years ago
csjlee08 ▴ 10

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.

GBS Restriction digest WGS • 2.3k views
ADD COMMENT
0
Entering edit mode

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 REPLY
1
Entering edit mode

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

ADD REPLY
0
Entering edit mode

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 REPLY
0
Entering edit mode

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 REPLY

Login before adding your answer.

Traffic: 1490 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6