how_to_run_pure_gblup
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
how_to_run_pure_gblup [2019/06/07 00:30] – yutaka | how_to_run_pure_gblup [2019/06/07 01:34] – yutaka | ||
---|---|---|---|
Line 15: | Line 15: | ||
$$ | $$ | ||
- | where $\mathbf{y}$ is a vector of observations, | + | where $\mathbf{y}$ is a vector of observations, $\mathbf{X}$ is a design matrix relating the fixed effects to the observations (typically $\mathbf{1}$), $\mathbf{b}$ is a vector of fixed effects (typically a single $\mu$), $\mathbf{u}$ is a vector of additive genetic effects, $\mathbf{e}$ is a vector of residual effects. We assume $\mathrm{var}(\mathbf{y})=\mathrm{var}(\mathbf{u})+\mathrm{var}(\mathbf{e})=\mathbf{G}\sigma_{u}^{2}+\mathbf{R}\sigma_{e}^{2}$ where $\mathbf{G}$ is the genomic relationship matrix, $\mathbf{R}$ is a diagonal matrix (typically $\mathbf{I}$), |
$$ | $$ | ||
Line 38: | Line 38: | ||
\right] | \right] | ||
$$ | $$ | ||
- | Note that $\mathbf{R}^{-1}=\mathbf{I}/ | + | Note that $\mathbf{R}^{-1}=\mathbf{I}/ |
===== A way to build MME in blupf90 ===== | ===== A way to build MME in blupf90 ===== | ||
Line 44: | Line 44: | ||
The blupf90 program is designed to solve the animal model that has the inverse of the numerator relationship matrix ($\mathbf{A}^{-1}$). Also, this program is extended to perform the single-step GBLUP analysis including the inverse of a subset pedigree matrix for genotyped animals ($\mathbf{A}_{22}^{-1}$) as well as $\mathbf{G}^{-1}$. | The blupf90 program is designed to solve the animal model that has the inverse of the numerator relationship matrix ($\mathbf{A}^{-1}$). Also, this program is extended to perform the single-step GBLUP analysis including the inverse of a subset pedigree matrix for genotyped animals ($\mathbf{A}_{22}^{-1}$) as well as $\mathbf{G}^{-1}$. | ||
- | Regardless of the above GBLUP model, the program literally creates the following MME. | + | Regardless of whether you need the pedigree relationships, the program literally creates the following MME. |
$$ | $$ | ||
Line 69: | Line 69: | ||
When all animals are genotyped, you will see $\mathbf{A}^{-1}=\mathbf{A}_{22}^{-1}$, | When all animals are genotyped, you will see $\mathbf{A}^{-1}=\mathbf{A}_{22}^{-1}$, | ||
- | One restriction to run GBLUP in blupf90 is that this program always requires the pedigree file to create $\mathbf{G}^{-1}$ even though the pedigree information is not used. Also, the program literally calculates $\mathbf{A}^{-1}$ and $\mathbf{A}_{22}^{-1}$, | + | One restriction to run GBLUP in blupf90 is that this program always requires the pedigree file to create $\mathbf{G}^{-1}$ even though the pedigree information is not used. Also, the program literally calculates $\mathbf{A}^{-1}$ and $\mathbf{A}_{22}^{-1}$, |
==== Procedure to run GBLUP ==== | ==== Procedure to run GBLUP ==== | ||
Line 97: | Line 97: | ||
The parameter file for renumf90 is as follows. | The parameter file for renumf90 is as follows. | ||
- | It has three OPTIONs that changes | + | It has three OPTIONs that change |
<file text renum.txt> | <file text renum.txt> | ||
Line 127: | Line 127: | ||
First of all, you do not provide any pedigree file in this parameter file. | First of all, you do not provide any pedigree file in this parameter file. | ||
The renumf90 program creates a dummy pedigree file that has only animal ID but no parent ID. | The renumf90 program creates a dummy pedigree file that has only animal ID but no parent ID. | ||
- | This dummy pedigree actually creates the pedigree relationships $\mathbf{A}^{-1}=\mathbf{I}$ and $\mathbf{A}_{22}^{-1}=\mathbf{I}$, | + | This dummy pedigree actually creates the pedigree relationships $\mathbf{A}^{-1}=\mathbf{I}$ and $\mathbf{A}_{22}^{-1}=\mathbf{I}$, |
The first two options define the blending of matrices. | The first two options define the blending of matrices. | ||
Line 145: | Line 145: | ||
We call this adjustment //tuning// to obtain the final matrix. | We call this adjustment //tuning// to obtain the final matrix. | ||
$$ | $$ | ||
- | \mathbf{G}_{\mathrm{final}} | + | \mathbf{G}_{\mathrm{final}} |
$$ | $$ | ||
- | The constants $a$ and $b$ are tuning parameters. It is critical for genomic prediction when the genotyped animals are form only the last generation but you have the historical pedigree (i.e. incompatible $\mathbf{G}$ and $\mathbf{A}_{22}$). | + | The constants $a$ and $b$ are tuning parameters. It is critical for genomic prediction when the genotyped animals are from only the last generation but you have the historical pedigree (i.e. incompatible $\mathbf{G}$ and $\mathbf{A}_{22}$). |
Using the dummy pedigree, this tuning is nonsense, and therefore, you should turn it off by the option. | Using the dummy pedigree, this tuning is nonsense, and therefore, you should turn it off by the option. | ||
Line 155: | Line 155: | ||
You don't have to use any other options to run GBLUP. | You don't have to use any other options to run GBLUP. | ||
- | If you have more complicated situations, it might be reasonable to use [[http:// | + | If you have more complicated situations, it might be reasonable to use [[http:// |
how_to_run_pure_gblup.txt · Last modified: 2024/03/25 18:22 by 127.0.0.1