This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Thread Safe C/C++ Libraries For Sequence Alignment

Hi,

Are there thread safe C/C++ library for sequence alignment?

I was checking out Seqan, but in the documentation it wasn't explicitly stated that it's thread safe for alignments.

I'm wondering if there are other libraries available?

Thanks!

library c alignment

2 answers

The alignment functions in the fasta package (http://faculty.virginia.edu/wrpearson/fasta) are thread safe, and you are welcome to use the alignment functions you need (e.g. do_walign() in the dropgsw2.c file for Smith-Waterman, or bd_align() for banded local alignment, or any of the functions in wm_align.c). Unfortunately, they are not very well documented, but their overall structure is relatively simple.

They are definitely thread safe; both the score functions and alignment functions in the FASTA package are fully threaded.

Bill Pearson

Seqan's alignment's OK for multi-threading. Here's what one of the authors said.

Log in to answer this question.