-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #260 from mims-harvard/package_release
Change pinnacle and pentelute dataset names to more appropriate ones
- Loading branch information
Showing
10 changed files
with
112 additions
and
108 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
from .config import DatasetConfig | ||
from .pentelute_mdm2_ace2_12ca5_config import PenteluteProteinPeptideConfig | ||
from .brown_mdm2_ace2_12ca5_config import BrownProteinPeptideConfig |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
from .config import ResourceConfig | ||
from ..feature_generators.resource import ResourceFeatureGenerator | ||
|
||
|
||
class OpentargetsDTI(ResourceConfig): | ||
"""Configuration for opentargets drug-target-identification datasets""" | ||
|
||
def __init__(self): | ||
super(OpentargetsDTI, self).__init__( | ||
ResourceFeatureGenerator(), | ||
keys=[ | ||
"opentargets_ra_data_splits", "opentargets_ibd_data_splits", | ||
"df" | ||
], | ||
loader_functions=["split", "split", "concat"], | ||
loader_args=[{ | ||
"dataset": ("self", "opentargets_ra_drug_evidence"), | ||
"column_name": | ||
"targetId_genename", | ||
"pos_train": ("self", [ | ||
"opentargets_ra_data_splits", "splits", "pos_train_names" | ||
]), | ||
"pos_dev": | ||
None, | ||
"pos_test": | ||
("self", | ||
["opentargets_ra_data_splits", "splits", | ||
"pos_test_names"]), | ||
"neg_train": ("self", [ | ||
"opentargets_ra_data_splits", "splits", "neg_train_names" | ||
]), | ||
"neg_dev": | ||
None, | ||
"neg_test": | ||
("self", | ||
["opentargets_ra_data_splits", "splits", | ||
"neg_test_names"]), | ||
}, { | ||
"dataset": ("self", "opentargets_ibd_drug_evidence"), | ||
"column_name": | ||
"targetId_genename", | ||
"pos_train": ("self", [ | ||
"opentargets_ibd_data_splits", "splits", "pos_train_names" | ||
]), | ||
"pos_dev": | ||
None, | ||
"pos_test": ("self", [ | ||
"opentargets_ibd_data_splits", "splits", "pos_test_names" | ||
]), | ||
"neg_train": ("self", [ | ||
"opentargets_ibd_data_splits", "splits", "neg_train_names" | ||
]), | ||
"neg_dev": | ||
None, | ||
"neg_test": ("self", [ | ||
"opentargets_ibd_data_splits", "splits", "neg_test_names" | ||
]) | ||
}, { | ||
"ds_list": [ | ||
"opentargets_ibd_data_splits", "opentargets_ra_data_splits" | ||
], | ||
"axis": 0 | ||
}]) |
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
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