<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>hiblup-admin &#8211; HIBLUP</title>
	<atom:link href="https://www.hiblup.com/archives/author/hiblup-admin/feed" rel="self" type="application/rss+xml" />
	<link>https://www.hiblup.com</link>
	<description>Say &#039;Hi&#039; to BLUP</description>
	<lastBuildDate>Thu, 01 Aug 2024 08:31:48 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>

<image>
	<url>https://www.hiblup.com/wp-content/uploads/2021/09/cropped-hiblup_logo_new1-32x32.png</url>
	<title>hiblup-admin &#8211; HIBLUP</title>
	<link>https://www.hiblup.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Format conversion of genotype file</title>
		<link>https://www.hiblup.com/archives/1553?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=format-conversion-of-genotype-file</link>
		
		<dc:creator><![CDATA[hiblup-admin]]></dc:creator>
		<pubDate>Thu, 01 Aug 2024 07:59:10 +0000</pubDate>
				<category><![CDATA[未分类]]></category>
		<guid isPermaLink="false">https://www.hiblup.com/?p=1553</guid>

					<description><![CDATA[HIBLUP can help to transform the genotype in binary for&#8230;&#160;<a href="https://www.hiblup.com/archives/1553" rel="bookmark">阅读更多 &#187;<span class="screen-reader-text">Format conversion of genotype file</span></a>]]></description>
										<content:encoded><![CDATA[
<p>HIBLUP can help to transform the genotype in binary format into another type, for examples, additive coding format, dominance coding format, and the acceptable format of BLUPF90 software. If you are really struggling with transforming genotype into certain format which can not be accomplished by publicly available tools, please contact us and we are pleased to achieve it in HIBLUP.</p>



<p><strong><span class="has-inline-color has-neve-link-hover-color-color">Additive coding format</span></strong></p>



<p>Use the following commands to transform binary genotype into additive coding format:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">./hiblup --trans-geno
         --bfile demo
         --add
         --out add_coding</pre>



<p>A file named &#8220;<em><code data-enlighter-language="generic" class="EnlighterJSRAW">add_coding.geno.A.txt</code></em>&#8221; will be generated in the work directory, overview of the file:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">ID M1 M2 M3 M4 M5
IND0701 2 1 1 1 0
IND0702 1 0 1 1 0
IND0703 0 2 0 0 0
IND0704 1 1 1 1 0
IND0705 1 0 0 1 0</pre>



<p><strong><span class="has-inline-color has-neve-link-hover-color-color">Dominance coding format</span></strong></p>



<p>Use the following commands to transform binary genotype into dominance coding format:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">./hiblup --trans-geno
         --bfile demo
         --dom
         --out dom_coding</pre>



<p>A file named &#8220;<em><code data-enlighter-language="generic" class="EnlighterJSRAW">dom_coding.geno.D.txt</code></em>&#8221; will be generated in the work directory, overview of the file:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">ID M1 M2 M3 M4 M5
IND0701 0 1 1 1 0
IND0702 1 0 1 1 0
IND0703 0 0 0 0 0
IND0704 1 1 1 1 0
IND0705 1 0 0 1 0</pre>



<p><strong><span class="has-inline-color has-neve-link-hover-color-color">BLUPF90 acceptable genotype format</span></strong></p>



<p>Use the following commands to transform binary genotype into the acceptable genotype coding format of BLUPF90:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">./hiblup --trans-geno
         --bfile demo
         --blupf90
         --add         # or '--dom' for dominance effect
         --out bf90</pre>



<p>A file named &#8220;<em><code data-enlighter-language="generic" class="EnlighterJSRAW">bf90.geno.A.txt</code></em>&#8221; will be generated in the work directory, overview of the file:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">IND0701 211100111001
IND0702 101101011001
IND0703 020000001000
IND0704 111100001000
IND0705 100100111000</pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Sample and SNPs filter</title>
		<link>https://www.hiblup.com/archives/1550?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sample-and-snps-filter</link>
		
		<dc:creator><![CDATA[hiblup-admin]]></dc:creator>
		<pubDate>Thu, 01 Aug 2024 07:24:42 +0000</pubDate>
				<category><![CDATA[未分类]]></category>
		<guid isPermaLink="false">https://www.hiblup.com/?p=1550</guid>

					<description><![CDATA[Almost all procedures in HIBLUP support to filter sampl&#8230;&#160;<a href="https://www.hiblup.com/archives/1550" rel="bookmark">阅读更多 &#187;<span class="screen-reader-text">Sample and SNPs filter</span></a>]]></description>
										<content:encoded><![CDATA[
<p>Almost all procedures in HIBLUP support to filter samples or SNPs of interest in analysis, there are total four options available to accommodate the different requirements from users:</p>



<ul class="wp-block-list">
<li><code data-enlighter-language="generic" class="EnlighterJSRAW">--keep</code>: to specify a file listing the individuals which will be used in analysis;</li>



<li><code data-enlighter-language="generic" class="EnlighterJSRAW">--remove</code>: to specify a file listing the individuals which will be removed in analysis;</li>



<li><code data-enlighter-language="generic" class="EnlighterJSRAW">--extract</code>: to specify a file listing the SNPs which will be used in analysis;</li>



<li><code data-enlighter-language="generic" class="EnlighterJSRAW">--exclude</code>: to specify a file listing the SNPs which will be removed in analysis.</li>
</ul>



<p>Please see file format <a href="https://http://www.hiblup.com/tutorials#sample-and-snps-filter-file">here</a>.</p>



<p></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Predicting GEBV/GPRS</title>
		<link>https://www.hiblup.com/archives/1471?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=predicting-gebv-gprs</link>
		
		<dc:creator><![CDATA[hiblup-admin]]></dc:creator>
		<pubDate>Mon, 18 Dec 2023 10:01:10 +0000</pubDate>
				<category><![CDATA[未分类]]></category>
		<guid isPermaLink="false">https://www.hiblup.com/?p=1471</guid>

					<description><![CDATA[HIBLUP has the function of predicting genomic estimated&#8230;&#160;<a href="https://www.hiblup.com/archives/1471" rel="bookmark">阅读更多 &#187;<span class="screen-reader-text">Predicting GEBV/GPRS</span></a>]]></description>
										<content:encoded><![CDATA[
<p>HIBLUP has the function of predicting genomic estimated breeding value (GEBV) or genomic polygenic risk score (GPRS) using the pre-computed SNP effects and individual level genotype data, which is the same with the function &#8220;<code data-enlighter-language="generic" class="EnlighterJSRAW">--score</code>&#8221; in PLINK software, but several times faster for computing.</p>



<p>The command to do prediction is as follows:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">./hiblup --pred
         --bfile demo        #the binary genotype data
         --score demo.snpeff #the pre-computed SNP effects
         --threads 10
         --out demo</pre>



<p>Note that the genotype should be in <a href="https://http://www.hiblup.com/tutorials#genotype-file" data-type="link" data-id="https://http://www.hiblup.com/tutorials#genotype-file">PLINK binary file</a>, and at least 5 columns should be included in SNP effects file (see detailed format <a href="https://http://www.hiblup.com/tutorials#snps-effect-file" data-type="link" data-id="https://http://www.hiblup.com/tutorials#snps-effect-file">here</a>). <strong>By default, HIBLUP codes the genotype in additive genetic effect</strong> (i.e., 0 1 2 for AA Aa aa), user can add a flag &#8220;<code data-enlighter-language="generic" class="EnlighterJSRAW">--dom</code>&#8221; to code the genotype in dominant effect (i.e., 0 1 0 for AA Aa aa) if the provided SNPs effects are all in dominant. But if both &#8220;<code data-enlighter-language="generic" class="EnlighterJSRAW">--add</code>&#8221; and &#8220;<code data-enlighter-language="generic" class="EnlighterJSRAW">--dom</code>&#8221; are specified in commands, the SNP effect file must have 6 columns, of which  the 5th and 6th are the additive and dominant SNP effects, respectively. <strong>Thus, if there are additive and dominant effects in file, please remember to add flag </strong>&#8220;<code data-enlighter-language="generic" class="EnlighterJSRAW">--add --dom</code>&#8221; in the commands<strong>.</strong></p>



<p>A file named &#8220;<em>demo.bv</em>&#8221; will be generated in the work directory, overview of this file:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">id	trait1	trait2
Ind2	-0.305403	2.6644
Ind5	0.00897198	-1.36166
Ind11	0.392148	-0.653216
Ind17	0.00232218	-0.213599
Ind22	-0.359507	-2.12692
Ind45	-0.232806	0.269005</pre>



<p>As shown above, the first column is the individual id, and the rest of columns are the predicted GEBV or GPRS, the number of columns depends on the number of effects provided in SNP effects file.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Multiple traits SBLUP (MT-SBLUP)</title>
		<link>https://www.hiblup.com/archives/1459?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=multiple-traits-sblup-mt-sblup</link>
		
		<dc:creator><![CDATA[hiblup-admin]]></dc:creator>
		<pubDate>Mon, 18 Dec 2023 08:57:02 +0000</pubDate>
				<category><![CDATA[未分类]]></category>
		<guid isPermaLink="false">https://www.hiblup.com/?p=1459</guid>

					<description><![CDATA[The multi-trait SBLUP is extended from single trait SBL&#8230;&#160;<a href="https://www.hiblup.com/archives/1459" rel="bookmark">阅读更多 &#187;<span class="screen-reader-text">Multiple traits SBLUP (MT-SBLUP)</span></a>]]></description>
										<content:encoded><![CDATA[
<p>The multi-trait SBLUP is extended from single trait SBLUP model, it outperforms single trait SBLUP model on prediction accuracy for all the traits in analysis (<a href="https://doi.org/10.1038/s41467-017-02769-6" data-type="link" data-id="https://doi.org/10.1038/s41467-017-02769-6" target="_blank" rel="noreferrer noopener">Robert, Zhihong, et al. 2018</a>). There are two ways to fit MT-SBLUP model, by either individual genotype data or LD correlation matrix, see more details on the chapter of <a href="https://http://www.hiblup.com/tutorials#summary-level-blup-sblup" data-type="link" data-id="https://http://www.hiblup.com/tutorials#summary-level-blup-sblup">SBLUP model</a>. Here, we only show example of how to fit MT-SBLUP using a pre-computed LD correlation matrix:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">./hiblup --sblup
         --sumstat demo1.ma demo2.ma demo3.ma demo4.ma   #the summary data, use space as separator
         --ldm demo_ldm      #the pre-computed LD correlation matrix
         --h2 0.3234 0.1256 0.6345 0.3536
         --rg 0.1336 0.5567 0.2345 0.8454 0.3446 0.4633
       # --pcg               #use PCG for fast computing
         --threads 10
         --out demo</pre>



<p><strong>Note that the number of summary data of traits in analysis is not limited</strong>. The summary data should be prepared in COJO format, as described <a href="https://www.hiblup.com/tutorials#summary-data-file" data-type="URL" data-id="https://www.hiblup.com/tutorials#summary-data-file" target="_blank" rel="noreferrer noopener">here</a>, and the LD correlation matrix is stored in binary file, which can be output by HIBLUP (<a href="https://http://www.hiblup.com/tutorials#ld-calculations" data-type="link" data-id="https://http://www.hiblup.com/tutorials#ld-calculations">see here</a>). The heritability of trait and the genetic correlation among traits must be specified, these genetic parameters can be estimated from <a href="https://http://www.hiblup.com/tutorials#single-trait-model" data-type="link" data-id="https://http://www.hiblup.com/tutorials#single-trait-model">REML</a> if the individual-level data are available or from <a href="https://http://www.hiblup.com/tutorials#ld-score-regression" data-type="link" data-id="https://http://www.hiblup.com/tutorials#ld-score-regression">LD score regression</a> using the summary data. <strong>The input order of genetic correlations is the lower triangle of matrix</strong> (take the above command for example, the input order should be: 1-2 1-3 1-4 2-3 2-4 3-4).</p>



<p>After running successfully, a file named &#8220;<em>demo.snpeff</em>&#8221; will be generated in the work directory as follows:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">id a1 a2 freq_a1 demo1 demo2 demo3 demo4
M1 A G 0.1285 -0.000963937 -0.000577569 -0.000792698 0.000175215
M2 T C 0.1285 -0.00108931 -0.000597102 -0.000825137 0.000177501
M3 A G 0.1062 0.00588629 0.00155157 0.00270818 0.000154987
M4 G A 0.1285 -0.00164344 -0.000557257 -0.000874613 0.000155528
M5 A C 0.2459 -0.00100206 -0.000456737 -0.000855748 -0.000422206</pre>



<p>As shown above, the estimated SNP effects are listed in the last several columns by traits. To obtain the predicted GEBV or GPRS of individuals, we recommend using HIBLUP to implement it (see <a href="https://http://www.hiblup.com/tutorials#predicting-gebv-gprs" data-type="link" data-id="https://http://www.hiblup.com/tutorials#predicting-gebv-gprs">here</a>), since we tested that it is several times faster than the &#8216;<code data-enlighter-language="generic" class="EnlighterJSRAW">--score</code>&#8216; function in PLINK.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>LD score regression</title>
		<link>https://www.hiblup.com/archives/1439?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ld-score-regression</link>
		
		<dc:creator><![CDATA[hiblup-admin]]></dc:creator>
		<pubDate>Sat, 16 Dec 2023 10:57:46 +0000</pubDate>
				<category><![CDATA[未分类]]></category>
		<guid isPermaLink="false">https://www.hiblup.com/?p=1439</guid>

					<description><![CDATA[LD score regression is method widely used in summary st&#8230;&#160;<a href="https://www.hiblup.com/archives/1439" rel="bookmark">阅读更多 &#187;<span class="screen-reader-text">LD score regression</span></a>]]></description>
										<content:encoded><![CDATA[
<p>LD score regression is method widely used in summary statistics to estimate the heritability of a trait (<a href="https://doi.org/10.1038/ng.3211" data-type="link" data-id="https://doi.org/10.1038/ng.3211" target="_blank" rel="noreferrer noopener">Bulik-Sullivan, Po-Ru Loh, et al. 2015</a>) and the genetic correlation among traits (<a href="https://doi.org/10.1038/ng.3406" data-type="link" data-id="https://doi.org/10.1038/ng.3406" target="_blank" rel="noreferrer noopener">Bulik-Sullivan,&nbsp;Finucane, et al. 2015</a>). It doesn&#8217;t require individual level genotype data, only the GWAS summary data and the LD scores calculated from reference panel are involved, thus it&#8217;s pretty time-efficient and memory-saving compared with REML or HE regression.</p>



<p><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-neve-link-hover-color-color"><b>1. Heritability estimation</b></mark></p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">./hiblup --ldreg
         --sumstat demo.ma   #the summary data
         --lds demo.ldsc     #the pre-computed LD scores
         --out demo</pre>



<p>As shown above, the summary data file and LD scores file should be provided, the file format of summary data and how to calculate/make LD scores can be found at other tutorial chapters (i.e., <a href="https://http://www.hiblup.com/tutorials#summary-data-file" data-type="link" data-id="https://http://www.hiblup.com/tutorials#summary-data-file">summary data</a> and <a href="https://http://www.hiblup.com/tutorials#ld-scores" data-type="link" data-id="https://http://www.hiblup.com/tutorials#ld-scores">LD scores</a>). Please always remember <strong>not to delete SNPs in LD scores file to keep it consistent with that in summary data file, just leave it as it is</strong>, because the total number of SNPs used to calculate this LD scores is quite crucial for LD score regression.</p>



<p>The estimated results are stored in a file named &#8220;<em>demo.ldsr.h2</em>&#8220;, overview of this file:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">Item	Intercept	Intercept_SE	h2	h2_SE	h2_Pval
demo	1.08285	0.011433	0.122826	0.00393122	2.71554e-214</pre>



<p>The &#8216;<em>Intercept</em>&#8216; is associated with the population structure, the closer it is to 1, the less stratified of the population is. The &#8216;<em>h2</em>&#8216; is the estimated heritability of the trait, and &#8216;<em>h2_Pval</em>&#8216; is the p-value of chi-square testing significance.</p>



<p><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-neve-link-hover-color-color"><b>2. Genetic correlation estimation</b></mark></p>



<p>The usage of genetic correlation estimation is quite similar with heritability estimation, if HIBLUP detected more than one summary data file in the command, it will estimate heritability and genetic correlation automatically:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">./hiblup --ldreg
         --sumstat demo1.ma demo2.ma demo3.ma   #the summary data of multiple traits, use space as separator
         --lds demo.ldsc     #the pre-computed LD scores
         --out demo</pre>



<p><strong>Note that the number of summary data of traits is not limited</strong>. Two files will be generated in the work directory: the file &#8220;<em>test.ldsr.h2</em>&#8221; recorded the estimated heritability of trait as described before; and the file &#8220;<em>test.ldsr.rg</em>&#8221; stores the genetic correlation of pairs of traits, overview of this file:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">Item	CovG	CovG_SE	Intercept	Intercept_SE	rG	rG_SE	rG_Pval
demo1:demo2	0.0252414	0.00716841	0.0166108	0.00819384	0.141956	0.0403148	0.000429607
demo1:demo3	0.0744506	0.00892225	0.102821	0.00671784	0.296832	0.0355727	7.15917e-17
demo2:demo3	0.262124	0.0340515	0.315166	0.0112682	0.608769	0.0790827	1.38348e-14</pre>



<p>The &#8216;<em>CovG</em>&#8216; is the genetic covariance, &#8216;<em>rG</em>&#8216; is the estimated genetic correlation between traits, and &#8216;<em>rG_Pval</em>&#8216; is the p-value of chi-square testing significance.</p>



<p><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-neve-link-hover-color-color"><b>The relevant options can be specified by users for LD score regression:</b></mark></p>



<ul class="wp-block-list">
<li><code data-enlighter-language="generic" class="EnlighterJSRAW">--M</code>: to specify the number of SNPs in LD score regression. By default, HIBLUP use the number of SNPs in the LD score file with MAF between 5% and 50% as it is suggested by Bulik-Sullivan.</li>



<li><code data-enlighter-language="generic" class="EnlighterJSRAW">--chisq-max</code>: to specify the maximum threshold of <em>X</em><sup>2</sup> for the first step estimator of intercept, the default is 30.</li>



<li><code data-enlighter-language="generic" class="EnlighterJSRAW">--intercept-h2</code>: to constrain the intercept with a constant rather than estimating it from data for heritability estimation.</li>



<li><code data-enlighter-language="generic" class="EnlighterJSRAW">--intercept-gencov</code>: to constrain the intercept with a constant rather than estimating it from data for genetic correlation estimation.</li>
</ul>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>LD scores</title>
		<link>https://www.hiblup.com/archives/1436?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ld-scores</link>
		
		<dc:creator><![CDATA[hiblup-admin]]></dc:creator>
		<pubDate>Sat, 16 Dec 2023 10:00:55 +0000</pubDate>
				<category><![CDATA[未分类]]></category>
		<guid isPermaLink="false">https://www.hiblup.com/?p=1436</guid>

					<description><![CDATA[The LD score is defined as the sum of LD&#160;(r2&#160;&#8230;&#160;<a href="https://www.hiblup.com/archives/1436" rel="bookmark">阅读更多 &#187;<span class="screen-reader-text">LD scores</span></a>]]></description>
										<content:encoded><![CDATA[
<p>The LD score is defined as the sum of LD&nbsp;(<em>r<sup>2</sup></em>&nbsp;) between a SNP and all the SNPs in a region, it reflects the linkage level of a SNP with other SNPs, higher LD score represents that this SNP is higher correlated with others. The LD scores are generally used in LD score regression to estimate the heritability of a trait or the genetic correlation between traits. To obtain the LD scores of SNPs, the individual level genotype data is required, see the following example:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">./hiblup --ldscore
         --bfile demo   
         --window-bp 1000000
         --threads 10
         --out test</pre>



<p>There are several options to set  the window size:</p>



<ul class="wp-block-list">
<li><code data-enlighter-language="generic" class="EnlighterJSRAW">--window-bp</code>: to specify the size of non-overlapped window (default 1Mb, i.e., <code data-enlighter-language="generic" class="EnlighterJSRAW">--window-bp 1000000</code>), in which the number of SNPs is not fixed;</li>



<li><code data-enlighter-language="generic" class="EnlighterJSRAW">--window-num</code>: to specify a fixed number of SNPs in a window (e.g., <code data-enlighter-language="generic" class="EnlighterJSRAW">--window-num 500</code>), the size of window is not constant in this case;</li>



<li><code data-enlighter-language="generic" class="EnlighterJSRAW">--window-geno</code>: to define all SNPs across entire genome as one window, note that it will take a long time and huge memory cost if there are large number of SNPs;</li>



<li><code data-enlighter-language="generic" class="EnlighterJSRAW">--window-file</code>: to specify a text file in which the windows are pre-defined by users, see the file format <a href="https://http://www.hiblup.com/tutorials#genome-windows-file" data-type="link" data-id="https://http://www.hiblup.com/tutorials#genome-windows-file">here</a>.</li>
</ul>



<p>A file named &#8220;<em>test.ldsc</em>&#8221; will be generated in the work directory, overview of this file:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">id	maf	ldscore
M1	0.481875	1
M2	0.145	1
M3	0.320625	1
.	.	.
.	.	.
.	.	.
M991	0.089375	1.044
M992	0.11375	1.33231
M993	0.31875	1.2885
M994	0.103125	1
M995	0.115625	1</pre>



<p>As shown above, the first column is the vector of SNP names, the second is minor allele frequency, the third is the calculated LD scores.</p>



<p>Users can also use the publicly available LD scores file to run HIBLUP, but sometimes the column &#8220;<em>maf</em>&#8221; is missing. Since HIBLUP uses the &#8220;<em>maf</em>&#8221; column to set the options &#8220;<code data-enlighter-language="generic" class="EnlighterJSRAW">--M</code>&#8221; by counting the number of markers with MAF >= 0.05, thus<strong> if the option &#8220;<code data-enlighter-language="generic" class="EnlighterJSRAW">--M</code>&#8221; is specified when running LD score regression</strong> (e.g., the value in the file &#8220;<em>XXX.M_5_50</em>&#8220;), <strong>the &#8220;maf&#8221; column will be useless, users can assign any dummy values to this column.</strong></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Genome windows file</title>
		<link>https://www.hiblup.com/archives/1419?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=genome-windows-file</link>
		
		<dc:creator><![CDATA[hiblup-admin]]></dc:creator>
		<pubDate>Fri, 15 Dec 2023 09:39:19 +0000</pubDate>
				<category><![CDATA[未分类]]></category>
		<guid isPermaLink="false">https://www.hiblup.com/?p=1419</guid>

					<description><![CDATA[HIBLUP supports user-defined windows to cut the genome &#8230;&#160;<a href="https://www.hiblup.com/archives/1419" rel="bookmark">阅读更多 &#187;<span class="screen-reader-text">Genome windows file</span></a>]]></description>
										<content:encoded><![CDATA[
<p>HIBLUP supports user-defined windows to cut the genome for several analysis, e.g., LD and LD score calculation, SBLUP model fitting. Three columns are required as follows:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">chr	start	stop
1	10583	1577084
1	1577084	2364990
1	2364990	3150345
1	3150345	4284187
1	4284187	4854314
2	10133	341834
2	341834	1161563
2	1161563	1688845
2	1688845	2829810
2	2829810	3389305</pre>



<p>Note that the windows should be non-overlapped.</p>



<p>This file should be assigned to the parametric option <code data-enlighter-language="generic" class="EnlighterJSRAW">--window-file</code>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Population classification file</title>
		<link>https://www.hiblup.com/archives/1410?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=population-classification-file</link>
		
		<dc:creator><![CDATA[hiblup-admin]]></dc:creator>
		<pubDate>Fri, 15 Dec 2023 08:26:47 +0000</pubDate>
				<category><![CDATA[未分类]]></category>
		<guid isPermaLink="false">https://www.hiblup.com/?p=1410</guid>

					<description><![CDATA[Since different populations or breeds have different ge&#8230;&#160;<a href="https://www.hiblup.com/archives/1410" rel="bookmark">阅读更多 &#187;<span class="screen-reader-text">Population classification file</span></a>]]></description>
										<content:encoded><![CDATA[
<p>Since different populations or breeds have different genetic background, the allele frequency or genotype frequency of different populations may differ from each other significantly. HIBLUP can integrate the population classification information into several genomic analysis, <strong>e.g., allele or genotype frequency calculation, genomic relationship matrix construction, single or multiple traits model fitting</strong>. The population classification file is easy to prepare, two columns are required, the first is the list of individuals names and the second is the detailed classification of each individual. For example:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">ID Breed
Ind1 DD
Ind2 YY
Ind3 LL
Ind4 YY
Ind5 LL</pre>



<p>The file should be assigned to parametric option <code data-enlighter-language="generic" class="EnlighterJSRAW">--pop-class</code>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>LD</title>
		<link>https://www.hiblup.com/archives/1257?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ld-calculations</link>
		
		<dc:creator><![CDATA[hiblup-admin]]></dc:creator>
		<pubDate>Thu, 09 Feb 2023 08:17:02 +0000</pubDate>
				<category><![CDATA[未分类]]></category>
		<guid isPermaLink="false">https://www.hiblup.com/?p=1257</guid>

					<description><![CDATA[HIBLUP has the function of calculating LD correlation (&#8230;&#160;<a href="https://www.hiblup.com/archives/1257" rel="bookmark">阅读更多 &#187;<span class="screen-reader-text">LD</span></a>]]></description>
										<content:encoded><![CDATA[
<p>HIBLUP has the function of calculating LD correlation (r) for pairwise SNPs based on genotype allele counts. The commands are as follows:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">./hiblup --ld
         --bfile demo 
         --window-bp 1e6
         --threads 16
         --out demo_ldm</pre>



<p>Two files (<em><strong>*.info</strong></em>, <strong><em>*.bin</em></strong>) will be generated in the folder. Since the binary file (<strong><em>*.bin</em></strong>) cannot be opened directly, users can add a flag <code data-enlighter-language="generic" class="EnlighterJSRAW">--write-txt</code> in the above commands to output a readable &#8220;.txt&#8221; file. </p>



<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<p>There are several options to set  the window size:</p>



<ul class="wp-block-list">
<li><code data-enlighter-language="generic" class="EnlighterJSRAW">--window-bp</code>: to specify the size of non-overlapped window (default 1Mb, i.e., <code data-enlighter-language="generic" class="EnlighterJSRAW">--window-bp 1000000</code>), in which the number of SNPs is not fixed;</li>



<li><code data-enlighter-language="generic" class="EnlighterJSRAW">--window-num</code>: to specify a fixed number of SNPs in a window (e.g., <code data-enlighter-language="generic" class="EnlighterJSRAW">--window-num 500</code>), the size of window is not constant in this case;</li>



<li><code data-enlighter-language="generic" class="EnlighterJSRAW">--window-geno</code>: to define all SNPs across entire genome as one window, note that it will take a long time and huge memory cost if there are large number of SNPs;</li>



<li><code data-enlighter-language="generic" class="EnlighterJSRAW">--window-file</code>: to specify a text file in which the windows are pre-defined by users, see the file format <a href="https://http://www.hiblup.com/tutorials#genome-windows-file" data-type="link" data-id="https://http://www.hiblup.com/tutorials#genome-windows-file">here</a>.</li>
</ul>
</div></div>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Summary data file</title>
		<link>https://www.hiblup.com/archives/1244?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=summary-data-file</link>
		
		<dc:creator><![CDATA[hiblup-admin]]></dc:creator>
		<pubDate>Wed, 08 Feb 2023 09:18:12 +0000</pubDate>
				<category><![CDATA[未分类]]></category>
		<guid isPermaLink="false">https://www.hiblup.com/?p=1244</guid>

					<description><![CDATA[The summary data from a GWAS/meta-analysis should be pr&#8230;&#160;<a href="https://www.hiblup.com/archives/1244" rel="bookmark">阅读更多 &#187;<span class="screen-reader-text">Summary data file</span></a>]]></description>
										<content:encoded><![CDATA[
<p>The summary data from a GWAS/meta-analysis should be prepared in <a href="https://yanglab.westlake.edu.cn/software/gcta/#COJO" data-type="URL" data-id="https://yanglab.westlake.edu.cn/software/gcta/#COJO" target="_blank" rel="noreferrer noopener">COJO</a> format, see below:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">SNP A1 A2 FREQ BETA SE P NMISS
M1 G T 0.5181 -1.565 1.155 0.1762 500
M2 A G 0.145 -1.77 1.519 0.2445 500
M3 G A 0.3206 1.498 1.583 0.3445 500
M4 C G 0.5356 0.3366 1.003 0.7374 500
M5 C G 0.0975 1.27 1.755 0.4695 500</pre>



<p>Columns are SNP, the effect allele, the other allele, frequency of the effect allele, effect size, standard error, p-value and sample size. Note that &#8220;A1&#8221; needs to be the effect allele with &#8220;A2&#8221; being the other allele, and &#8220;FREQ&#8221; should be the frequency of &#8220;A1&#8221;.</p>



<p>The file should be assigned to parametric option <code data-enlighter-language="generic" class="EnlighterJSRAW">--sumstat</code>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
