Skip to content
Snippets Groups Projects
Commit 995e27be authored by Graham McVicker's avatar Graham McVicker
Browse files

avoid a perl warning

parent 487ab603
No related branches found
No related tags found
No related merge requests found
......@@ -417,8 +417,8 @@ sub dump_genbank {
my $c_count = $SEQ =~ tr/cC/cC/;
my $t_count = $SEQ =~ tr/tT/tT/;
my $g_count = $SEQ =~ tr/gG/gG/;
my $length = length($SEQ);
my $other_count = $length - $a_count - $c_count - $t_count - $g_count;
my $bp_length = length($SEQ);
my $other_count = $bp_length - $a_count - $c_count - $t_count - $g_count;
$tag = 'BASE COUNT';
$value = "$a_count a $c_count c $g_count g $t_count t";
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment