Skip to content

Commit

Permalink
Update subworkflows/local/align.nf
Browse files Browse the repository at this point in the history
Co-authored-by: Jose Espinosa-Carrasco <kadomu@gmail.com>
  • Loading branch information
luisas and JoseEspinosa authored Dec 19, 2024
1 parent bc0f0b4 commit e5816e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions subworkflows/local/align.nf
Original file line number Diff line number Diff line change
Expand Up @@ -378,9 +378,9 @@ workflow ALIGN {
if(params.build_consensus){
ch_msa.map{ meta, msa -> [ meta["id"], msa]}
.groupTuple()
.filter{ it[1].size() > 1 }
.map{ id_meta, msas -> [ ["id": id_meta, "tree":"DEFAULT", "args_tree":"", "args_tree_clean":"default", "aligner":"CONSENSUS", "args_aligner":"", "args_aligner_clean":"default" ], msas ]}
.set{ ch_msa_consensus }
.filter { it[1].size() > 1 }
.map { id_meta, msas -> [ ["id": id_meta, "tree":"DEFAULT", "args_tree":"", "args_tree_clean":"default", "aligner":"CONSENSUS", "args_aligner":"", "args_aligner_clean":"default" ], msas ]}
.set { ch_msa_consensus }

CONSENSUS(ch_msa_consensus, [[:],[]], compress)
ch_msa = ch_msa.mix(CONSENSUS.out.alignment)
Expand Down

0 comments on commit e5816e1

Please sign in to comment.