Skip to content

Commit

Permalink
Fix Issue #5 for cdifficile which uses rare "mlst_clade" column
Browse files Browse the repository at this point in the history
  • Loading branch information
tseemann committed Apr 7, 2015
1 parent c6bd2d1 commit aa5df76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/mlst
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ sub load_scheme {
chomp;
my @x = split m/\t/;
if ($. == 1) {
@gene = grep { $_ ne 'ST' and $_ ne 'clonal_complex' } @x;
@gene = grep { $_ !~ m/(^ST|complex|clade)/ } @x;
$st{GENES} = [ @gene ];
print "Allelles: @gene\n" if $verbose;
}
Expand Down

0 comments on commit aa5df76

Please sign in to comment.