Package list barrnap / a4b6f54
refresh patch Sascha Steinbiss 4 years ago
1 changed file(s) with 4 addition(s) and 10 deletion(s). Raw diff Collapse all Expand all
00 Description: Do not rely on path location relative to barrnap executable
11 --- a/bin/barrnap
22 +++ b/bin/barrnap
3 @@ -14,9 +14,14 @@
3 @@ -14,6 +14,9 @@
44 my $AUTHOR = 'Torsten Seemann <torsten.seemann@gmail.com>';
5 my $URL = 'https://github.com/Victorian-Bioinformatics-Consortium/barrnap';
5 my $URL = 'https://github.com/tseemann/barrnap';
66 my $DBDIR = "$FindBin::RealBin/../db";
77 +if ( ! -e $DBDIR) {
88 + $DBDIR = "/usr/share/barrnap/db";
99 +}
1010 my $OPSYS = $^O;
11 my $NHMMER = "$FindBin::RealBin/../binaries/$OPSYS/nhmmer";
12 -
13 +if ( ! -e $NHMMER ) {
14 + $NHMMER = "/usr/bin/nhmmer";
15 +}
16 my %KINGDOM = (map { substr($_,0,1) => $_ } qw(bac arc euk mito));
17 my %LENG = (
18 "5S_rRNA" =>119, "16S_rRNA"=>1585, "23S_rRNA"=>3232,
11 my $BINDIR = "$FindBin::RealBin/../binaries/$OPSYS";
12