X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=binaries%2Fsrc%2Fjpred%2Fjpred.pl;fp=binaries%2Fsrc%2Fjpred%2Fjpred.pl;h=436ae638e6e4279164b89a8f5d4ab4c989770d06;hb=b96c95802887fe47d7e69b2398cd2c49c41432fc;hp=a16a96ad928e6aeabdaa662433eabaabb95d2fcc;hpb=61c75714c63045025f891312ff44876688cb57b5;p=jabaws.git diff --git a/binaries/src/jpred/jpred.pl b/binaries/src/jpred/jpred.pl index a16a96a..436ae63 100755 --- a/binaries/src/jpred/jpred.pl +++ b/binaries/src/jpred/jpred.pl @@ -278,10 +278,12 @@ my $database = { }, }; -my $dp = $database->{$db_entry}{database}; +my $dpf = $database->{$db_entry}{database}.'.pal'; +my $dpu = $database->{$db_entry}{unfiltered}.'.pal'; pod2usage("ERROR! Input file should be provided with -sequence/-in") unless $infile; pod2usage("ERROR! Unknown database at $db_path. Use -dbpath and -dbname for configuring the database") unless exists $database->{$db_entry}; -pod2usage("ERROR! UNIREF database is not available at $dp. Use -dbpath and -dbname for configuring the database") unless -f $dp; +pod2usage("ERROR! UNIREF filtered database is not available at $dpf Use -dbpath and -dbname for configuring the database") unless -f $dpf; +pod2usage("ERROR! UNIREF unfiltered database is not available at $dpu Use -dbpath and -dbname for configuring the database") unless -f $dpu; ##################################################################################################### # lots of preparation steps