This is a test version of Biostars. For the public version, visit https://www.biostars.org.
BLAST in Linux - SOCK_SetupSSL

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

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

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

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

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.

0 answers

No answers yet.

Log in to answer this question.