Skip to content

Commit da80059

Browse files
authored
Merge pull request #378 from andrewjpage/version_fix
fix mafft and kraken version extraction
2 parents 9c2d391 + f999bbe commit da80059

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dist.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ author = Andrew J. Page <ap13@sanger.ac.uk>
33
license = GPL_3
44
copyright_holder = Wellcome Trust Sanger Institute
55
copyright_year = 2013
6-
version = 3.11.1
6+
version = 3.11.2
77
main_module = lib/Bio/Roary.pm
88

99
[MetaResources]

lib/Bio/Roary/External/CheckTools.pm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,17 @@ my %tools = (
5757
},
5858
'mafft' => {
5959
GETVER => "mafft --version < /dev/null 2>&1",
60-
REGEXP => qr/(\d+\.\d+) /,
60+
REGEXP => qr/(\d+\.\d+)/,
6161
NEEDED => 1,
6262
},
6363
'kraken' => {
64-
GETVER => "kraken --version | head -n 1",
64+
GETVER => "kraken -v | head -n 1",
6565
REGEXP => qr/(\d+\.\d+\.\d+.*)/,
6666
NEEDED => 0,
6767
},
6868
'kraken-report' => {
6969
GETVER => "kraken-report --version | head -n 1",
70-
REGEXP => qr/(\d+\.\d+\.\d+.*)/,
70+
REGEXP => qr/Kraken version (\d+\.\d+\.*\d*.*)/,
7171
NEEDED => 0,
7272
},
7373
'Rscript' => {

0 commit comments

Comments
 (0)