BLAST in Linux - SOCK_SetupSSL
0
0
Entering edit mode
6.0 years ago
t.kranenburg ▴ 40

Dear all,

After running BLAST for a while on windows, I wanted to try to make it work on Linux as well (to have some compatibility with other software). Therefore, I downloaded the linux-version of BLAST, unzipped it, and the contents look the same as for the Windows version. Therefore, I try to BLAST something:

cd Documents/ncbi-blast-2.7.1+
tblastx -db nr -query test2.fasta -remote -out test_query.txt

However, I got the following error message:

Critical: [tblastx] Secure socket layer (SSL) has not been properly initialized in the NCBI toolkit. Have you forgotten to call SOCK_SetupSSL()?

Thus, I was wondering how I should call this command in the BLAST-folder to make it work?

blast linux sock SSL • 2.3k views
ADD COMMENT
0
Entering edit mode

can you do tblastx -help ?

try to run something like this, given you have 2 (or at least one) fasta files with a sequence in it:

blastn -query <file1> -subject <file2>

I suspect your issue is likely related to using the remote blasting option and not directly to your local blast bin install

ADD REPLY
1
Entering edit mode

My guess is that your Linux has tblastx in $PATH, however, it's so old that it doesn't support https.

You can verify with tblastx -version

The actual tblastx of blast 2.7.1 should be in ~/Documents/ncbi-blast-2.7.1+/bin/ and thus the call would be ~/Documents/ncbi-blast-2.7.1+/bin/tblastx -db nr -query test2.fasta -remote -out test_query.txt

ADD REPLY
0
Entering edit mode

Or, as he entered the folder where the executable was located:

cd Documents/ncbi-blast-2.7.1+
./tblastx -db nr -query test2.fasta -remote -out test_query.txt
ADD REPLY
0
Entering edit mode

Dear all, Thank you for your comments. Indeed when I did a local BLAST (tblastx -query test2.fasta -subject test3.fasta), BLAST works. So, indeed the problem is with the -remote part of BLAST.

ADD REPLY

Login before adding your answer.

Traffic: 1454 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6