Skip to content

Commit f60c5b5

Browse files
authored
feat: Release v17.1.0 (#1593)
#### Changed - changed strand bias filter for WGS TO SNV quality filter to only require representation from both strands in alt allele - lowered maximum raredisease loqusdb SNV observation frequency from 0.01 to 0.007, and verified no common cancer predisposition variant exists above that threshold
1 parent 1b49253 commit f60c5b5

File tree

5 files changed

+25
-8
lines changed

5 files changed

+25
-8
lines changed

BALSAMIC/constants/cluster_analysis.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,11 +292,11 @@
292292
"n": 4
293293
},
294294
"cadd_annotate_somaticINDEL_research": {
295-
"time": "18:00:00",
296-
"n": 4
295+
"time": "38:00:00",
296+
"n": 12
297297
},
298298
"vep_annotate_somaticSNV_research": {
299-
"time": "18:00:00",
299+
"time": "28:00:00",
300300
"n": 12
301301
},
302302
"vcfanno_annotate_somaticSNV_clinical": {

BALSAMIC/constants/variant_filters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ class WgsSNVFilters(BaseSNVFilters):
286286
VCFFilter(tag_value=0.001, filter_name="balsamic_high_pop_freq", field="INFO"),
287287
]
288288
clinical = research + [
289-
VCFFilter(tag_value=0.01, filter_name="Frq", field="INFO"),
289+
VCFFilter(tag_value=0.007, filter_name="Frq", field="INFO"),
290290
VCFFilter(tag_value=0.1, filter_name="ArtefactFrq", field="INFO"),
291291
]
292292
quality = [

BALSAMIC/snakemake_rules/variant_calling/snv_quality_filter.rule

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ bcftools view --threads {threads} --regions-file {input.wgs_calling_file}.bed {i
3636
| bcftools filter --threads {threads} --include 'FORMAT/AD[0:1] > {params.AD[0]}' --soft-filter '{params.AD[1]}' --mode '+' \
3737
| bcftools filter --threads {threads} --include 'FORMAT/AF > {params.AF_min[0]}' --soft-filter '{params.AF_min[1]}' --mode '+' \
3838
| bcftools filter --threads {threads} --include 'SUM(FORMAT/QSS)/SUM(FORMAT/AD) >= {params.qss[0]}' --soft-filter '{params.qss[1]}' --mode '+' \
39-
| bcftools filter --threads {threads} --include 'FORMAT/ALT_F1R2 > {params.strand_reads[0]} && (FORMAT/ALT_F1R2 > 0 && FORMAT/ALT_F2R1 > {params.strand_reads[0]} && FORMAT/REF_F1R2 > {params.strand_reads[0]} && FORMAT/REF_F2R1 > {params.strand_reads[0]})' --soft-filter '{params.strand_reads[1]}' --mode '+' \
39+
| bcftools filter --threads {threads} --include 'FORMAT/ALT_F1R2 > {params.strand_reads[0]} && FORMAT/ALT_F2R1 > {params.strand_reads[0]}' --soft-filter '{params.strand_reads[1]}' --mode '+' \
4040
| bcftools filter --threads {threads} --include "INFO/SOR < {params.sor[0]}" --soft-filter '{params.sor[1]}' --mode '+' \
4141
| bcftools view --exclude '{params.hard_filters}' -o {output.vcf_filtered};
4242

CHANGELOG.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
[17.1.0]
2+
--------
3+
4+
Added:
5+
^^^^^^
6+
7+
Changed:
8+
^^^^^^^^
9+
* removing strand balance requirement of ref-allele in WGS TO strand bias filter https://github.com/Clinical-Genomics/BALSAMIC/pull/1594
10+
* lowered rare-disease germline loqusdb observation frequency for WGS SNVs to 0.007 from 0.01 https://github.com/Clinical-Genomics/BALSAMIC/pull/1594
11+
12+
Removed:
13+
^^^^^^^^
14+
15+
Fixed:
16+
^^^^^^
17+
18+
119
[17.0.1]
220
--------
321

docs/balsamic_filters.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -647,12 +647,11 @@ The somatic variants in TNscope raw VCF file (`SNV.somatic.<CASE_ID>.tnscope.all
647647

648648
SUM(QSS)/SUM(AD) >= 20
649649

650-
*Read Counts*: Count of reads in a given (F1R2, F2R1) pair orientation supporting the alternate allele and reference alleles
650+
*Read Counts*: Count of reads in a given (F1R2, F2R1) pair orientation supporting the alternate allele
651651

652652
::
653653

654654
ALT_F1R2 > 0, ALT_F2R1 > 0
655-
REF_F1R2 > 0, REF_F2R1 > 0
656655

657656
*SOR*: Symmetric Odds Ratio of 2x2 contingency table to detect strand bias
658657

@@ -682,7 +681,7 @@ This section contains population database frequency filters.
682681

683682
::
684683

685-
Frq <= 0.01 (or) Frq == "."
684+
Frq <= 0.007 (or) Frq == "."
686685

687686
The variants scored as `PASS` or `triallelic_sites` are included in the final vcf file (`SNV.somatic.<CASE_ID>.tnscope.<research/clinical>.filtered.pass.vcf.gz`).
688687

0 commit comments

Comments
 (0)