Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
sinamajidian committed Nov 12, 2023
1 parent 7a60879 commit 7277705
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions FastOMA.nf
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ process omamer_run{


process infer_roothogs{
cpus 10 // useful for linclust
time {15.h} // including linclust
memory {200.GB}
publishDir = [
Expand Down
4 changes: 2 additions & 2 deletions FastOMA/_utils_roothog.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,8 +495,8 @@ def collect_unmapped_singleton(rhogs_prots, unmapped,prot_recs_all,unmapped_sing


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

logger_hog.debug("linclust rooting started" + command_clust)
Expand Down
2 changes: 1 addition & 1 deletion FastOMA/check_fastoma_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def add_internal_node_prune(species_tree,species_names):
node.name=node_name_new

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

Expand Down

0 comments on commit 7277705

Please sign in to comment.