Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VCFTOOLs site_pi and het options #62

Merged
merged 10 commits into from
Nov 16, 2023
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