Skip to content

Commit

Permalink
Merge pull request #4 from TRON-Bioinformatics/fix-intervals-issue
Browse files Browse the repository at this point in the history
avoid creating a global intervals file over and over again with a ris…
  • Loading branch information
priesgo authored Dec 9, 2021
2 parents f3f480c + e7d9e7f commit 055e84e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions modules/03_metrics.nf
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ process HS_METRICS {
gatk BedToIntervalList \
--INPUT ${params.intervals} \
--OUTPUT ${params.intervals}.intervals \
--OUTPUT my.intervals \
--SEQUENCE_DICTIONARY ${bam}
gatk CollectHsMetrics \
--java-options '-Xmx${params.metrics_memory} -Djava.io.tmpdir=tmp' \
--INPUT ${bam} \
--OUTPUT ${name}.hs_metrics.txt \
--TARGET_INTERVALS ${params.intervals}.intervals \
--BAIT_INTERVALS ${params.intervals}.intervals \
--TARGET_INTERVALS my.intervals \
--BAIT_INTERVALS my.intervals \
${minimum_base_quality} ${minimum_mapping_quality}
"""
}
Expand Down
2 changes: 1 addition & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ process.shell = ['/bin/bash', '-euo', 'pipefail']

cleanup = true

VERSION = '1.7.2'
VERSION = '1.7.3'
DOI = 'https://zenodo.org/badge/latestdoi/358400957'

manifest {
Expand Down

0 comments on commit 055e84e

Please sign in to comment.