Skip to content

Commit

Permalink
make index available to VQSR
Browse files Browse the repository at this point in the history
  • Loading branch information
priesgo committed Dec 12, 2021
1 parent c4ad9a4 commit 75f0266
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions modules/02_vqsr.nf
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ process VARIANT_RECALIBRATOR {
tuple val(name), file(vcf)

output:
tuple val("${name}"), file(vcf), file("output.tranches"), file("${name}.recalibrated.vcf"), emit: recalibration
tuple val("${name}"), file(vcf), file("output.tranches"), file("${name}.recalibrated.vcf"),
file("${name}.recalibrated.vcf.idx"), emit: recalibration

"""
gatk --java-options '-Xmx${params.memory_filter}' VariantRecalibrator \
Expand All @@ -70,7 +71,7 @@ process VQSR {
conda (params.enable_conda ? "bioconda::gatk4=4.2.0.0" : null)

input:
tuple val(name), file(vcf), file(tranches_file), file(recalibration_file)
tuple val(name), file(vcf), file(tranches_file), file(recalibration_file), file(index)

output:
tuple val("${name}"), file("${name}.hc.vcf"), emit: final_vcfs
Expand Down
2 changes: 1 addition & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ env {
// Capture exit codes from upstream processes when piping
process.shell = ['/bin/bash', '-euo', 'pipefail']

VERSION = '0.1.3'
VERSION = '0.1.4'
DOI = 'bla'

manifest {
Expand Down

0 comments on commit 75f0266

Please sign in to comment.