Skip to content

Commit 6127d68

Browse files
Merge pull request #147 from IntGenomicsLab/whatshap_stats
Whatshap stats
2 parents 232b33e + 65edddc commit 6127d68

28 files changed

Lines changed: 2104 additions & 38 deletions

‎conf/modules.config‎

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,16 @@ process {
9696
]
9797
}
9898

99+
withName: '.*:WHATSHAP_STATS' {
100+
ext.prefix = { "${meta.id}_whatshap_stats" }
101+
ext.args = { "--sample ${meta.id}" }
102+
publishDir = [
103+
path: { "${params.outdir}/${meta.id}/qc/whatshap_stats" },
104+
mode: params.publish_dir_mode,
105+
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
106+
]
107+
}
108+
99109
//
100110
// Preprocessing and other processes
101111
//
@@ -209,7 +219,7 @@ process {
209219
//
210220

211221
withName: '.*:LONGPHASE_PHASE' {
212-
ext.prefix = { "somatic_smallvariants" }
222+
ext.prefix = { "germline_smallvariants" }
213223
ext.args = {
214224
[
215225
meta.platform == 'pb' ? '--pb' : '--ont',
@@ -222,6 +232,7 @@ process {
222232
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
223233
]
224234
}
235+
225236
withName: '.*:LONGPHASE_HAPLOTAG' {
226237
ext.prefix = { "${meta.id}_${meta.type}" }
227238
publishDir = [
@@ -262,6 +273,7 @@ process {
262273
]
263274
}
264275
withName: '.*:CLAIRSTO' {
276+
ext.args = { "--sample_name ${meta.id}" }
265277
publishDir = [
266278
path: { "${params.outdir}/${meta.id}/variants/clairsto" },
267279
mode: params.publish_dir_mode,
@@ -279,6 +291,7 @@ process {
279291
}
280292

281293
withName: '.*:CLAIR3' {
294+
ext.args = { "--sample_name=${meta.id}" }
282295
publishDir = [
283296
path: { "${params.outdir}/${meta.id}/variants/clair3" },
284297
mode: params.publish_dir_mode,

‎modules.json‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@
9090
"git_sha": "2c73cc8fa92cf48de3da0b643fdf357a8a290b36",
9191
"installed_by": ["modules"]
9292
},
93+
"nanoplot": {
94+
"branch": "master",
95+
"git_sha": "682f789f93070bd047868300dd018faf3d434e7c",
96+
"installed_by": ["modules"]
97+
},
9398
"pigz/uncompress": {
9499
"branch": "master",
95100
"git_sha": "f84336b7fa91a65aa61d215b8c109fbb8e4b4ac6",
@@ -146,6 +151,11 @@
146151
"branch": "master",
147152
"git_sha": "41dfa3f7c0ffabb96a6a813fe321c6d1cc5b6e46",
148153
"installed_by": ["modules"]
154+
},
155+
"whatshap/stats": {
156+
"branch": "master",
157+
"git_sha": "bfab71f4d68c1aaff09335a3433e7b2836918b2a",
158+
"installed_by": ["modules"]
149159
}
150160
}
151161
},

‎modules/nf-core/deepvariant/callvariants/main.nf‎

Lines changed: 50 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎modules/nf-core/deepvariant/callvariants/meta.yml‎

Lines changed: 68 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎modules/nf-core/deepvariant/callvariants/tests/main.nf.test‎

Lines changed: 84 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎modules/nf-core/deepvariant/callvariants/tests/main.nf.test.snap‎

Lines changed: 55 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎modules/nf-core/deepvariant/callvariants/tests/nextflow.config‎

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)