image for running feature_prioritization_pipeline, listed by creation date
494
This is the Knowledge Engine for Genomics (KnowEnG), an NIH, BD2K Center of Excellence, Feature Prioritization Pipeline.
This pipeline ranks the rows of a given spreadsheet, where spreadsheet's rows correspond to feature-labels and columns correspond to sample-labels. The ranking is based on correlating feature expression data against response data.
There are two prioritization methods, using either pearson or t-test as the measure of correlation:
| Options | Method | Parameters |
|---|---|---|
| Simple Correlation | simple correlation | correlation |
| Bootstrap Correlation | bootstrap sampling correlation | bootstrap_correlation |
Note: all of the correlation methods mentioned above use the Pearson or t-test correlation measure method.
feature_prioritization_pipeline GitHub repo
docker pull knowengdev/feature_prioritization_pipeline:10_12_2017
mkdir local_results and / or cd local_results
Start the docker image connected to the (local_results) directory. =========== docker run -v local_results:/home/test/run_dir -it knowengdev/feature_prioritization_pipeline:10_12_2017
At the docker image command prompt change to the test directory. =========== .../home# cd test
Set up the environment. ============= .../home/test# make env_setup
| Command | Option |
|---|---|
| make run_pearson | pearson correlation |
| make run_bootstrap_pearson | bootstrap sampling with pearson correlation |
| make run_t_test | t-test correlation |
| make run_bootstrap_t_test | bootstrap sampling with t-test correlation |
Follow steps 1-3 above then do the following:
mkdir run_directory
cd run_directory
mkdir results_directory
Look for examples of run_parameters in ./Feature_Prioritization_Pipeline/data/run_files/zTEMPLATE_FP_BENCHMARKS.yml
set the spreadsheet and response data file names to point to your data
export PYTHONPATH='../src':$PYTHONPATH
python3 ../src/feature_prioritization.py -run_directory ./ -run_file zTEMPLATE_FP_BENCHMARKS.yml
| Key | Value | Comments |
|---|---|---|
| method | correlation or bootstrap_correlation | Choose feature prioritization method |
| correlation_measure | pearson or t_test | Choose correlation measure method |
| spreadsheet_name_full_path | directory+spreadsheet_name | Path and file name of user supplied feature sets |
| phenotype_name_full_path | directory+response | Path and file name of user supplied response file |
| results_directory | directory | Directory to save the output files |
| number_of_bootstraps | 5 | Number of random samplings |
| cols_sampling_fraction | 0.9 | Select 90% of spreadsheet columns |
| top_beta_of_sort | 100 | Number of top features selected |
spreadsheet_name = CCLE_Expression_ensembl.df
response_name = CCLE_drug_ec50_cleaned_NAremoved_pearson.txt
visualization_score. | Response | Feature_ID | quantitative_sorting_score | visualization_score | baseline_score |
|---|---|---|---|---|
| response 1 | feature 1 | float | float | float |
| ... | ... | ... | ... | ... |
| response 1 | feature n | float | float | float |
| Ranking | response 1 | response 2 | ... | response n |
|---|---|---|---|---|
| 1 | feature (most significant) | feature (most significant) | ... | feature (most significant) |
| ... | ... | ... | ... | ... |
| n | feature (least significant) | feature (least significant) | ... | feature (least significant) |
| Features | response 1 | ... | response n |
|---|---|---|---|
| feature 1 | 1/0 | ... | 1/0 |
| ... | ... | ... | ... |
| feature n | 1/0 | ... | 1/0 |
Content type
Image
Digest
Size
702 MB
Last updated
about 7 years ago
docker pull knowengdev/feature_prioritization_pipeline:09_27_2019