DOI: 10.5281/zenodo.13883160
title: Co-GWAS unveils the genetic architecture of inter-individual epistasis affecting biomass and disease severity in wheat binary mixtures

description: The repository contains all the data and scripts required to perform the analysis and generate the figures and tables presented in the article: "Co-GWAS unveils the genetic architecture of inter-individual epistasis affecting biomass and disease severity in wheat binary mixtures".

0. DATA

FOLDER: 0_DataThis folder contains the raw phenotypic and genotypic data.

I. FILE PREPARATION

FOLDER: 1_FilePrep_Design_FigThe R script prepares the phenotypic and genotypic data for analysis and generates the kinship matrix. It also creates a figure illustrating the pairs of phenotyped genotypes.

II. PHENOTYPIC ANALYSIS 

FOLDER: 2_GeneticEffects_PhenoCorr_ResidusThe R script tests the significance of genetic effects, calculates the proportion of phenotypic variance explained for each phenotype, and checks for correlations between phenotypes. It also controls the residuals in the models.

III. A. DGE-BASED GWAS

FOLDER: 3_DGE_GWASThis folder contains three subfolders for each phenotype (GWAS_DGE_B, GWAS_DGE_N, GWAS_DGE_P).For example, the pycnidia folder contains the script 3.A_GWAS_DGE_P_AsREML_cluster.R, which performs DGE-based GWAS for the pycnidia phenotype.

III. B. Analysis of GWAS Results for DGE

FOLDER: 3_DGE_GWASWithin the same folder, the script 3.B_Results_GWAS_DGE_P.Rmd combines the result files and produces Manhattan plots and plots of significant SNPs.

IV. A. IGE-BASED GWAS

FOLDER: 4_IGE_GWASThis folder contains three subfolders for each phenotype (GWAS_IGE_B, GWAS_IGE_N, GWAS_IGE_P).For example, the pycnidia folder contains the script 4.A_GWAS_IGE_P_AsREML_cluster.R, which performs IGE-based GWAS for the pycnidia phenotype.

IV. B. Analysis of GWAS Results for IGE

FOLDER: 4_IGE_GWASWithin the same folder, the script 4.B_Results_GWAS_IGE_P.Rmd combines the result files and produces Manhattan plots and plots of significant SNPs.

V. PREPARATION OF FILES FOR CO-GWAS

FOLDER: 5_FilePrep_coGWASThe script 5.A_FilePrep_coGWAS.Rmd prepares the phenotypic and genotypic data for analysis after SNP pruning.The script 5.B_FilePrep_SNP_Pruning.R performs SNP pruning.The script 5.C_Plot_SNP_Pruning_position.R plots the positions of SNPs before and after pruning.

VI. CO-GWAS

FOLDER: 6_coGWASThis folder contains three subfolders for each phenotype (coGWAS_B, coGWAS_N, and coGWAS_P). For example, the pycnidia folder contains the script 6.A_coGWAS_DGEIGE_P_Sommer_cluster.R, which performs the co-GWAS for the pycnidia phenotype.The other scripts in this folder combine the result files.

VII. HEATMAPS AND QQPLOT OF CO-GWAS RESULTS

FOLDER: 7_Heatmaps_qqplots_coGWASThis folder contains three subfolders for each phenotype (Heatmaps_qqplots_B, Heatmaps_qqplots_N, and Heatmaps_qqplots_P).For example, the pycnidia subfolder includes two scripts: 7.A_coGWAS_P_Heatmaps.R generates heatmaps for the pycnidia phenotype and 7.B_coGWAS_P_qqplots.R produces the QQ plot.

VIII. BOXPLOTS - 3D PLOTS - PHYSICAL MAPS

FOLDER: 8_3Dplots_PhysicalMaps_Boxplots_coGWASThis folder contains three subfolders for each phenotype (Boxplots_PhysicalMaps_3Dplots_B, Boxplots_PhysicalMaps_3Dplots_N, and Boxplots_PhysicalMaps_3Dplots_P).For example, the pycnidia folder contains the script 8_coGWAS_P_Boxplots_PhysicalMaps_3Dplots.R, which generates 3D plots, boxplots and physical maps for the significant interactions. 

IX. CIRCULAR PLOTS  

FOLDER: 9_CircularPlots_coGWASThis folder contains three subfolders for each phenotype (CircularPlots_B, CircularPlots_N, and CircularPlots_P).For example, the pycnidia folder contains the script 9_coGWAS_P_CircularPlot.R, which generates the necessary files to create the circular plot. The script circos.conf creates the circular plot. 

X. GO ENRICHMENT ANALYSIS 

FOLDER: 10_GOterms_coGWASThis folder contains three subfolders for each phenotype (GOenrichments_B, GOenrichments_N, and GOenrichments_P).For example, the pycnidia folder contains the script 10_coGWAS_P_GOenrichments.Rmd, which generates GO enrichment plots.