Skip to content

Commit

Permalink
[FIX] use actual parameter id_transformer
Browse files Browse the repository at this point in the history
  • Loading branch information
alpae committed Dec 12, 2023
1 parent 86d7473 commit 0c82b3b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions FastOMA.nf
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,9 @@ process collect_subhogs{
input:
path pickles, stageAs: "pickle_folders/?"
path "gene_id_dic_xml.pickle"
path rhogs //, stageAs: "omamer_rhogs/*"
path rhogs
path species_tree
val id_transform
output:
path "FastOMA_HOGs.orthoxml"
path "OrthologousGroupsFasta"
Expand All @@ -289,7 +290,8 @@ process collect_subhogs{
--marker-groups-fasta OrthologousGroups.tsv \
--roothog-tsv RootHOGs.tsv \
--species-tree ${species_tree} \
-vv --id-transform UniProt
--id-transform $id_transform \
-vv
"""
}

Expand All @@ -315,7 +317,7 @@ workflow {
(pickle_rest_rhog, msas_out_rest, genetrees_out_test) = hog_rest(rhogs_rest_batches.flatten(), species_tree_checked)
channel.empty().concat(pickle_big_rhog, pickle_rest_rhog).set{ all_rhog_pickle }

(orthoxml_file, OrthologousGroupsFasta, OrthologousGroups_tsv, rootHOGs_tsv) = collect_subhogs(all_rhog_pickle.collect(), gene_id_dic_xml, omamer_rhogs, species_tree_checked)
(orthoxml_file, OrthologousGroupsFasta, OrthologousGroups_tsv, rootHOGs_tsv) = collect_subhogs(all_rhog_pickle.collect(), gene_id_dic_xml, omamer_rhogs, species_tree_checked, params.fasta_header_id_transformer)

}

Expand Down

0 comments on commit 0c82b3b

Please sign in to comment.