This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Running Blast With C

I'm trying to improve the parallelization of something and it is beneficial to not use system calls to start blast runs. It seems NCBI only has documentation for doing this in a C++ environment, but not a C environment. Can someone point me to some use cases of the blast library in C?

c blast

1 answer

The old blastall is a C program: ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools/old/

Aside from a few problems (the 'this' keyword, "setting extern C{"etc...) any C program should be compilable with C++

If possible, you could also run some parallel jobs with 'make -j'

I've always been told extern is bad practice for writing C.

you need "extern C {" to link external C libraries.

+

[citation needed]

Log in to answer this question.