Skip to content

Commit

Permalink
update to year 3, version 3
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasfriedrich91 committed Aug 1, 2022
1 parent fb46f22 commit 5b19df6
Show file tree
Hide file tree
Showing 30 changed files with 3,123 additions and 488 deletions.
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 Lukas Friedrich, Merck KGaA Darmstadt
Copyright (c) 2020 Lukas Friedrich, Merck KGaA Darmstadt and Jaak Simm, University of Leuven

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
268 changes: 188 additions & 80 deletions README.md

Large diffs are not rendered by default.

37 changes: 29 additions & 8 deletions config/example_parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@
"nfolds": 5
},
"credibility_range": {
"PANEL": {
"NON-CATALOG-PANEL": {
"min": 3.0,
"max": 10.0
},
"CATALOG-PANEL": {
"min": 3.0,
"max": 10.0
},
Expand All @@ -40,7 +44,7 @@
"num_total": 50,
"num_uncensored_total": 25
},
"PANEL": {
"NON-CATALOG-PANEL": {
"num_total": 50,
"num_uncensored_total": 25
},
Expand All @@ -58,7 +62,7 @@
"num_active_total": 25,
"num_inactive_total": 25
},
"PANEL": {
"NON-CATALOG-PANEL": {
"num_active_total": 25,
"num_inactive_total": 25
},
Expand All @@ -69,16 +73,25 @@
"AUX_HTS": {
"num_active_total": 10,
"num_inactive_total": 10000
},
"AUX_PL": {
"num_active_total": 10,
"num_inactive_total": 10000
}
},
"CATALOG-PANEL": {
"num_total": 400,
"num_active_fold_min": 10,
"num_inactive_fold_min": 10
}
}
},
"evaluation_quorum": {
"regression": {
"ADME": {
"num_fold_min": 50,
"num_uncensored_fold_min": 25
},
"PANEL": {
"NON-CATALOG-PANEL": {
"num_fold_min": 50,
"num_uncensored_fold_min": 25
},
Expand All @@ -89,14 +102,18 @@
"AUX_HTS": {
"num_fold_min": 50,
"num_uncensored_fold_min": 25
},
"AUX_PL": {
"num_fold_min": 50,
"num_uncensored_fold_min": 25
}
},
"classification": {
"ADME": {
"num_active_fold_min": 10,
"num_inactive_fold_min": 10
},
"PANEL": {
"NON-CATALOG-PANEL": {
"num_active_fold_min": 10,
"num_inactive_fold_min": 10
},
Expand All @@ -111,7 +128,8 @@
}
},
"initial_task_weights": {
"AUX_HTS": 0.1
"AUX_HTS": 0.1,
"AUX_PL": 0.1
},
"global_thresholds": {
"AUX_HTS": 3.0
Expand All @@ -122,6 +140,9 @@
"count_task": {
"count_data_points": 25
},
"regression_evaluation_task_filter": {
"min_standard_deviation": 0.5
},
"lsh": {
"nfolds": 5,
"bits": [
Expand All @@ -143,4 +164,4 @@
17552
]
}
}
}
12 changes: 12 additions & 0 deletions config/run_parameters/agg_val.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"assay_file": "input/w_cat/T0.csv",
"activity_file": "input/w_cat/T1.csv",
"mapping_table": "tests/w_cat/mapping_table/T5.csv",
"config_file": "data_prep/config/example_parameters.json",
"key_file": "data_prep/config/example_key.json",
"output_dir": "tests",
"run_name": "w_cat",
"number_cpu": 64,
"ref_hash": null,
"non_interactive": true
}
12 changes: 12 additions & 0 deletions config/run_parameters/apply_thres.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"assay_file": "tests/w_cat/results_tmp/aggregation/T0_upd.csv",
"activity_file": "tests/w_cat/results_tmp/aggregation/T4r.csv",
"catalog_file": "input/w_cat/T_cat.csv",
"config_file": "data_prep/config/example_parameters.json",
"key_file": "data_prep/config/example_key.json",
"output_dir": "tests",
"run_name": "w_cat",
"number_cpu": 4,
"ref_hash": null,
"non_interactive": true
}
10 changes: 10 additions & 0 deletions config/run_parameters/calc_desc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"structure_file": "tests/w_cat/results_tmp/standardization/T2_standardized.csv",
"config_file": "data_prep/config/example_parameters.json",
"key_file": "data_prep/config/example_key.json",
"output_dir": "tests",
"run_name": "w_cat",
"number_cpu": 64,
"ref_hash": null,
"non_interactive": false
}
12 changes: 12 additions & 0 deletions config/run_parameters/filter_clf.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"classification_activity_file": "tests/w_cat/results_tmp/thresholding/T4c.csv",
"classification_weight_table": "tests/w_cat/results_tmp/thresholding/T3c.csv",
"catalog_file": "input/w_cat/T_cat.csv",
"mapping_table_T5": "tests/w_cat/mapping_table/T5.csv",
"config_file": "data_prep/config/example_parameters.json",
"key_file": "data_prep/config/example_key.json",
"output_dir": "tests",
"run_name": "w_cat",
"ref_hash": null,
"non_interactive": true
}
10 changes: 10 additions & 0 deletions config/run_parameters/filter_reg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"regression_activity_file": "tests/w_cat/results_tmp/aggregation/T4r.csv",
"regression_weight_table": "tests/w_cat/results_tmp/aggregation/T0_upd.csv",
"config_file": "data_prep/config/example_parameters.json",
"key_file": "data_prep/config/example_key.json",
"output_dir": "tests",
"run_name": "w_cat",
"ref_hash": null,
"non_interactive": true
}
10 changes: 10 additions & 0 deletions config/run_parameters/fold_assign.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"structure_file": "tests/w_cat/results_tmp/descriptors/T2_descriptors.csv",
"config_file": "data_prep/config/example_parameters.json",
"key_file": "data_prep/config/example_key.json",
"output_dir": "tests",
"run_name": "w_cat",
"number_cpu": 64,
"ref_hash": null,
"non_interactive": false
}
14 changes: 14 additions & 0 deletions config/run_parameters/make_matrices.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"structure_file": "tests/w_cat/mapping_table/T6.csv",
"activity_file_clf": "tests/w_cat/results_tmp/classification/T10c.csv",
"weight_table_clf": "tests/w_cat/results_tmp/classification/T8c.csv",
"activity_file_reg": "tests/w_cat/results_tmp/regression/T10r.csv",
"weight_table_reg": "tests/w_cat/results_tmp/regression/T8r.csv",
"config_file": "data_prep/config/example_parameters.json",
"key_file": "data_prep/config/example_key.json",
"output_dir": "tests",
"run_name": "w_cat",
"using_auxiliary": "yes",
"ref_hash": null,
"non_interactive": true
}
19 changes: 19 additions & 0 deletions config/run_parameters/pipeline.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"structure_file": "input/w_cat/T2.csv",
"activity_files": [
"input/w_cat/T1.csv"
],
"weight_tables": [
"input/w_cat/T0.csv"
],
"catalog_file": "input/w_cat/T_cat.csv",
"config_file": "data_prep/config/example_parameters.json",
"key_file": "data_prep/config/example_key.json",
"output_dir": "tests/",
"run_name": "w_cat_entire",
"using_auxiliary": "no",
"number_cpu": 128,
"ref_hash": null,
"non_interactive": true,
"folding_method": "scaffold"
}
22 changes: 13 additions & 9 deletions melloddy_pipeline_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,30 @@ channels:
dependencies:
- mkl
- mkl_random
- numpy=1.19
- numpy=1.20.1
- openssl
- pandas=1.1
- pandas=1.3.3
- python=3.8.2
- rdkit=2020.09.1.0
- scipy=1.5.2
- rdkit=2021.03.5
- scipy=1.7.1
- sqlite
- tqdm
- nose2
- pytest
- scikit-learn=0.23.2
- pytorch::pytorch=1.4.0
- pytorch::torchvision=0.5.0
- cudatoolkit=10.1
- scikit-learn=0.24.2
- pytorch::pytorch=1.8.1
- cudatoolkit=10.2.89
- tensorboard
- notebook
- ipykernel
- jupyterlab
- ipykernel
- matplotlib
- seaborn
- dask=2.30.0
- dask=2021.8.1
- torchinfo=1.5.3
- pip
- pip:
- pandera
- pynvml==11.0.0

Loading

0 comments on commit 5b19df6

Please sign in to comment.