-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'development' of https://github.com/jyaacoub/MutDTA into…
… development
- Loading branch information
Showing
16 changed files
with
323 additions
and
271 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,31 @@ | ||
numpy==1.23.5 | ||
pandas==1.5.3 | ||
tqdm==4.65.0 | ||
rdkit==2023.3.1 | ||
scipy==1.10.1 | ||
numpy | ||
pandas | ||
tqdm | ||
rdkit | ||
scipy | ||
|
||
# for generating figures: | ||
matplotlib==3.7.1 | ||
seaborn==0.11.2 | ||
statannotations==0.6.0 | ||
matplotlib | ||
seaborn | ||
statannotations | ||
|
||
lifelines==0.27.7 # used for concordance index calc | ||
#biopython # used for cmap | ||
lifelines | ||
|
||
# model building | ||
torch==2.0.1 | ||
torch-geometric==2.3.1 | ||
transformers==4.31.0 # huggingface needed for esm | ||
torch | ||
torch-geometric | ||
transformers | ||
|
||
# optional: | ||
torchsummary==1.5.1 | ||
tabulate==0.9.0 # for torch_geometric.nn.summary | ||
ipykernel==6.23.1 | ||
plotly==5.14.1 | ||
requests==2.31.0 | ||
#ray[tune] | ||
torchsummary | ||
tabulate | ||
ipykernel | ||
plotly | ||
requests | ||
ray[tune] | ||
|
||
submitit==1.4.5 | ||
ProDy==2.4.1 | ||
submitit | ||
ProDy | ||
|
||
# for chemgpt | ||
selfies==1.0.4 | ||
selfies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
numpy==1.23.5 | ||
pandas==1.5.3 | ||
tqdm==4.65.0 | ||
rdkit==2023.3.1 | ||
scipy==1.10.1 | ||
|
||
# for generating figures: | ||
matplotlib==3.7.1 | ||
seaborn==0.11.2 | ||
statannotations==0.6.0 | ||
|
||
lifelines==0.27.7 # used for concordance index calc | ||
#biopython # used for cmap | ||
|
||
# model building | ||
torch==2.0.1 | ||
torch-geometric==2.3.1 | ||
transformers==4.31.0 # huggingface needed for esm | ||
|
||
# optional: | ||
torchsummary==1.5.1 | ||
tabulate==0.9.0 # for torch_geometric.nn.summary | ||
ipykernel==6.23.1 | ||
plotly==5.14.1 | ||
requests==2.31.0 | ||
#ray[tune] | ||
|
||
submitit==1.4.5 | ||
ProDy==2.4.1 | ||
|
||
# for chemgpt | ||
selfies==1.0.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,9 @@ | ||
# %% | ||
import pandas as pd | ||
|
||
df = pd.read_csv('/cluster/home/t122995uhn/projects/data/DavisKibaDataset/davis/nomsa_binary_original_binary/train/XY.csv', index_col=0) | ||
dft = pd.read_csv('/cluster/home/t122995uhn/projects/data/DavisKibaDataset/davis/nomsa_binary_original_binary/test/XY.csv', index_col=0) | ||
dfv = pd.read_csv('/cluster/home/t122995uhn/projects/data/DavisKibaDataset/davis/nomsa_binary_original_binary/val/XY.csv', index_col=0) | ||
|
||
trainp = df['prot_id'].drop_duplicates() | ||
testp = dft['prot_id'].drop_duplicates() | ||
valp = dfv['prot_id'].drop_duplicates() | ||
|
||
overlap_train_test = trainp[trainp.isin(testp)] | ||
overlap_train_val = trainp[trainp.isin(valp)] | ||
overlap_test_val = testp[testp.isin(valp)] | ||
|
||
# %% | ||
from src.data_processing.init_dataset import create_datasets | ||
|
||
create_datasets( | ||
data_opt=['davis'], | ||
feat_opt=['foldseek'], | ||
edge_opt=['binary'] | ||
) | ||
# %% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.