mini-pipelines for transformation of spreadsheets
788
This is the Knowledge Engine for Genomics (KnowEnG), an NIH BD2K Center of Excellence, Spreadsheets Transformation.
Parameters based spreadsheet transformations with functionality: Subset Expression Based on Phenotype, Intersection, Subset Genes, Union, Group Then Apply a Function, Transpose, Numerical Transformation and Numerical Details.
This pipeline transforms a given spreadsheet, by one of nine basic methods that one can choose from:
| Options | Method | Parameters |
|---|---|---|
| transpose | transpose | transpose |
| common samples | common samples | common samples |
| merge | merge | merge |
| select genes | select genes | select genes |
| cluster averages | cluster averages | cluster averages |
| select categorical | select categorical | select categorical |
| numerical transform | numerical transform | numerical transform |
| stat value | stat value | stat value |
| kaplan-meier | kaplan-meier | kaplan-meier |
docker pull knowengdev/spreadsheets_transformation:06_15_2018
mkdir local_results
Start docker mounted with the full path to your output directory.
===========
docker run -v /full/path/local_results:/home/test/run_dir -it knowengdev/spreadsheets_transformation:06_15_2018
At the new command prompt change to the test directory.
===========
cd test
Set up the environment.
=============
make env_setup
| Command | Option |
|---|---|
| make run_spreadsheet_transpose | Transpose |
| make run_spreadsheets_common_samples | Common samples in two spreadsheets |
| make run_spreadsheets_merge | Merge two spreadsheets with common header |
| make run_select_spreadsheet_genes | Select the genes in a spreadsheet from a list |
| make run_spreadsheet_clustering_averages | Get the averages for a labeling of samples in a spreadsheet |
| make run_spreadsheet_select_pheno_categorical | Select category of a phenotype id. in phenotype and spreadsheet |
| make run_numerical_tranform | Numerical transformation of a spreadsheet |
| make run_stat_values | Get a value statistic for a spreadsheet |
| make run_kaplan_meier | Get the Kaplan-Meier graphical analysis for a spreadsheet |
*** Perform steps 1-3 as described above and use the local_results directory ***
*** see the git hub directions *** Spreadsheet Transformations ReadMe on github
Start docker in the directory with your your_custom_run_file.yml file.
===========
docker run -v `pwd`:/home/test/run_dir -it knowengdev/spreadsheets_transformation: 06_15_2018
Change to the run directory (with your_custom_run_file.yml) and create a results directory.
===========
cd ./test/run_dir
mkdir results
Run with the options in your custom YAML file.
=========
python3 ../../src/spreadsheets_transformation_pipelines.py -run_directory ./ -run_file your_custom_run_file.yml
(without installing jupyter on your computer)
Copy and paste this line into a terminal window and hit enter.
=========
docker run -p 8888:8888 knowengdev/spreadsheets_transformation:kubetest
Start your browser and paste this line into the URL window.
=========
http://localhost:8888/
Copy the token and paste it into the login box.
=========
http://localhost:8888/tree?token=9f4c0f8741405385271fb630f661580d1af86f031c54116d
(just this part)
9f4c0f8741405385271fb630f661580d1af86f031c54116d
Content type
Image
Digest
Size
1.4 GB
Last updated
over 8 years ago
docker pull knowengdev/spreadsheets_transformation:kube_test_07_09_2018