https://github.com/superDross/TAAD_analysis
Raw File
Tip revision: 7624ec6120794a93bd9b2a59455d6e3660b50af5 authored by david on 09 April 2018, 08:44:25 UTC
Hyperlinked the published article in the README file
Tip revision: 7624ec6
README.md
# TAAD_analysis
Code for the *Genetics in Medicine* article entitled *[Targeted genetic analysis in a large cohort of familial and sporadic cases of aneurysm or dissection of the thoracic aorta](https://www.nature.com/articles/gim201827)*  to define the frequency of causative genetic variants and phenotypic risk factors associated with a genetic aetiology of thoracic aortic aneurysm/dissection (TAAD).

## Getting Started
```bash
git clone https://github.com/superDross/TAAD_analysis
pip3 install -r TAAD_analysis/requirements.txt
PYTHONPATH=$PYTHONPATH:/full/path/to/TAAD_analysis
# ensure input_files and output directories exist before execution
python3 TAAD_analysis
```

## Input Files
An ```input_files``` directory should exist within the ```TAAD_analysis``` directory and contain the most damaging data (most damaging variant per patient) and all variants data (all variants identified in each patient). The structure of the ```input files``` directory should be as below:
```
input_files/
│   
├── UK_Depth/
│   ├── depth_vs_taadx/
│   └── depth_vs_taadz/
├── Yale_Depth/
│   ├── depth_vs_taadx/
│   └── depth_vs_taadz/
│   
├── UK_All_Variants_Data.csv
├── UK_Most_Damaging_Data.csv
├── UK_Phenotype_Data.csv
├── Yale_All_Variants_Data.csv
├── Yale_Most_Damaging_Data.csv
├── Yale_Phenotype_Data.csv
└── Yale_Survival_Data_Clean.csv
```

## Data Cleaning
The most damaging data is cleaned and combined and ultimately used to produce all the plots, tables and most of the data mentioned in the paper. The all variants data primary use is for helping to select the next most damaging variant. Each major step in the most damaging data cleaning process, and the sub-package (if any) used to achieve said step, are detailed below:
![](docs/data_cleaning.png?raw=true)
back to top