Skip to content

Commit

Permalink
Merge pull request #62 from sanger-tol/vcftools_site_pi_het
Browse files Browse the repository at this point in the history
VCFTOOLs site_pi and het options
  • Loading branch information
gq1 authored Nov 16, 2023
2 parents aa99735 + 1882fef commit 3b3a745
Show file tree
Hide file tree
Showing 12 changed files with 569 additions and 9 deletions.
23 changes: 23 additions & 0 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,29 @@ process {
]
}

withName: '.*:PROCESS_VCF:VCFTOOLS_SITE_PI' {
ext.args = '--site-pi'
if( params.include_positions ){
ext.args += ' --positions'
} else if ( params.exclude_positions ){
ext.args += ' --exclude-positions'
}
publishDir = [
path: { "${params.outdir}/variant_calling" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}

withName: '.*:PROCESS_VCF:VCFTOOLS_HET' {
ext.args = '--het'
publishDir = [
path: { "${params.outdir}/variant_calling" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}

withName: CUSTOM_DUMPSOFTWAREVERSIONS {
publishDir = [
path: { "${params.outdir}/pipeline_info/variantcalling" },
Expand Down
8 changes: 7 additions & 1 deletion modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"deepvariant": {
"branch": "master",
"git_sha": "ed67f2fadd6d2a155b296f728e6b1f8c92ddc1a6",
"git_sha": "516189e968feb4ebdd9921806988b4c12b4ac2dc",
"installed_by": ["modules"]
},
"samtools/faidx": {
Expand All @@ -45,6 +45,12 @@
"branch": "master",
"git_sha": "3ffae3598260a99e8db3207dead9f73f87f90d1f",
"installed_by": ["modules"]
},
"vcftools": {
"branch": "master",
"git_sha": "8fc1d24c710ebe1d5de0f2447ec9439fd3d9d66a",
"installed_by": ["modules"],
"patch": "modules/nf-core/vcftools/vcftools.diff"
}
}
}
Expand Down
4 changes: 4 additions & 0 deletions modules/nf-core/deepvariant/environment.yml

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

6 changes: 3 additions & 3 deletions modules/nf-core/deepvariant/meta.yml

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

6 changes: 6 additions & 0 deletions modules/nf-core/vcftools/environment.yml

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

128 changes: 128 additions & 0 deletions modules/nf-core/vcftools/main.nf

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

Loading

0 comments on commit 3b3a745

Please sign in to comment.