-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.py
60 lines (49 loc) · 1.59 KB
/
constants.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
RANDOM_SEED = 1234
# expected assembly for 1000 genomes vcfs
DEFAULT_ASSEMBLY = "GRCh38"
AGE_MEAN = 45
AGE_SD = 25
AGE_MIN = 0
AGE_MAX = 105
# must sum to one
DISEASE_MASS_DISTRIBUTION = [
0.4, # probability of having no disease
0.35, # probability of having one disease
0.24, # probability of having two diseases
0.01 # probability of having three diseases
]
# all as above: P(0 items), P(1 item), etc and must sum to one
PHENOTYPIC_FEATURE_MASS_DISTRIBUTION = [0.1, 0.5, 0.3, 0.1]
MEDICAL_ACTION_MASS_DISTRIBUTION = [0.5, 0.3, 0.15, 0.05]
INTERPRETATION_MASS_DISTRIBUTION = [0.8, 0.15, 0.05]
EXTRA_BIOSAMPLES_MASS_DISTRIBUTION = [0.4, 0.4, 0.1, 0.1]
# very rarely, make a disease or phenotypic feature have the "excluded" property
P_EXCLUDED = 0.002
# have an extra property that doesn't appear for every user
P_SMOKING_STATUS_PRESENT = 0.9
# extra properties "Lab Result" values
LAB_MIN = 0
LAB_MAX = 1000
LAB_MEAN = 100
# only some individuals have BMI measurements
P_BMI_PRESENT = 0.9
BMI_MIN = 14
BMI_MAX = 100
BMI_MEAN = 21
BMI_SD = 8
# only some individuals have blood pressure measurements
P_BP_PRESENT = 0.4
BP_MIN = 80
BP_MAX = 180
BP_MEAN = 110
BP_SD = 20
P_ADD_FAKE_CRAM_TO_1K_VCF = 0.5
P_ADD_EXPERIMENT_TO_BIOSAMPLE = 0.4
P_ADD_EXAMPLE_FILE_TO_EXPERIMENT = 0.3
# generate transcriptomics count matrix
GENERATE_TRANSCRIPTOMICS_MATRIX = True
GENERATE_EXPERIMENT_INFO_MATRIX = False
GENERATE_DIFFERENTIAL_EXPERIMENT_INFO_MATRIX = False
NUMBER_OF_GROUPS = 3
NUMBER_OF_SAMPLES = 9
GFF3_URL = "ftp://ftp.ensembl.org/pub/release-112/gff3/homo_sapiens/Homo_sapiens.GRCh38.112.gff3.gz"