Permalink
Browse files

Fixed a bug about gaps in thompson97

  • Loading branch information...
fredrikj committed Feb 16, 2010
1 parent 8ebcd36 commit b7bd859e2b63cd8c8f803beb721d0cde7d0a1c02
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bio/appl/seala/karlin.rb
@@ -30,7 +30,7 @@ def thompson97
@score =
valind.map do |ci|
originalcolumn = self.slice(ci..ci).values
- column = originalcolumn.reject{|i| i=~/[.BXZ]/}
+ column = originalcolumn.reject{|i| i=~/[\.\-BXZ]/}
if column.size*2 < originalcolumn.size
'nan'
else

0 comments on commit b7bd859

Please sign in to comment.