Permalink
Browse files

Last little bug - now correctly calculating number of repeats

  • Loading branch information...
1 parent fa6abaf commit b70790183a1166b081f092b603a53cf0db396c19 mestato committed Jul 8, 2015
Showing with 1 addition and 1 deletion.
  1. +1 −1 hwg_gssr_scripts/findSSRs_post_assembly.pl
@@ -391,7 +391,7 @@ sub process_ssr{
##-------------------------------------
## generate a few more stats and variables
my $motif_len = length $motif;
- my $num_of_repeats = ($end_index-$start_index+1)/$motif_len;
+ my $num_of_repeats = ($end_index-$start_index)/$motif_len;
my $ssr_id = $contig_name."_ssr".$start_index;
##-------------------------------------

0 comments on commit b707901

Please sign in to comment.