This is the Knowledge Engine for Genomics (KnowEnG), an NIH BD2K Center of Excellence, Data Cleanup Pipeline.
This pipeline cleanup the data of a given spreadsheet. Given a spreadsheet this pipeline maps gene-label row names to Ensemble-label row names and checks data formats. It will go through the following steps
After removing empty rows and columns, check if a spreadsheet:
After removing empty rows and columns, check if a spreadsheet:
If the user provides with the phenotype data: After removing empty rows and columns, check if a phenotypic spreadsheet:
If the user provides with the network data:
After removing empty rows and columns, check if a spreadsheet:
After removing empty rows and columns, check if a phenotypic spreadsheet:
After removing empty rows and columns, check if a spreadsheet:
After removing empty rows and columns, check if a spreadsheet:
If the user provides with the phenotype data: After removing empty rows and columns, check if a phenotypic spreadsheet:
After removing empty rows and columns, check if a spreadsheet:
After removing empty rows and columns, check if a signature data:
If the user provides with the network data, check if a network:
After removing empty rows and columns, check if a spreadsheet:
After removing empty rows and columns, check if a phenotypic spreadsheet:
After removing empty rows and columns, check if a spreadsheet:
After removing empty rows and columns, check if a phenotypic spreadsheet:
docker pull knowengdev/data_cleanup_pipeline: 07_26_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/data_cleanup_pipeline: 07_26_2017
At the docker image command prompt change to the test directory. =========== .../home# cd test
Set up the environment. ============= .../home/test# make env_setup
Use one of the following "make" commands to select and run a data cleanup pipeline =============
| Command | Option |
|---|---|
| make run_data_cleaning | example test |
| make run_samples_clustering_pipeline | samples clustering test |
| make run_gene_prioritization_pipeline_pearson | pearson correlation test |
| make run_gene_prioritization_pipeline_t_test | t-test correlation test |
| make run_geneset_characterization_pipeline | geneset characterization test |
| make run_pasted_gene_list | pasted gene list test |
Follow steps 1-4 above then do the following:
mkdir run_directory
cd run_directory
mkdir results_directory
Look for examples of run_parameters in ./Data_Cleanup_Pipeline/data/run_files/TEMPLATE_data_cleanup.yml
set the spreadsheet, and drug_response (phenotype data) file names to point to your data
export PYTHONPATH='../src':$PYTHONPATH
python3 ../src/data_cleanup.py -run_directory ./ -run_file TEMPLATE_data_cleanup.yml
| Key | Value | Comments |
|---|---|---|
| pipeline_type | gene_priorization_pipeline, samples_clustering_pipeline, geneset_characterization_pipeline | Choose pipeline cleaning type |
| spreadsheet_name_full_path | directory+spreadsheet_name | Path and file name of user supplied gene sets |
| phenotype_full_path | directory+phenotype_data_name | Path and file name of user supplied phenotype data |
| gg_network_name_full_path | directory+gg_network_name | Path and file name of user supplied gene-gene network data |
| results_directory | directory | Directory to save the output files |
| redis_credential | host, password and port | Credentials to access gene names lookup |
| taxonid | 9606 | Taxon of the genes |
| source_hint | ' ' | Hint for lookup ensembl names |
| correlation_measure | t_test/pearson | Correlation measure to run gene_prioritization_pipeline |
spreadsheet_name_full_path = TEST_1_gene_expression.tsv phenotype_full_path = TEST_1_phenotype.tsv
input_file_name_ETL.tsv. Input file after Extract Transform Load (cleaning)
input_file_name_MAP.tsv.
| (translated gene) | (input gene name) |
|---|---|
| ENS00000012345 | abc_def_er |
| ... | ... |
| ENS00000054321 | def_org_ifi |
input_file_name_UNMAPPED.tsv.
| (input gene name) | (unmapped-none) |
|---|---|
| abcd_iffe | unmapped-none |
| ... | ... |
| abdcefg_hijk | unmapped-none |
Content type
Image
Digest
Size
411.8 MB
Last updated
about 7 years ago
docker pull knowengdev/data_cleanup_pipeline:09_21_2019