Skip to content

Commit

Permalink
Merge pull request #178 from luisas/add_mafft_guidetree
Browse files Browse the repository at this point in the history
Add mafft guidetree
  • Loading branch information
luisas authored Dec 2, 2024
2 parents 2da7cf0 + 7abf6b5 commit 3fff534
Show file tree
Hide file tree
Showing 22 changed files with 969 additions and 200 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Initial release of nf-core/multiplesequencealign, created with the [nf-core](htt
- [[#148](https://github.com/nf-core/multiplesequencealign/pull/148)] - Add UPP module.
- [[#150](https://github.com/nf-core/multiplesequencealign/pull/150)] - Update modules and readme for pre-release.
- [[#174](https://github.com/nf-core/multiplesequencealign/issues/174)] - Add the chaining of proteinfold output to MSA input.
- [[#177](https://github.com/nf-core/multiplesequencealign/pull/177)] - Add MAFFT guidetree.

### `Fixed`

Expand Down
36 changes: 2 additions & 34 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
// Tree building
//

withName: "FAMSA_GUIDETREE" {
withName: "CLUSTALO_GUIDETREE|FAMSA_GUIDETREE" {
tag = {
[
"${meta.id}",
Expand All @@ -83,46 +83,14 @@
]
}

withName: "CLUSTALO_GUIDETREE" {
tag = {
[
"${meta.id}",
meta.args_tree ? "args: ${meta.args_tree}" : ""
].join(' ').trim()
}
ext.prefix = { "${meta.id}_${meta.tree}-args-${meta.argstree_clean}" }
ext.args = { "${meta.args_tree}" == "null" ? '' : "${meta.args_tree}" }
publishDir = [
path: { "${params.outdir}/trees/${meta.id}" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}

withName: "MAGUS_GUIDETREE" {
tag = {
[
"${meta.id}",
meta.args_tree ? "args: ${meta.args_tree}" : ""
].join(' ').trim()
}
ext.prefix = { "${meta.id}_${meta.tree}-args-${meta.argstree_clean}" }
ext.args = { "${meta.args_tree}" == "null" ? '' : "${meta.args_tree}" }
publishDir = [
path: { "${params.outdir}/trees/${meta.id}" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}

//
// Alignment
//

withName: "CREATE_TCOFFEETEMPLATE" {
ext.prefix = { "${meta.id}" }
}
withName: "CLUSTALO_ALIGN|FAMSA_ALIGN|FOLDMASON_EASYMSA|KALIGN_ALIGN|LEARNMSA_ALIGN|MAFFT|MAGUS_ALIGN|MUSCLE5_SUPER5|TCOFFEE_REGRESSIVE|TCOFFEE_ALIGN|TCOFFEE3D_ALIGN|UPP_ALIGN" {
withName: "CLUSTALO_ALIGN|FAMSA_ALIGN|FOLDMASON_EASYMSA|KALIGN_ALIGN|LEARNMSA_ALIGN|MAFFT_ALIGN|MAGUS_ALIGN|MUSCLE5_SUPER5|TCOFFEE_REGRESSIVE|TCOFFEE_ALIGN|TCOFFEE3D_ALIGN|UPP_ALIGN" {
tag = {
[
"${meta.id}",
Expand Down
1 change: 1 addition & 0 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Currently available GUIDE TREE methods are: (Optional):

- [CLUSTALO](http://clustal.org/omega/#Documentation)
- [FAMSA](https://github.com/refresh-bio/FAMSA)
- [MAFFT](https://mafft.cbrc.jp/alignment/server/index.html)

### 3. Align

Expand Down
11 changes: 8 additions & 3 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,17 @@
"git_sha": "666652151335353eef2fcd58880bcef5bc2928e1",
"installed_by": ["modules"]
},
"magus/align": {
"mafft/align": {
"branch": "master",
"git_sha": "666652151335353eef2fcd58880bcef5bc2928e1",
"git_sha": "868cb0d7fc4862991fb7c2b4cd7289806cd53f81",
"installed_by": ["modules"]
},
"mafft/guidetree": {
"branch": "master",
"git_sha": "968b494e20f439a9ed3d23c89274e6a4a625eb92",
"installed_by": ["modules"]
},
"magus/guidetree": {
"magus/align": {
"branch": "master",
"git_sha": "666652151335353eef2fcd58880bcef5bc2928e1",
"installed_by": ["modules"]
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

75 changes: 75 additions & 0 deletions modules/nf-core/mafft/align/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

108 changes: 108 additions & 0 deletions modules/nf-core/mafft/align/meta.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3fff534

Please sign in to comment.