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 <[email protected]>
  • Loading branch information
luisas and JoseEspinosa authored Sep 13, 2023
1 parent 5377bdc commit d22acbb
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions subworkflows/local/align.nf
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,17 @@ workflow ALIGN {


// Here is all the combinations we need to compute
ch_fasta_trees = ch_fasta_tools.with_tree
.combine(trees, by: [0])
.map{ it -> [it[0] + it[1] , it[2], it[3]]}
.branch{
famsa: it[0]["align"] == "FAMSA"
tcoffee3D_tmalign: it[0]["align"] == "tcoffee3D_tmalign"
tcoffee_regressive: it[0]["align"] == "regressive"
clustalo: it[0]["align"] == "CLUSTALO"
}
ch_fasta_tools
.with_tree
.combine(trees, by: [0])
.map { it -> [it[0] + it[1] , it[2], it[3]]}
.branch {
famsa: it[0]["align"] == "FAMSA"
tcoffee3D_tmalign: it[0]["align"] == "tcoffee3D_tmalign"
tcoffee_regressive: it[0]["align"] == "regressive"
clustalo: it[0]["align"] == "CLUSTALO"
}
.set { ch_fasta_trees }

//
// Compute the alignments
Expand Down

0 comments on commit d22acbb

Please sign in to comment.