-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
33 lines (25 loc) · 919 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
host = ''
port = ''
user = ''
passwd = ''
db = ''
db_cosmic = 'COSMIC'
db_chip = ''
charset=''
# Fraction of samples of the cohort to set the threshold used to discard mutations present
# in too many samples as presumable germinal variant or artifact
TOTAL_SAMPLES_FRACTION = 0.1
# VAF threshold to emit a mutacion
VAF_THRESHOLD = 0.01
# MAF threshold to consider a mutation as a populaton variant (germinal)
MAX_MAF_THRESHOLD = 0.01
# Threshold of samples with mutation a vaf compatible with germinal variants
MAX_NUM_SAMPLES_GERMINAL_VAF = 10
# Max occurrences consider common in COSMIC (used in heuristic filter)
COMMON_COSMIC_THRESHOLD = 3
# VAF threshold for the heuristic filter
HEURISTIC_VAF_THRESHOLD = 0.02
# Fraction of samples of the cohort for the heuristic filter
HEURISTIC_FRACTION_SAMPLES = 0.02
# Max occurrences in COSMIC CMC for the heuristic filter
HEURISTIC_COSMIC_OCURRENCES_THRESHOLD = 3