Diff of /README.md [000000] .. [befbfc]

Switch to unified view

a b/README.md
1
# Synthetic Data Genomics
2
The code in this repository uses Gretel.ai's synthetic data APIs to create synthetic (artificial) versions of real world mouse genotype and connected phenotype datasets. We then measure the accuracy of our synthetic data by replicating the results of a Genome Wide Association Study (GWAS) on the real world genotypes and phenotypes for 1,220 mice from this paper: https://doi.org/10.1038/ng.3609. 
3
4
View the full case study here: https://cdn.gretel.ai/case_studies/gretel_illumina_case_study.pdf
5
6
## Installation
7
8
Requirements:
9
* Conda package manager
10
* Ubuntu 18.04 recommended
11
* NVidia T4 or faster GPU
12
* Gretel.ai API key (https://console.gretel.cloud)
13
14
15
Install the Conda package manager:
16
17
```
18
conda create --name genomics python=3.9
19
conda activate genomics
20
conda install jupyter
21
```
22
23
Note that 
24
25
## Recreate the original paper experiments
26
Follow the steps in `EXPERIMENTS.md` to download the experiment datasets and recreate the results from the paper using real world data.
27
28
## Synthesize genome and phenome data, run experiments
29
Next, create synthetic versions of the mouse phenome and genome datasets from the original experiments.
30
1. `synthetics/01_create_phenome_training_data.ipynb` creates the genome training set and filter irrelevant fields.
31
2. `synthetics/02_create_synthetic_mouse_phenomes.ipynb` trains a synthetic model on the mouse phenome set.
32
3. `synthetics/03_build_genome_training_set.ipynb` creates a genome dataset based on abBMD SNPs 
33
4. `synthetics/04_create_synthetic_mouse_genomes.ipynb` trains a synthetic model on the mouse genome set, runs GWAS analysis and compares to original results
34
5. `research_paper_code/notebooks/map_synth.ipynb` run GWAS on your final genomic results
35
36
## Additional resources
37
* `research_paper_code/notebooks/05_compare_associations.ipynb` compute precision, recall and F1 scores for the final synthetic data
38
* `synthetics/Optional_tune_synthetic_training_params` optionally use Optuna to tune synthetic training parameters.
39
* `research_paper_code/notebooks/Manhattan plot.ipynb` compute Manhattan plots for both the original and synthetic genome/phenome gwas p-values
40
41
42