Running Blast With C
1
0
Entering edit mode
7.6 years ago
pld 5.0k

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.7k views
ADD COMMENT
0
Entering edit mode
7.6 years ago

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'

ADD COMMENT
0
Entering edit mode

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

ADD REPLY
1
Entering edit mode

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

+

[citation needed]

ADD REPLY

Login before adding your answer.

Traffic: 2123 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