How to run velvet multithreaded?
1
1
Entering edit mode
9.5 years ago
scchess ▴ 640

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 • 6.2k views
ADD COMMENT
6
Entering edit mode
9.5 years ago
thackl ★ 3.0k

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.

ADD COMMENT
0
Entering edit mode

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

ADD REPLY
1
Entering edit mode

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

ADD REPLY

Login before adding your answer.

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