Skip to content

Commit b874ed7

Browse files
authored
Merge pull request #132 from CCBR/varscan-fix
Varscan fix
2 parents 2e2f298 + 427a1b3 commit b874ed7

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## XAVIER development version
22

3+
## XAVIER 3.1.3
4+
5+
- Fix breaking bug in varscan somaticFilter (#131, @dnousome)
6+
37
## XAVIER 3.1.2
48

59
- Fix minor bug in `assess_significance.R` script associated with rule `freec_exome_somatic`. (#120, @samarth8392)

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@ identifiers:
4646
- description: Archived snapshots of all versions
4747
type: doi
4848
value: 10.5281/zenodo.12727315
49-
version: v3.1.2
49+
version: v3.1.3
5050
date-released: "2024-11-05"

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.1.2-dev
1+
3.1.3-dev

config/templates/tools.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"varscan": {
3636
"version": "2.4.6",
3737
"filter_settings": "--strand-filter 1 --min-reads2 5 --min-strands2 2 --min-var-freq 0.05 --p-value 0.01 --min-avg-qual 30",
38+
"somatic_filter_settings": "--min-reads2 5 --min-strands2 2 --min-var-freq 0.05 --p-value 0.01",
3839
"modname": "varscan/2.4.6"
3940
},
4041
"vcftools": {
@@ -59,7 +60,7 @@
5960
},
6061
"sequenza-utils": {
6162
"version": "3.0.0",
62-
"modname": "bedtools/2.30.0"
63+
"modname": "sequenza/3.0.0"
6364
},
6465
"python": {
6566
"version": "2.7",

workflow/rules/somatic_snps.paired.smk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ rule varscan_filter:
465465
genome = config['references']['GENOME'],
466466
pon = config['references']['PON'],
467467
basedir = BASEDIR,
468-
filter_settings = config['tools']['varscan']['filter_settings'],
468+
somatic_filter_settings = config['tools']['varscan']['somatic_filter_settings'],
469469
ver_varscan = config['tools']['varscan']['version'],
470470
ver_gatk = config['tools']['gatk4']['version'],
471471
ver_bcftools = config['tools']['bcftools']['version'],
@@ -484,9 +484,9 @@ rule varscan_filter:
484484
# mechanism for deletion on exit
485485
{params.set_tmp}
486486
487-
varscan filter \\
487+
varscan somaticFilter \\
488488
{input.vcf} \\
489-
{params.filter_settings} > {output.filtered1}
489+
{params.somatic_filter_settings} --output-file {output.filtered1}
490490
491491
gatk SelectVariants \\
492492
-R {params.genome} \\

0 commit comments

Comments
 (0)