Skip to content

Commit 8de1f64

Browse files
author
Emrah Akkoyun
committed
ml_tree use previous cached
1 parent 2e226a4 commit 8de1f64

2 files changed

Lines changed: 2 additions & 10 deletions

File tree

workflow/envs/raxml-ng.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
name: raxml-ng
22
channels:
33
- bioconda
4-
- conda-forge
54
dependencies:
65
- raxml-ng = 1.0.2
7-
- openmpi = 4.0.5

workflow/scripts/raxml-ng.sh

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@ tree_num=$6
1010
# recommended # threads
1111
thread_num=`raxml-ng --parse --msa $trimmed_msa --model $raxml_model --nofile|grep "Recommended number of threads"|awk -F: {'print $2'}| xargs`
1212
echo "Recommended number of thread: $thread_num"
13-
echo "Number of CPUs on the allocated nodes: $SLURM_CPUS_ON_NODE"
14-
15-
if (("$thread_num" <= "$SLURM_CPUS_ON_NODE")); then
16-
folder=`dirname $output_tree`
17-
raxml-ng --msa $trimmed_msa --data-type AA --model $raxml_model --prefix $folder/$raxml_out_name --seed $raxml_seed --threads $thread_num --tree rand{$tree_num} pars{$tree_num}
18-
else
19-
echo "ERROR: Required CPU number: $thread_num. Assign more CPUs for the next submission"
20-
fi
2113

14+
folder=`dirname $output_tree`
15+
raxml-ng --msa $trimmed_msa --data-type AA --model $raxml_model --prefix $folder/$raxml_out_name --seed $raxml_seed --threads $thread_num --tree rand{$tree_num} pars{$tree_num}

0 commit comments

Comments
 (0)