This repository contains all code and data needed to reproduce the analyses and figures from the manuscript "Natural variation suggests candidate genes underlying Caenorhabditis elegans susceptibility to diverse toxicants"
git clone https://github.com/AndersenLab/ToxinGWAS_Manuscript.git
cd ToxinGWAS_Manuscript# Render the entire project
quarto renderThis will:
- Decompress pre-computed GWAS mapping results (~6 GB)
- Process raw data to generate all intermediate data files
- Generate all manuscript figures and tables
analysis/- Data processing and analysis scriptspaper/- Figure and table generation scripts for the manuscriptdata/raw/- Raw input datadata/processed/- Intermediate processed databin/- Utility functions and helper scripts_products/- Rendered outputs fromanalysis/andpaper/scriptsfigures/- Generated figures for the manuscripttables/- Generated tables for the manuscript
The analysis scripts in analysis/ are executed in the following order (as specified in _quarto.yml):
-
Data Processing
-
Phenotype Analysis
-
GWAS and Interval Analysis
-
Candidate Gene Analysis
-
Semantic Similarity Analysis
-
Supplementary Materials
The figure and table generation scripts in paper/ are executed after the analysis scripts, as specified in _quarto.yml. These scripts generate all figures and tables used in the manuscript.
The _products/ directory contains all rendered outputs from the analysis and paper scripts. After running quarto render, you can find:
- Processed data files in
_products/analysis/ - Manuscript figures in
_products/paper/ - Index file at
_products/index.htmlfor easy navigation of all outputs.
The GWAS mapping results (data/processed/20231116_Analysis_NemaScan/) were generated using the NemaScan pipeline and are provided pre-computed due to computational requirements.
For detailed information about how these results were generated, see the rendered documentation at _products/analysis/nemascan_pipeline_documentation.html after running quarto render, or view the source at analysis/nemascan_pipeline_documentation.qmd.