Skip to content

Commit

Permalink
feat: add picard qc modules
Browse files Browse the repository at this point in the history
  • Loading branch information
shihabdider committed Oct 10, 2024
1 parent d00058c commit c09d46a
Show file tree
Hide file tree
Showing 16 changed files with 697 additions and 2 deletions.
2 changes: 2 additions & 0 deletions conf/base.config
Original file line number Diff line number Diff line change
Expand Up @@ -236,3 +236,5 @@ process {
cache = false
}
}


16 changes: 16 additions & 0 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,22 @@ process {
]
}

withName: 'PICARD_COLLECTMULTIPLEMETRICS' {
publishDir = [
mode: params.publish_dir_mode,
path: { "${params.outdir}/qc_reports/picard/${meta.id}" },
saveAs: { filename -> filename.equals('versions.yml') ? null : filename },
]
}

withName: 'PICARD_COLLECTWGSMETRICS' {
publishDir = [
mode: params.publish_dir_mode,
path: { "${params.outdir}/qc_reports/picard/${meta.id}" },
saveAs: { filename -> filename.equals('versions.yml') ? null : filename },
]
}

withName: 'SAMTOOLS_STATS' {
ext.when = { !(params.skip_tools && params.skip_tools.split(',').contains('samtools')) }
ext.prefix = { "${meta.id}.sorted.cram" }
Expand Down
10 changes: 10 additions & 0 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,16 @@
"git_sha": "3e52a04aa60e0cb5cea0487b9ae2fdd04f874027",
"installed_by": ["modules"]
},
"picard/collectmultiplemetrics": {
"branch": "master",
"git_sha": "666652151335353eef2fcd58880bcef5bc2928e1",
"installed_by": ["modules"]
},
"picard/collectwgsmetrics": {
"branch": "master",
"git_sha": "666652151335353eef2fcd58880bcef5bc2928e1",
"installed_by": ["modules"]
},
"samtools/collatefastq": {
"branch": "master",
"git_sha": "911696ea0b62df80e900ef244d7867d177971f73",
Expand Down
5 changes: 5 additions & 0 deletions modules/nf-core/picard/collectmultiplemetrics/environment.yml

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

67 changes: 67 additions & 0 deletions modules/nf-core/picard/collectmultiplemetrics/main.nf

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

79 changes: 79 additions & 0 deletions modules/nf-core/picard/collectmultiplemetrics/meta.yml

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

112 changes: 112 additions & 0 deletions modules/nf-core/picard/collectmultiplemetrics/tests/main.nf.test

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

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

Loading

0 comments on commit c09d46a

Please sign in to comment.