This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to run velvet multithreaded?

According to http://www.ebi.ac.uk/~zerbino/velvet/, velvet can be multithreaded. But how to do it? When I do

./velveth

Usage:
./velveth directory hash_length {[-file_format][-read_type][-separate|-interleaved] filename1 [filename2 ...]} {...} [options]

My question is how to run velveth multithreaded? Where is the multi-thread flag (usually -t or -p)? I'm running 1.2.10.

metagenomics velveth

1 answer

For threading to work, Velvet has to be installed with make 'OPENMP=1'. Then you can control threading via export OMP_NUM_THREADS=7. See Velvet Manual Section 2.3.6.

Do you know if running velvet with openmp will use more memory? The manual doesn't discuss.

No, sorry I don't. But I think that it is not unlikely.

Log in to answer this question.