https://github.com/bhklab/pgx_guidelines
Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
✓DOI references
Found 4 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.8%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: bhklab
- Language: Jupyter Notebook
- Default Branch: master
- Size: 1.01 MB
Statistics
- Stars: 10
- Watchers: 6
- Forks: 4
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Drug Sensitivity Prediction From Cell Line-Based Pharmacogenomics Data: Guidelines for Developing Machine Learning Models

Table of contents
Installation
Requirements
- Python 3
- Conda
To get the source files of PGx Guidelines you need to clone into its repository:
git clone https://github.com/bhklab/PGx_Guidelines
Conda environment
All the required packages to run PGx Guidelines experiments are specified in environment subdirectory.
To install these packages run the following command:
conda env create -f PGx.yml
This command installs PGxG environment.
After the successful installation of the packages into environmet you would be able to load them using conda activate.
Datasets
Download datasets
All of the utilized datasets for PGx Guidelines experiments are publicly available in the PSet format via ORCESTRA platform:
https://www.orcestra.ca/pset/stats
Preprocess and load datasets
After downloading PSet objects, the molecular and pharmacological data can be extracted via R using codes provided in Preprocess data subdirectory.
To load all datasets and Area above dose-response curve (AAC) data, run LoadAllPSets.R.
To load log transformed and truncated IC50 values, run IC50Loading_logtruncated.R.
tissueType_encoding.csv file is one-hot coding of tissue types which is added to molecular profiles to adjust for tissue type.
Running R scripts generates the final datasets in .tsv format. Add them to a new subdirectory Data_All:
mkdir Data_All
By creating this subdirectory and adding all the data files to it, you will be able to re-run PGx Guidelines experiments.
Alternatively, we have also provided these preprocessed files on Zenodo.
Experiments
Run univariable analysis
Each Rscript includes code to load required libraries and datasets.
Simply run the following for:
- all [solid and non-solid] tissues:
Rscript biomarker_analysis_alltissues.R "$@"
after excluding non-solid tissues:
Rscript biomarker_analysis_solidonly.R "$@"after excluding non-solid tissues and log transformed IC50 values:
Rscript biomarker_analysis_log.R "$@"after excluding non-solid tissues and truncated
Rscript biomarker_analysis_truncated.R "$@"after excluding non-solid tissues, truncated, and log transformed IC50 values:
Rscript biomarker_analysis_truncated_log.R "$@"Within-domain
For this analysis, we have provided the
Pythonscripts as follows:Ridge Regression:
Within-Ridge-aac.pyandWithin-Ridge-ic50.py``` sbatch ridge-wjob-aac.bs sbatch ridge-wjob-ic50.bs
- Elastic Net: `Within-EN-aac.py` and `Within-EN-ic50.py`:
sbatch en-wjob-aac.bs
sbatch en-wjob-ic50.bs
- Random Forest: `Within-RF-aac.py` and `Within-RF-ic50.py`.
sbatch rf-wjob-aac.bs
sbatch rf-wjob-ic50.bs
```
Cross-domain
For this analysis, we have provided the Jupyter notebooks to run Ridge Regression (Ridge.ipynb), Elastic Net (ElasticNet.ipynb), and Random Forest (RandomForest.ipynb). For Deep Neural Networks experiments, we have provided python scripts in DNN subdirectory to run them. First you should create directories to store logs, models, and results. You should also add your local path to these directories to PGxGRun.bs:
mkdir logs
mkdir models
mkdir results
sbatch PGxGRun.bs
We have also provided randomly generated hyperparameter settings in filelistF10Uniquev1.
We have provided the model objects for the best settings of DNN experiments on Zenodo.
CTRPv2 vs. GDSCv1
For this analysis, we have provided the Jupyter notebook GDSCv1.ipynb.
Impact of non-solid cell lines
For this analysis, we have provided the Jupyter notebook SolidandnonSolid.ipynb. For running the random subset experiment, run SNRidge-aac.py script.
python SNRidge-aac.py
Citation
``` author = {Sharifi-Noghabi, Hossein and Jahangiri-Tazehkand, Soheil and Smirnov, Petr and Hon, Casey and Mammoliti, Anthony and Nair, Sisira Kadambat and Mer, Arvind Singh and Ester, Martin and Haibe-Kains, Benjamin}, title = "{Drug sensitivity prediction from cell line-based pharmacogenomics data: guidelines for developing machine learning models}", journal = {Briefings in Bioinformatics}, year = {2021}, month = {08}, issn = {1477-4054}, doi = {10.1093/bib/bbab294}, url = {https://doi.org/10.1093/bib/bbab294}, note = {bbab294}, eprint = {https://academic.oup.com/bib/advance-article-pdf/doi/10.1093/bib/bbab294/39679532/bbab294.pdf}, }
```
Owner
- Name: BHKLAB
- Login: bhklab
- Kind: organization
- Location: Toronto, Ontario, Canada
- Website: http://www.pmgenomics.ca/bhklab/
- Repositories: 168
- Profile: https://github.com/bhklab
The Haibe-Kains Laboratory @ Princess Margaret Cancer Centre
GitHub Events
Total
- Fork event: 1
Last Year
- Fork event: 1
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Hossein Sharifi-Noghabi | h****0@g****m | 18 |
| Soheil Jahangiri Tazehkand | 3****j | 13 |
| Casey Hon | 5****y | 3 |
| Petr Smirnov | p****0@g****m | 1 |
| Benjamin Haibe-Kains | b****a@g****m | 1 |
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 0
- Total pull requests: 2
- Average time to close issues: N/A
- Average time to close pull requests: 7 minutes
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- hosseinshn (2)