TASSEL Read GWAS GLM PCA GWAS MLM - Cornell...

19
Overview Download TASSEL Read in data GWAS using GLM Calculate kinship matrix and conduct PCA GWAS using MLM Visualize LD Cladogram 1

Transcript of TASSEL Read GWAS GLM PCA GWAS MLM - Cornell...

Page 1: TASSEL Read GWAS GLM PCA GWAS MLM - Cornell ...cbsu.tc.cornell.edu/lab/doc/Lipka_A_GBS_Tutorial...Overview • Download TASSEL • Read in data • GWAS using GLM • Calculate kinship

Overview

• Download TASSEL• Read in data• GWAS using GLM• Calculate kinship matrix and conduct PCA• GWAS using MLM• Visualize LD• Cladogram 

1

Page 2: TASSEL Read GWAS GLM PCA GWAS MLM - Cornell ...cbsu.tc.cornell.edu/lab/doc/Lipka_A_GBS_Tutorial...Overview • Download TASSEL • Read in data • GWAS using GLM • Calculate kinship

Download TASSEL

2

www.maizegenetics.net/tassel

Page 3: TASSEL Read GWAS GLM PCA GWAS MLM - Cornell ...cbsu.tc.cornell.edu/lab/doc/Lipka_A_GBS_Tutorial...Overview • Download TASSEL • Read in data • GWAS using GLM • Calculate kinship

Reading in data

3

Data > Load > I will make my best guess and try

Page 4: TASSEL Read GWAS GLM PCA GWAS MLM - Cornell ...cbsu.tc.cornell.edu/lab/doc/Lipka_A_GBS_Tutorial...Overview • Download TASSEL • Read in data • GWAS using GLM • Calculate kinship

Fit a generalized linear model (GLM)

4

Select “mdp_traits” and “data_hapmap”, and join them together

Page 5: TASSEL Read GWAS GLM PCA GWAS MLM - Cornell ...cbsu.tc.cornell.edu/lab/doc/Lipka_A_GBS_Tutorial...Overview • Download TASSEL • Read in data • GWAS using GLM • Calculate kinship

Fit a generalized linear model (GLM)

5

Select “mdp_traits+data_hapmap”, then Analysis > GLM > OK

Page 6: TASSEL Read GWAS GLM PCA GWAS MLM - Cornell ...cbsu.tc.cornell.edu/lab/doc/Lipka_A_GBS_Tutorial...Overview • Download TASSEL • Read in data • GWAS using GLM • Calculate kinship

Make a Manhattan and QQ‐Plot

6

Select GLM model results, then Results > Manhattan Plot/QQ Plot

Page 7: TASSEL Read GWAS GLM PCA GWAS MLM - Cornell ...cbsu.tc.cornell.edu/lab/doc/Lipka_A_GBS_Tutorial...Overview • Download TASSEL • Read in data • GWAS using GLM • Calculate kinship

Calculate a kinship matrix

7

Select “data_hapmap”, then Analysis > Kinship > Run

Page 8: TASSEL Read GWAS GLM PCA GWAS MLM - Cornell ...cbsu.tc.cornell.edu/lab/doc/Lipka_A_GBS_Tutorial...Overview • Download TASSEL • Read in data • GWAS using GLM • Calculate kinship

Run PCA

8

Select “data_hapmap”, then Data > Transform > Create Dataset

Page 9: TASSEL Read GWAS GLM PCA GWAS MLM - Cornell ...cbsu.tc.cornell.edu/lab/doc/Lipka_A_GBS_Tutorial...Overview • Download TASSEL • Read in data • GWAS using GLM • Calculate kinship

Run PCA

9

Select “data_hapmap_Collapsed”, then Data > Transform > Impute> Create Dataset

Page 10: TASSEL Read GWAS GLM PCA GWAS MLM - Cornell ...cbsu.tc.cornell.edu/lab/doc/Lipka_A_GBS_Tutorial...Overview • Download TASSEL • Read in data • GWAS using GLM • Calculate kinship

Run PCA

10

Select “data_hapmap_Collapsed_3093_imputed”, then Data > Transform > PCA > Create Dataset

Page 11: TASSEL Read GWAS GLM PCA GWAS MLM - Cornell ...cbsu.tc.cornell.edu/lab/doc/Lipka_A_GBS_Tutorial...Overview • Download TASSEL • Read in data • GWAS using GLM • Calculate kinship

Run MLM

11

Select “mdp_population_structure”, then Data > Traits > Deselect Q3 > OK

Page 12: TASSEL Read GWAS GLM PCA GWAS MLM - Cornell ...cbsu.tc.cornell.edu/lab/doc/Lipka_A_GBS_Tutorial...Overview • Download TASSEL • Read in data • GWAS using GLM • Calculate kinship

Run MLM

12

Join “mdp_traits”, “data_hapmap”, and “Filtered_population_structure”Select merged file and “kin_data_hapmap”, then Analysis > MLM > Run

Page 13: TASSEL Read GWAS GLM PCA GWAS MLM - Cornell ...cbsu.tc.cornell.edu/lab/doc/Lipka_A_GBS_Tutorial...Overview • Download TASSEL • Read in data • GWAS using GLM • Calculate kinship

QQ and Manhattan Plot from MLM

13

Page 14: TASSEL Read GWAS GLM PCA GWAS MLM - Cornell ...cbsu.tc.cornell.edu/lab/doc/Lipka_A_GBS_Tutorial...Overview • Download TASSEL • Read in data • GWAS using GLM • Calculate kinship

Investigate LD on Chromosome 1

14

Select “data_hapmap”, then Data > Sites > Select Chromosomes

Page 15: TASSEL Read GWAS GLM PCA GWAS MLM - Cornell ...cbsu.tc.cornell.edu/lab/doc/Lipka_A_GBS_Tutorial...Overview • Download TASSEL • Read in data • GWAS using GLM • Calculate kinship

Make an LD  Plot

15

Select the Chr1 filtered data, then Analysis > Link. Diseq. > Run

Page 16: TASSEL Read GWAS GLM PCA GWAS MLM - Cornell ...cbsu.tc.cornell.edu/lab/doc/Lipka_A_GBS_Tutorial...Overview • Download TASSEL • Read in data • GWAS using GLM • Calculate kinship

Make an LD Plot

16

Select the LD data, then Results > LD Plot

Page 17: TASSEL Read GWAS GLM PCA GWAS MLM - Cornell ...cbsu.tc.cornell.edu/lab/doc/Lipka_A_GBS_Tutorial...Overview • Download TASSEL • Read in data • GWAS using GLM • Calculate kinship

Make a Cladogram

17

Select the Chr1 filtered data, then Analysis > Cladogram > Run

Page 18: TASSEL Read GWAS GLM PCA GWAS MLM - Cornell ...cbsu.tc.cornell.edu/lab/doc/Lipka_A_GBS_Tutorial...Overview • Download TASSEL • Read in data • GWAS using GLM • Calculate kinship

18

Make a CladogramSelect the Tree data, then Results > Tree Plot

Page 19: TASSEL Read GWAS GLM PCA GWAS MLM - Cornell ...cbsu.tc.cornell.edu/lab/doc/Lipka_A_GBS_Tutorial...Overview • Download TASSEL • Read in data • GWAS using GLM • Calculate kinship

Questions?

• Requests for other analyses in TASSEL?

19