Skip to content

Commit

Permalink
adding align and consensus contigs (not tested)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joon-Klaps committed Jul 6, 2023
1 parent 058dfd6 commit f98b495
Show file tree
Hide file tree
Showing 10 changed files with 376 additions and 3 deletions.
28 changes: 27 additions & 1 deletion conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ process {
]
}


withName: ".*:FASTA_BLAST_CLUST:CAT_CAT" {
ext.prefix = { "${meta.id}.fa.gz" }
publishDir = [
Expand Down Expand Up @@ -366,6 +365,33 @@ process {
pattern: "*.fa.gz"
]
}

withName: MUSCLE {
ext.args = "-fasta -maketree"
publishDir = [
path: { "${params.outdir}/polishing/intermediate/alignment/muscle" },
mode: params.publish_dir_mode,
enabled: params.save_intermediate_polishing,
pattern: "*.{afa,tree)"
]
}

withName: MAFFT {
ext.args = "--adjustdirection --maxiterate 100"
publishDir = [
path: { "${params.outdir}/polishing/intermediate/alignment/mafft" },
mode: params.publish_dir_mode,
enabled: params.save_intermediate_polishing,
pattern: "*.{fas)"
]
}

withName: ".*:ALIGN_COLLAPSE_CONTIGS:CAT_CAT" {
ext.prefix = { "${meta.id}.fa" }
publishDir = [
enabled: false
]
}
}
}

Expand Down
16 changes: 15 additions & 1 deletion modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,14 @@
},
"custom/dumpsoftwareversions": {
"branch": "master",
"git_sha": "76cc4938c1f6ea5c7d83fed1eeffc146787f9543",
"git_sha": "911696ea0b62df80e900ef244d7867d177971f73",
"installed_by": ["modules"]
},
"emboss/cons": {
"branch": "master",
"git_sha": "0739c1b680ea60f5a83e7f5071008627ddc436ce",
"installed_by": ["modules"]
},
"fastp": {
"branch": "master",
"git_sha": "d497a4868ace3302016ea8ed4b395072d5e833cd",
Expand Down Expand Up @@ -76,6 +80,11 @@
"git_sha": "603ecbd9f45300c9788f197d2a15a005685b4220",
"installed_by": ["modules"]
},
"mafft": {
"branch": "master",
"git_sha": "911696ea0b62df80e900ef244d7867d177971f73",
"installed_by": ["modules"]
},
"megahit": {
"branch": "master",
"git_sha": "603ecbd9f45300c9788f197d2a15a005685b4220",
Expand All @@ -96,6 +105,11 @@
"git_sha": "911696ea0b62df80e900ef244d7867d177971f73",
"installed_by": ["modules"]
},
"muscle": {
"branch": "master",
"git_sha": "911696ea0b62df80e900ef244d7867d177971f73",
"installed_by": ["modules"]
},
"samtools/flagstat": {
"branch": "master",
"git_sha": "911696ea0b62df80e900ef244d7867d177971f73",
Expand Down
48 changes: 48 additions & 0 deletions modules/nf-core/emboss/cons/main.nf

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

47 changes: 47 additions & 0 deletions modules/nf-core/emboss/cons/meta.yml

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

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

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

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

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

54 changes: 54 additions & 0 deletions modules/nf-core/muscle/main.nf

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

56 changes: 56 additions & 0 deletions modules/nf-core/muscle/meta.yml

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

Loading

0 comments on commit f98b495

Please sign in to comment.