Skip to content

Commit 7277705

Browse files
committed
update
1 parent 7a60879 commit 7277705

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

FastOMA.nf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ process omamer_run{
6262

6363

6464
process infer_roothogs{
65+
cpus 10 // useful for linclust
6566
time {15.h} // including linclust
6667
memory {200.GB}
6768
publishDir = [

FastOMA/_utils_roothog.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,8 +495,8 @@ def collect_unmapped_singleton(rhogs_prots, unmapped,prot_recs_all,unmapped_sing
495495

496496

497497
def run_linclust(fasta_to_cluster="singleton_unmapped.fa"):
498-
num_threads = 5 # /work/FAC/FBM/DBC/cdessim2/default/smajidi1/software/miniconda/envs/fastoma/bin/
499-
command_clust = "mmseqs easy-linclust --threads " + str(
498+
num_threads = 10 # todo how to assign more cpu for this step
499+
command_clust = _config.mmseqs_executable_path +" easy-linclust --threads " + str(
500500
num_threads) + " " + fasta_to_cluster + " singleton_unmapped tmp_linclust"
501501

502502
logger_hog.debug("linclust rooting started" + command_clust)

FastOMA/check_fastoma_input.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def add_internal_node_prune(species_tree,species_names):
146146
node.name=node_name_new
147147

148148
node_names.add(node.name)
149-
logger_hog.debug("The internal node name has special chars " + node_name + " which is changed to " + node.name)
149+
logger_hog.debug("The internal node name has special chars or repeated " + node_name + " which is changed to " + node.name)
150150
else:
151151
node_names.add(node_name)
152152

0 commit comments

Comments
 (0)