Skip to content

Commit

Permalink
update deepvariant module (genomic-medicine-sweden#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
fellen31 authored Apr 22, 2024
1 parent 71d55cb commit 3933fb7
Show file tree
Hide file tree
Showing 12 changed files with 583 additions and 60 deletions.
17 changes: 13 additions & 4 deletions conf/modules/short_variant_calling.config
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,19 @@ process {

withName: '.*:SHORT_VARIANT_CALLING:DEEPVARIANT' {

if(params.preset == 'revio' | params.preset == 'pacbio') {
ext.model_type = 'PACBIO'
} else if(params.preset == 'ONT_R10') {
ext.model_type = 'ONT_R104'
ext.prefix = { intervals ? "${meta.id}" + "_" + "${intervals.getSimpleName()}" + "_deepvariant" : "${meta.id}" + "_deepvariant"}

if(params.preset.matches('revio|pacbio')) {
ext.args = { [
"--sample_name=${meta.id}",
'--model_type=PACBIO',
].join(' ') }

} else if(params.preset.matches('ONT_R10')) {
ext.args = { [
"--sample_name=${meta.id}",
'--model_type=ONT_R104',
].join(' ') }
}
}

Expand Down
5 changes: 5 additions & 0 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@
"git_sha": "911696ea0b62df80e900ef244d7867d177971f73",
"installed_by": ["modules"]
},
"deepvariant": {
"branch": "master",
"git_sha": "199ba086a259e1933d6e0ab7596e4a977bbd483a",
"installed_by": ["modules"]
},
"ensemblvep/vep": {
"branch": "master",
"git_sha": "9f9e1fc31cb35876922070c0e601ae05abae5cae",
Expand Down
54 changes: 0 additions & 54 deletions modules/local/google/deepvariant.nf

This file was deleted.

9 changes: 9 additions & 0 deletions modules/nf-core/deepvariant/README.md

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/deepvariant/main.nf

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

83 changes: 83 additions & 0 deletions modules/nf-core/deepvariant/meta.yml

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

117 changes: 117 additions & 0 deletions modules/nf-core/deepvariant/tests/main.nf.test

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

Loading

0 comments on commit 3933fb7

Please sign in to comment.