Documentation
A brief guide on this workflow, including details on its download, configuration and execution.
This workflow includes a number of tools and processing steps intended to help researchers rapidly identify variation of medical interest.
This project aims to establish a stable platform, through which we can iteratively and incrementally develop a practical implementation for Pharmacogenetics analysis techniques. Our goal is to bring stability, traceability and predictability to the development and use of a standardized testing and reporting methods in the industry of personalized medicine.
A workflow has been chosen as the ideal medium through which to provide a standardized testing and reporting framework. The use of workflows such as Snakemake and facilities such as Git and Github, allow researchers to leverage several facilities and conventions developed within the information-technology industry within an academic context. This can bring great value in terms of giving researchers the means to perform research that is much more translational, in a format that is easily citable, within the research community and externally.
Intended Use-Cases
This workflow is intended to be used to describe population dynamics and structure, in-so-far as their potential effect on medical outcomes.
Provided you have a gene-region, this workflow is intended to be able to give you insight into the mutations found at that gene-region.
Project Structure
Since users of this workflow will need to work within the file structure in order to configure, and run this workflow, a dedicated file-structure has been employed to keep our source code neat and tidy. Below is a brief summary of the files and folders, based on the recommended Snakemake project structure detailed on the Snakemake Documentation website.
Several development-related files and folders have been excluded for practicality. These folders have all been prefaced with a period (
.
) to denote them as hidden files and folders.
├── .gitignore
├── README.md
├── LICENSE.md
├── config
│ └── manifest.json
├── input
│ ├── datasets.csv
│ ├── locations.csv
│ ├── samples.csv
│ └── transcripts.csv
├── resources
└── workflow
├── envs
│ └── pharmacogenetic-analysis-workflow.yml
├── notebooks
│ ├── 01 - Identifying clinicaly relevant variation.ipynb
│ ├── 02 - Frequency Distribution.ipynb
│ ├── 03 - Identifying known Haplotypes.ipynb
│ ├── 04 - Frequency Proportions.ipynb
│ ├── 05 - Population Structure (HWE).ipynb
│ ├── 06 - Selection Trends - Linkage Decay (Binned).ipynb
│ └── 07 - PCA.ipynb
├── rules
│ ├── checkpoint_connectors.smk
│ ├── common.smk
│ ├── import_population_structure_workflow.smk
│ └── import_vcf_validation_workflow.smk
├── scripts
| └── common
| | ├── common.py
| | ├── condel_score.py # DELETE?
| | ├── fishers_exact_test.py
| | └── variant_effect_prediction_parsers.py
| ├── collect_autosomal_hardy_weinberg.py
| ├── collect_variant_count.py
| ├── collect_variant_frequency.py
| ├── collect_variant_missingness.py
| ├── compile_variant_effects.py
| ├── consolidate_reports.py
| ├── custom_sheets_and_filters.py
| ├── format_sample_metadata.py
| └── query_variant_effects.py
| ├── report_fishers_exact_with_corrections.py
└── Snakefile