I am writing to seek your assistance regarding an issue I encountered while attempting to run blastn locally on my computer. I have downloaded and installed blast+ on my machine and all nt_euk* files from the blast_db. Onece the db files were all downloaded I decompressed them in a directory I have called blastdb and create the .ncbirc config file as:
[BLAST]
BLASTDB=path_to_blastdb
DATA_LOADERS=blastdb
To launch the program I used the command line:
blastn -db nt_euk -query /mnt/adna/work/blast-test/empty-N0C0.fasta -strand plus -outfmt "6 qacc qlen sacc evalue score length qcovus pident" -sorthits 0 -max_target_seqs 3
But I got the following error:
Error message: Segmentation Fault (core dumped)
Gdb stack trace:
(gdb) bt
#0 0x0000000000f56381 in ncbi::CSeqDBVol::x_GetSequence(int, char const**) const ()
#1 0x0000000000f48599 in ncbi::CSeqDBImpl::GetSequence(int, char const**) const ()
#2 0x0000000000ed339e in ?? ()
#3 0x0000000000dc2bc1 in BLAST_PreliminarySearchEngine ()
#4 0x0000000000dc3832 in Blast_RunPreliminarySearchWithInterrupt ()
#5 0x0000000000e7c55f in ncbi::blast::CBlastPrelimSearch::Run() ()
#6 0x0000000000e4a8e7 in ncbi::blast::CLocalBlast::Run() ()
#7 0x0000000000b15246 in CBlastnApp::x_RunMTBySplitDB() ()
#8 0x0000000000b17520 in CBlastnApp::Run() ()
#9 0x00000000016bfdc3 in ncbi::CNcbiApplicationAPI::x_TryMain(ncbi::EAppDiagStream, char const*, int*, bool*) ()
#10 0x00000000016c2478 in ncbi::CNcbiApplicationAPI::AppMain(int, char const* const*, char const* const*, ncbi::EAppDiagStream, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#11 0x0000000000ae33b7 in main ()
Can someone help me resolve this issue?
Thank you very much for your attention to this matter.
Please use the formatting bar (especially the
code
option) to present your post better. You can use backticks for inline code (`text` becomestext
), or use one of (a) the option highlighted in the image below/ (b) fenced code blocks for multi-line code. Fenced code blocks are useful in syntax highlighting. If your code has long lines with a single command, break those lines into multiple lines with proper escape sequences so they're easier to read and still run when copy-pasted. I've done it for you this time. You'd used the double quote button this time and that is not the right way to format code.thank you!