Datasets:
Update README.md
Browse filesAdded additional file descriptions and references for the test feature matrix with intra- and inter-complex negatives.
README.md
CHANGED
|
@@ -85,13 +85,19 @@ human protein pairs interact directly or indirectly.
|
|
| 85 |
|
| 86 |
|-- test_FeatureMatrix_pdbsize5_only_INTRA_complex_NegativePairs_20240326.csv.gz
|
| 87 |
|
| 88 |
-
This is the feature matrix for the test set of interactions.
|
|
|
|
| 89 |
|
| 90 |
|-- **train**
|
| 91 |
|
| 92 |
|-- train_FeatureMatrix_pdbsize3_20240326.csv.gz
|
| 93 |
|
| 94 |
This is the feature matrix for the training set of interactions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
|
| 96 |
## Associated code
|
| 97 |
Additional code examples can be found on our [GitHub](https://github.com/KDrewLab/DirectContacts2_analysis.git), including:
|
|
@@ -119,7 +125,7 @@ The [DirectContacts2 model](https://huggingface.co/DrewLab/DirectContacts2_AutoG
|
|
| 119 |
|
| 120 |
>>> from huggingface_hub import snapshot_download
|
| 121 |
|
| 122 |
-
>>> model_dir = snapshot_download(repo_id="
|
| 123 |
|
| 124 |
>>> predictor = TabularPredictor.load(f"{model_dir}/DirectContacts2_Autogluon_Model")
|
| 125 |
|
|
@@ -134,7 +140,7 @@ This can be done from the command-line using:
|
|
| 134 |
When loading into Python use the following:
|
| 135 |
|
| 136 |
>>> from datasets import load_dataset
|
| 137 |
-
>>> dataset = load_dataset('
|
| 138 |
|
| 139 |
Training and test feature matrices can then be accessed as separate objects:
|
| 140 |
|
|
@@ -143,18 +149,16 @@ Training and test feature matrices can then be accessed as separate objects:
|
|
| 143 |
|
| 144 |
Jupyter notebooks containing more in-depth examples of model training, testing, and generating predictions can be found on our [GitHub](https://github.com/KDrewLab/DirectContacts2_analysis/tree/main)
|
| 145 |
|
| 146 |
-
## Accessing full feature matrix
|
| 147 |
All other files, such as the full feature matrix, can be accessed via Huggingface_hub.
|
| 148 |
|
| 149 |
>>> from huggingface_hub import hf_hub_download
|
| 150 |
-
>>> full_file = hf_hub_download(repo_id="
|
| 151 |
|
| 152 |
This just provides the file for download. Depending on your workflow, if you wish to use as a pandas dataframe for example:
|
| 153 |
|
| 154 |
>>> import pandas as pd
|
| 155 |
>>> full_featmat = pd.read_csv(full_file, compression="gzip")
|
| 156 |
|
| 157 |
-
|
| 158 |
-
|
| 159 |
## Dataset card authors
|
| 160 |
Samantha Fischer (sfisch6@uic.edu)
|
|
|
|
| 85 |
|
| 86 |
|-- test_FeatureMatrix_pdbsize5_only_INTRA_complex_NegativePairs_20240326.csv.gz
|
| 87 |
|
| 88 |
+
This is the feature matrix for the test set of interactions. This feature matrix only contains
|
| 89 |
+
intra-complex negative protein pairs.
|
| 90 |
|
| 91 |
|-- **train**
|
| 92 |
|
| 93 |
|-- train_FeatureMatrix_pdbsize3_20240326.csv.gz
|
| 94 |
|
| 95 |
This is the feature matrix for the training set of interactions.
|
| 96 |
+
|
| 97 |
+
|-- **alternative_test_feature_matrix**
|
| 98 |
+
|-- DirectContacts2_test_feature_matrix_inter_and_intra_negatives_20260624.csv.gz
|
| 99 |
+
|
| 100 |
+
This is the feature matrix for the test set that contains intra- and inter-complex negative protein pairs.
|
| 101 |
|
| 102 |
## Associated code
|
| 103 |
Additional code examples can be found on our [GitHub](https://github.com/KDrewLab/DirectContacts2_analysis.git), including:
|
|
|
|
| 125 |
|
| 126 |
>>> from huggingface_hub import snapshot_download
|
| 127 |
|
| 128 |
+
>>> model_dir = snapshot_download(repo_id="DrewLab/DirectContacts2_AutoGluon")
|
| 129 |
|
| 130 |
>>> predictor = TabularPredictor.load(f"{model_dir}/DirectContacts2_Autogluon_Model")
|
| 131 |
|
|
|
|
| 140 |
When loading into Python use the following:
|
| 141 |
|
| 142 |
>>> from datasets import load_dataset
|
| 143 |
+
>>> dataset = load_dataset('DrewLab/DirectContacts2')
|
| 144 |
|
| 145 |
Training and test feature matrices can then be accessed as separate objects:
|
| 146 |
|
|
|
|
| 149 |
|
| 150 |
Jupyter notebooks containing more in-depth examples of model training, testing, and generating predictions can be found on our [GitHub](https://github.com/KDrewLab/DirectContacts2_analysis/tree/main)
|
| 151 |
|
| 152 |
+
## Accessing full feature matrix, all test/train interaction/complex files, and the alternative test feature matrix
|
| 153 |
All other files, such as the full feature matrix, can be accessed via Huggingface_hub.
|
| 154 |
|
| 155 |
>>> from huggingface_hub import hf_hub_download
|
| 156 |
+
>>> full_file = hf_hub_download(repo_id="DrewLab/DirectContacts2", filename='full/humap3_full_feature_matrix_20220625.csv.gz', repo_type='dataset')
|
| 157 |
|
| 158 |
This just provides the file for download. Depending on your workflow, if you wish to use as a pandas dataframe for example:
|
| 159 |
|
| 160 |
>>> import pandas as pd
|
| 161 |
>>> full_featmat = pd.read_csv(full_file, compression="gzip")
|
| 162 |
|
|
|
|
|
|
|
| 163 |
## Dataset card authors
|
| 164 |
Samantha Fischer (sfisch6@uic.edu)
|