Commit 63438268 authored by Thomas Van Parys's avatar Thomas Van Parys
Browse files

Less time for WGD ksd again, but double the amount of cores

parent c978aeae
...@@ -1100,13 +1100,13 @@ process wgd_ksd_paranome{ ...@@ -1100,13 +1100,13 @@ process wgd_ksd_paranome{
module 'paml' module 'paml'
module 'fasttree' module 'fasttree'
time '15h' time '10h'
memory { 6.GB + 4.GB * task.attempt } memory { 6.GB + 4.GB * task.attempt }
errorStrategy { task.attempt < 5 ? 'retry' : 'finish' } errorStrategy { task.attempt < 5 ? 'retry' : 'finish' }
maxRetries 4 maxRetries 4
cpus 4 cpus 8
input: input:
set file(mcl_file), val(species), file(species_cds_fasta) from wgd_mcl_results_with_cds_paranome set file(mcl_file), val(species), file(species_cds_fasta) from wgd_mcl_results_with_cds_paranome
...@@ -1117,7 +1117,7 @@ process wgd_ksd_paranome{ ...@@ -1117,7 +1117,7 @@ process wgd_ksd_paranome{
""" """
$activate_venv $activate_venv
OMP_NUM_THREADS=4 wgd ksd $mcl_file $species_cds_fasta -mp 500 -o . --ignore_prefixes OMP_NUM_THREADS=8 wgd ksd $mcl_file $species_cds_fasta -n 8 -mp 500 -o . --ignore_prefixes
mv *.ks.svg ${species}\\.ks.svg mv *.ks.svg ${species}\\.ks.svg
mv *.ks.tsv ${species}\\.ks.tsv mv *.ks.tsv ${species}\\.ks.tsv
""" """
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment