Creating a Kinship Matrix Using MSA


Published on

Published in: Technology, Business
1 Comment
  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Creating a Kinship Matrix Using MSA

  1. 1. Creating a Kinship Matrix using Microsatellite Analyzer (MSA) Zhifen Zhang The Ohio State University
  2. 2. Why create a kinship matrix?• Visualize family relatedness• Use in association mappingThe Objective of this Tutorial:To introduce one approach to generate a kinship matrixfor a population
  3. 3. Background Types of Populations for Association Mapping (Yu, et al. 2006):Population Type Pros Cons“Ideal population” Minimal population Difficult to collect, structure and familial small size relatedness Narrow genetic basis Gives the greatest statistical powerFamily-based population Minimal population Limited sample size and structure allelic diversityPopulation with Larger size and broader False positives or loss inpopulation structure allelic diversity power due to familial relatedness.Population with familial Larger size and broader Inadequate control forrelationships within allelic diversity false positives due tostructured population population structure The highlighted population needs a kinship matrix for analysis.
  4. 4. Scheme of Mapping GermplasmPhenotyping (Y) Genotyping Genome-wide scan Background markers Genome-wide Population structure polymorphisms (G) (Q), kinship (K)Association analysis (General Mixed Model): Y=G+Q+K+e Zhu et al. 2006
  5. 5. Coefficient of KinshipCoefficient of kinship is used to measure relatednessDEFINITION: Coefficient of kinship is the probability that the alleles of a particular locus chosen randomly from two individuals are identical by descent (Lange, 2002)* Identical by descent: the identical alleles from twoindividuals arise from the same allele in an earliergeneration
  6. 6. Kinship Matrix CalculationThe kinship coefficient is the probability that an allele (a) takenrandomly from population i (at a given locus) will be identical bydescent to an allele taken randomly from population j at the samelocusKf= ∑k∑a (fai * faj)/DWhere ∑k∑a (fai * faj)/D is the sum of all loci and all alleles;fai is the frequency of allele a in population i, faj is the frequency of allele a inpopulation j, D is the number of loci. Cavalli-Sforza and Bodmer, 1971. MSA manual page 23
  7. 7. An ExamplePopulation Locus A Locus B Locus C611R2 A b c A b c611R3 A B c A B cCoefficient of kinship for populations 611R2 and 611R3:Kf= ∑k∑a (fai * faj)/D = (1x1+1x0 + 0x1+1x1)/3=2/3The frequencies of alleles A and c in populations 611R2 and 611R3 are 1; thefrequency of allele b in population 611R2 is 1 and 0 while in population 611R3 is 0
  8. 8. Kinship MatrixIn the unified mixed model (Yu et al. 2006),marker-based kinship coefficient matrices are includedA marker-based kinship coefficient matrix can begenerated using Microsatellite Analyzer (MSA)
  9. 9. Pipeline for Matrix Generation Genotyping with Data Entry to Create a Markers Spreadsheet Arrange Data in a Format Recognized by MSAImport the .dat Run the KinshipFile into MSA Coefficient Analysis
  10. 10. A Case StudyBacterial spot data provided by Dr. David Francis, The Ohio State University
  11. 11. Data PreparationFor genotyping, molecular markers can be: Microsatellite (Simple Sequence Repeat, SSR) SNP (Single Nucleotide Polymorphism) RFLP (Restriction Fragment Length Polymorphism) AFLP (Amplified Fragment Length Polymorphism) Other sequencing markersMSA was designed for SSR analysisFor other marker types, a value is designated for each allele, e.g. For SNPs, A can be 11, C can be 12, G can be 13, and T can be 14.
  12. 12. Data EntryAfter genotyping, a spreadsheet of genotypic data can be generated as shown below. MarkerPopulation Genotype ScoreGenotype Score: 0 is homozygous for allele a, 1 is homozygous for allele b, 2 isheterozygous.
  13. 13. Data FormattingPopulation # Give a new value to each allele Mating scheme for each marker Group name: default “1” These 3 cells should be empty. Row 1 can be left empty except for columns a, b, and c, which have to be filled. In cell A1, enter ‘1’. Row 2 is marker name. Genotype data start in row 3.
  14. 14. Data FormattingTwo-row entry for each individual (we are treating individuals aspopulations) to specify heterozygotes and homozygotes Homozygotes have the Heterozygotes have same value in both different values in each rows. row.
  15. 15. After FormattingSave the file in a “Tab Delimited” text format, change the extensionname “.txt” into “.dat”.
  16. 16. MSA (Microsatellite Analyzer) is available for free,provided by Daniel Dieringer.
  17. 17. MSA is compatible with different operation systems Choose the operating system you use and install it as other software
  18. 18. Install MSAFor Mac, a folder for MSA will be formed after you extract thedownloaded file
  19. 19. Use MSA Manual for MSA is available in the folderSample data isavailable
  20. 20. Use MSA Menu of CommandsEnter command “i” to import file
  21. 21. Use MSAImport your data file to MSA by dragging it to the MSA window
  22. 22. Use MSAAfter the data file is imported, Enter command “d” to access submenu of “Distance setting”
  23. 23. Use MSAEnter “4” to turn on kinship coefficientmodule.
  24. 24. Use MSAEach line will be treated as a population in this study Input command “c” to turn on “Pair-wise populations distances calc”
  25. 25. Use MSA NOTE: Dkf in the matrix will be 1-kf in default.After everything is set, input “!” command torun the analysis.
  26. 26. Use MSAAfter the analysis, a folder of results will be createdautomatically in the same folder as your data file
  27. 27. Use MSAThe kinship matrix is in the folder of “Distance _data”
  28. 28. Use MSAThe Kinship matrix is saved as a file named “KSC_Pop.txt”Open the file with Excel to read the the matrix
  29. 29. Number ofindividuals Kinship Matrix The population (line) code
  30. 30. Number ofindividuals Kinship Matrix The population (line) code Please remember that the value in the matrix is “1-kinship coefficient”.
  31. 31. Final MatrixUse “1-X” (X is the value of each cell in the matrix) to generate a newmatrix that will be the kinship matrix in Excel.
  32. 32. The Mixed ModelPhenotype Marker Residual orscore effect Error Y= αX+ γM+ βQ + υK + e Population Fixed Effect structure rather than markers Yu et al. 2006
  33. 33. References Cited & External LinkReferences Cited• Cavalli-Sforza, L. L., and W. F. Bodmer. 1971. The genetics of human populations, W.H. Freeman and Company, NY.• Lange, K. 2002. Mathematical and statistical methods for genetic analysis, 2nd edition. Springer-Verlag, NY.• Yu, J. G. Pressoir, W. H. Briggs, I. V. Bi, M. Yamasaki, J. F. Doebley, M. D. McMullen, B. S. Gaut, D. M. Nielsen, J. B. Holland, S. Kresovich, and E. S. Buckler. 2006. A unified mixed-model method for association mapping that accounts for multiple levels of relatedness. Nature Genetics 38: 203-208. (Available online at: (verified 8 July 2011).• Zhu, C. M. Gore, E. S. Buckler, and J. Yu. 2008. Status and prospects of association mapping in plants. The Plant Genome 1: 5-20. (Available online at: (verified 8 July 2011).External Link• Dieringer, D. Microsatellite analyzer (MSA) [Online]. Available at: (verified 8 July 2011).