-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
51 lines (45 loc) · 1.34 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
INPUT_FASTA = "./test_data/fasta_folder"
INPUT_GFF3 = "./test_data/gff3_folder"
INPUT_ORF = "./test_data/orf_folder"
OUTPUT_FOLDER = "./lumbridge_output"
# features to extract from gff3
GFF3_FEATURES = ["miRNA", "lnc_RNA", "gene"]
# Homer2
HOMER2_BIN_PATH = "/usr/src/app/bin"
HOMER2_OUTPUT_FOLDER = "./lumbridge_output/homer2"
HOMER2_UPSTREAM_GEN_SEQ_LENGTH = 800
HOMER2_DOWNSTREAM_GEN_SEQ_LENGTH = 200
HOMER2_P_THRESHOLD = 0.05
HOMER2_CPU_CORES = 4
# model_data
MAX_FEATURE_OVERLAP = 0 # for given feature, fow now it's tested only for 0
LOG_CONFIG = {
"version": 1,
"formatters": {
"default": {
"format": "LUMBRIDGE - %(asctime)s - %(levelname)s - %(message)s",
"datefmt": "%Y-%m-%d %H:%M:%S",
}
},
"handlers": {
"console": {
"level": "DEBUG",
"class": "logging.StreamHandler",
"formatter": "default",
},
"file": {
"level": "DEBUG",
"class": "logging.FileHandler",
"formatter": "default",
"filename": "./logs/default.txt", # Specify the file path
},
},
"loggers": {
"default": {
"level": "DEBUG",
"handlers": ["console", "file"], # Updated to use console handler
"propagate": False,
}
},
"disable_existing_loggers": False,
}