Question: Amphora2 problem. Illegal division by zero at line 132
gravatar for sanzeev.dahal
8 months ago by
sanzeev.dahal0 wrote:

I am using AMPHORA2 for phylotyping. And I am stuck at the third script because the counter does not increase at all because it possibly cannot find a match.

my $count = 0;
open (IN, "$marker.aln") ||die "cant open $marker.aln";
    while (<IN>) {
        $count++ if /REF-/; 
close IN;

$count is always 0. and this counter is used for division purpose later on. Therefore, the run is stuck. Anyone encountered the same problem? And/or solved this issue?

ADD COMMENTlink modified 8 months ago by ATpoint26k • written 8 months ago by sanzeev.dahal0
Please log in to add an answer.


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