Skip to content

Commit 0d3a5b7

Browse files
committed
Issue #69 | fix serious bug in 2.13 release
1 parent b25b6e2 commit 0d3a5b7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

bin/mlst

+6-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use Path::Tiny; # bundled in $APPDIR/perl5/
1717
#..............................................................................
1818
# Globals
1919

20-
my $VERSION = "2.13";
20+
my $VERSION = "2.14";
2121
my $EXE = just_filename( $FindBin::RealScript );
2222
my $AUTHOR = 'Torsten Seemann';
2323
my $URL = 'https://github.com/tseemann/mlst';
@@ -209,9 +209,13 @@ exit(0);
209209

210210
sub find_mlst {
211211
my($fname) = @_;
212+
213+
# https://github.com/tseemann/mlst/issues/69
214+
my $culling = $scheme ? 10 : 1;
215+
212216
my $cmd = "blastn -query \Q$fname\E -db \Q$blastdb\E -num_threads $threads"
213217
." -ungapped -dust no -word_size 32 -max_target_seqs 10000"
214-
." -perc_identity $minid -evalue 1E-20 -culling_limit 1"
218+
." -perc_identity $minid -evalue 1E-20 -culling_limit $culling"
215219
." -outfmt '6 sseqid slen length nident qseqid qstart qend qseq'";
216220
msg("Running: $cmd") if $debug;
217221

0 commit comments

Comments
 (0)