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

feat: add option to disable normal hardfilter #1509

Merged
merged 54 commits into from
Jan 31, 2025
Merged
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
0862377
Merge branch 'develop' of github.com:Clinical-Genomics/BALSAMIC into …
mathiasbio Nov 29, 2024
ea4b5ce
rework bcftools filter
mathiasbio Nov 29, 2024
f60adac
black
mathiasbio Nov 29, 2024
3874a90
changelog
mathiasbio Nov 29, 2024
6b3fe6e
fix
mathiasbio Nov 29, 2024
e96a980
fix
mathiasbio Nov 29, 2024
68aeae1
new filter
mathiasbio Dec 10, 2024
24fd9a1
convert to list
mathiasbio Dec 10, 2024
13fab22
major refactor of filter logic
mathiasbio Dec 16, 2024
c66a66e
bug fixes
mathiasbio Dec 16, 2024
72cfbe1
fix
mathiasbio Dec 16, 2024
50fbc0a
fix
mathiasbio Dec 16, 2024
61aa1ab
test
mathiasbio Dec 16, 2024
28de8d4
fix
mathiasbio Dec 16, 2024
f3f5cb2
fix bug
mathiasbio Dec 16, 2024
3095fd9
fix
mathiasbio Dec 17, 2024
b2c62c6
black
mathiasbio Dec 17, 2024
d435039
update comments
mathiasbio Dec 17, 2024
eb46385
fix clinical and research filters
mathiasbio Dec 17, 2024
7c3a484
fix vardict tn hardfilters
mathiasbio Dec 18, 2024
0456b05
update vardict hardfilters
mathiasbio Dec 18, 2024
f29b271
remove pass and triallelic site prefilters
mathiasbio Dec 18, 2024
84dd929
fix bug
mathiasbio Dec 18, 2024
ab8cc0e
start refactor
mathiasbio Jan 23, 2025
98fcee4
refactor continues
mathiasbio Jan 24, 2025
72ab2dc
propogate refactor to rules
mathiasbio Jan 24, 2025
a5b0247
fix model
mathiasbio Jan 24, 2025
25e97c7
bug fix
mathiasbio Jan 24, 2025
b30b667
clean up old code
mathiasbio Jan 24, 2025
41025e1
refactor constant
mathiasbio Jan 24, 2025
15a9d1a
add BioinfoTools constant to balsamic smk
mathiasbio Jan 24, 2025
229e763
remove umi param from general tga
mathiasbio Jan 24, 2025
2c64e95
removing unussed analysis workflow param
mathiasbio Jan 24, 2025
7edc4d6
refactor
mathiasbio Jan 24, 2025
8975592
Merge branch 'develop' of github.com:Clinical-Genomics/BALSAMIC into …
mathiasbio Jan 24, 2025
930d0ad
merge develop
mathiasbio Jan 24, 2025
b6632a9
fix
mathiasbio Jan 24, 2025
8636569
fix
mathiasbio Jan 24, 2025
39fcb05
fix clinical hard filters
mathiasbio Jan 27, 2025
c778a16
fix soft filter
mathiasbio Jan 27, 2025
8164e8e
refactor
mathiasbio Jan 27, 2025
aff2b8c
refactor names
mathiasbio Jan 27, 2025
6b5c1ce
fix pytest
mathiasbio Jan 27, 2025
2c4cc23
add new filter
mathiasbio Jan 27, 2025
c7b301e
add pytests
mathiasbio Jan 27, 2025
a598574
update test names
mathiasbio Jan 27, 2025
ff86e7d
remove unused function
mathiasbio Jan 27, 2025
4cc420e
black
mathiasbio Jan 27, 2025
c47fbd2
add new vardict filter
mathiasbio Jan 28, 2025
dff2a39
corrected vardict strandbias to be general
mathiasbio Jan 28, 2025
d66e4a2
add filter and mark it will be ignored
mathiasbio Jan 28, 2025
2d66075
remove filters that will be removed
mathiasbio Jan 28, 2025
85b2a20
updated docs
mathiasbio Jan 28, 2025
8490657
fix pytest
mathiasbio Jan 28, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions BALSAMIC/commands/config/case.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
OPTION_CASE_ID,
OPTION_CLINICAL_SNV_OBSERVATIONS,
OPTION_CLINICAL_SV_OBSERVATIONS,
OPTION_SOFT_FILTER_NORMAL,
OPTION_EXOME,
OPTION_FASTQ_PATH,
OPTION_GENDER,
Expand Down Expand Up @@ -77,6 +78,7 @@
@OPTION_CASE_ID
@OPTION_CLINICAL_SNV_OBSERVATIONS
@OPTION_CLINICAL_SV_OBSERVATIONS
@OPTION_SOFT_FILTER_NORMAL
@OPTION_EXOME
@OPTION_FASTQ_PATH
@OPTION_GENDER
Expand Down Expand Up @@ -121,6 +123,7 @@ def case_config(
pon_cnn: Path,
sentieon_install_dir: Path,
sentieon_license: str,
soft_filter_normal: bool,
swegen_snv: Path,
swegen_sv: Path,
tumor_sample_name: str,
Expand Down Expand Up @@ -193,6 +196,7 @@ def case_config(
},
analysis={
"case_id": case_id,
"soft_filter_normal": soft_filter_normal,
"gender": gender,
"analysis_dir": analysis_dir,
"fastq_path": analysis_fastq_dir,
Expand Down
7 changes: 7 additions & 0 deletions BALSAMIC/commands/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,13 @@
help="Cluster configuration JSON file path",
)

OPTION_SOFT_FILTER_NORMAL = click.option(
"--soft-filter-normal",
is_flag=True,
default=False,
help="Flag to disable hard-filtering on presence of variants in matched normal sample",
)

OPTION_CLUSTER_MAIL = click.option(
"--mail-user",
type=click.STRING,
Expand Down
Loading
Loading