Skip to content

Commit

Permalink
the initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
masuday committed Sep 5, 2019
1 parent d3d578e commit 04fb1a7
Show file tree
Hide file tree
Showing 79 changed files with 12,098 additions and 2 deletions.
104 changes: 104 additions & 0 deletions GitHub.html5.txt
@@ -0,0 +1,104 @@
<!DOCTYPE html>
<!--==============================================================================
"GitHub HTML5 Pandoc Template" v1.2 — by Tristano Ajmone
==============================================================================
(c) Tristano Ajmone, 2017, MIT License (MIT). Project's home repository:

- https://github.com/tajmone/pandoc-goodies

This template reuses source code taken from the following projects:

- GitHub Markdown CSS: © Sindre Sorhus, MIT License (MIT):
https://github.com/sindresorhus/github-markdown-css

- Primer CSS: © 2016 GitHub Inc., MIT License (MIT):
http://primercss.io/
==============================================================================-->
<html$if(lang)$ lang="$lang$"$endif$$if(dir)$ dir="$dir$"$endif$>
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
$if(docmeta-author)$
$for(docmeta-author)$
<meta name="author" content="$docmeta-author$" />
$endfor$
$else$
$for(author-meta)$
<meta name="author" content="$author-meta$" />
$endfor$
$endif$
$if(docmeta-date)$
<meta name="dcterms.date" content="$docmeta-date$" />
$else$
$if(date-meta)$
<meta name="dcterms.date" content="$date-meta$" />
$endif$
$endif$
$if(keywords)$
<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" />
$endif$
<title>$if(docmeta-title)$$docmeta-title$$else$$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$$endif$</title>
<style type="text/css">@font-face{font-family:octicons-link;src:url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAZwABAAAAAACFQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEU0lHAAAGaAAAAAgAAAAIAAAAAUdTVUIAAAZcAAAACgAAAAoAAQAAT1MvMgAAAyQAAABJAAAAYFYEU3RjbWFwAAADcAAAAEUAAACAAJThvmN2dCAAAATkAAAAB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AAHjaTY9LDsIgEIbtgqHUPpDi3gPoBVyRTmTddOmqTXThEXqrob2gQ1FjwpDvfwCBdmdXC5AVKFu3e5MfNFJ29KTQT48Ob9/lqYwOGZxeUelN2U2R6+cArgtCJpauW7UQBqnFkUsjAY/kOU1cP+DAgvxwn1chZDwUbd6CFimGXwzwF6tPbFIcjEl+vvmM/byA48e6tWrKArm4ZJlCbdsrxksL1AwWn/yBSJKpYbq8AXaaTb8AAHja28jAwOC00ZrBeQNDQOWO//sdBBgYGRiYWYAEELEwMTE4uzo5Zzo5b2BxdnFOcALxNjA6b2ByTswC8jYwg0VlNuoCTWAMqNzMzsoK1rEhNqByEyerg5PMJlYuVueETKcd/89uBpnpvIEVomeHLoMsAAe1Id4AAAAAAAB42oWQT07CQBTGv0JBhagk7HQzKxca2sJCE1hDt4QF+9JOS0nbaaYDCQfwCJ7Au3AHj+LO13FMmm6cl7785vven0kBjHCBhfpYuNa5Ph1c0e2Xu3jEvWG7UdPDLZ4N92nOm+EBXuAbHmIMSRMs+4aUEd4Nd3CHD8NdvOLTsA2GL8M9PODbcL+hD7C1xoaHeLJSEao0FEW14ckxC+TU8TxvsY6X0eLPmRhry2WVioLpkrbp84LLQPGI7c6sOiUzpWIWS5GzlSgUzzLBSikOPFTOXqly7rqx0Z1Q5BAIoZBSFihQYQOOBEdkCOgXTOHA07HAGjGWiIjaPZNW13/+lm6S9FT7rLHFJ6fQbkATOG1j2OFMucKJJsxIVfQORl+9Jyda6Sl1dUYhSCm1dyClfoeDve4qMYdLEbfqHf3O/AdDumsjAAB42mNgYoAAZQYjBmyAGYQZmdhL8zLdDEydARfoAqIAAAABAAMABwAKABMAB///AA8AAQAAAAAAAAAAAAAAAAABAAAAAA==) format('woff')}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;color:#24292e;font-family:-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:16px;line-height:1.5;word-wrap:break-word;box-sizing:border-box;min-width:200px;max-width:980px;margin:0 auto;padding:45px}.markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.markdown-body a{background-color:transparent;-webkit-text-decoration-skip:objects;color:#0366d6;text-decoration:none}.markdown-body a:active,.markdown-body a:hover{outline-width:0}.markdown-body h1{margin:.67em 0}.markdown-body img{border-style:none}.markdown-body svg:not(:root){overflow:hidden}.markdown-body code,.markdown-body kbd,.markdown-body pre{font-family:monospace,monospace}.markdown-body input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body [type=checkbox]{box-sizing:border-box;padding:0}.markdown-body *{box-sizing:border-box}.markdown-body a:hover{text-decoration:underline}.markdown-body strong{font-weight:600}.markdown-body hr{box-sizing:content-box;overflow:hidden;background:0 0;border-bottom:1px solid #dfe2e5}.markdown-body hr::before{display:table;content:""}.markdown-body hr::after{display:table;clear:both;content:""}.markdown-body table{border-spacing:0;border-collapse:collapse;display:block;width:100%;overflow:auto}.markdown-body td,.markdown-body th{padding:0}.markdown-body blockquote{margin:0}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ol ol ol,.markdown-body ol ul ol,.markdown-body ul ol ol,.markdown-body ul ul ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body code{font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace}.markdown-body pre{font:12px SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;word-wrap:normal}.markdown-body .pl-0{padding-left:0!important}.markdown-body .pl-1{padding-left:4px!important}.markdown-body .pl-2{padding-left:8px!important}.markdown-body .pl-3{padding-left:16px!important}.markdown-body .pl-4{padding-left:24px!important}.markdown-body .pl-5{padding-left:32px!important}.markdown-body .pl-6{padding-left:40px!important}.markdown-body::before{display:table;content:""}.markdown-body::after{display:table;clear:both;content:""}.markdown-body>:first-child{margin-top:0!important}.markdown-body>:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body .anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.markdown-body .anchor:focus{outline:0}.markdown-body blockquote,.markdown-body dl,.markdown-body ol,.markdown-body p,.markdown-body pre,.markdown-body table,.markdown-body ul{margin-top:0;margin-bottom:16px}.markdown-body hr{height:.25em;padding:0;margin:24px 0;background-color:#e1e4e8;border:0}.markdown-body blockquote{padding:0 1em;color:#6a737d;border-left:.25em solid #dfe2e5}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body kbd{font-size:11px;box-shadow:inset 0 -1px 0 #959da5}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:#1b1f23;vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1{padding-bottom:.3em;font-size:2em;border-bottom:1px solid #eaecef}.markdown-body h2{padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid #eaecef}.markdown-body h3{font-size:1.25em}.markdown-body h4{font-size:1em}.markdown-body h5{font-size:.875em}.markdown-body h6{font-size:.85em;color:#6a737d}.markdown-body ol,.markdown-body ul{padding-left:2em}.markdown-body ol ol,.markdown-body ol ul,.markdown-body ul ol,.markdown-body ul ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:600}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table th{font-weight:600}.markdown-body table td,.markdown-body table th{padding:6px 13px;border:1px solid #dfe2e5}.markdown-body table tr{background-color:#fff;border-top:1px solid #c6cbd1}.markdown-body table tr:nth-child(2n){background-color:#f6f8fa}.markdown-body img{max-width:100%;box-sizing:content-box;background-color:#fff}.markdown-body code{padding:.2em 0;margin:0;font-size:85%;background-color:rgba(27,31,35,.05);border-radius:3px}.markdown-body code::after,.markdown-body code::before{letter-spacing:-.2em;content:"\00a0"}.markdown-body pre>code{padding:0;margin:0;font-size:100%;word-break:normal;white-space:pre;background:0 0;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:#f6f8fa;border-radius:3px}.markdown-body pre code{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body pre code::after,.markdown-body pre code::before{content:normal}.markdown-body .full-commit .btn-outline:not(:disabled):hover{color:#005cc5;border-color:#005cc5}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;line-height:10px;color:#444d56;vertical-align:middle;background-color:#fcfcfc;border:1px solid #c6cbd1;border-bottom-color:#959da5;border-radius:3px;box-shadow:inset 0 -1px 0 #959da5}.markdown-body :checked+.radio-label{position:relative;z-index:1;border-color:#0366d6}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item+.task-list-item{margin-top:3px}.markdown-body .task-list-item input{margin:0 .2em .25em -1.6em;vertical-align:middle}.markdown-body hr{border-bottom-color:#eee}.flash{position:relative;padding:16px;color:#246;background-color:#e2eef9;border:1px solid #bac6d3;border-radius:3px}.flash p:last-child{margin-bottom:0}.flash-messages{margin-bottom:24px}.flash-warn{color:#4c4a42;background-color:#fff9ea;border-color:#dfd8c2}.flash-error{color:#911;background-color:#fcdede;border-color:#d2b2b2}.flash-success{color:#22662c;background-color:#e2f9e5;border-color:#bad3be}.flash-plain{color:#4c4a42;background-color:#f5f5f5;border-color:#c1c1c1}</style>
<style type="text/css">code{white-space: pre;}</style>
<style type="text/css">pre[data-language='renumf90']{background-color:#EFEFFE;}</style>
<style type="text/css">pre[data-language='blupf90']{background-color:#E7FFE7;}</style>
<style type="text/css">pre[data-language='output']{background-color:#FFFFFF;border:thin solid black;}</style>
<style type="text/css">pre[data-language='shell']{background-color:#FFFFFF;border:thin dashed;}</style>
<style type="text/css">pre[data-caption]::before{content:attr(data-caption) "\a\a";font-size:large;font-weight:bold;border-bottom:thin solid black}</style>
$if(quotes)$
<style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
$endif$
$if(highlighting-css)$
<style type="text/css">
$highlighting-css$
</style>
$endif$
$for(css)$
<link rel="stylesheet" href="$css$">
$endfor$
$if(math)$
$math$
$endif$
<script type="text/x-mathjax-config">
MathJax.Hub.Config({tex2jax: {inlineMath: [['$$','$$'], ['\\(','\\)']]}});
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-AMS_CHTML-full" type="text/javascript"></script>
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
$for(header-includes)$
$header-includes$
$endfor$
</head>
<body>
<article class="markdown-body">
$for(include-before)$
$include-before$
$endfor$
$if(title)$
<header>
<h1 class="title">$title$</h1>
$if(subtitle)$
<p class="subtitle">$subtitle$</p>
$endif$
$for(author)$
<p class="author">$author$</p>
$endfor$
$if(date)$
<p class="date">$date$</p>
$endif$
</header>
$endif$
$if(toc)$
<nav id="$idprefix$TOC">
$toc$
</nav>
$endif$
$body$
$for(include-after)$
$include-after$
$endfor$
</article>
</body>
</html>
170 changes: 170 additions & 0 deletions Makefile
@@ -0,0 +1,170 @@

PANDOC = pandoc

TEXSRC = \
history.tex \
acknowledgment.tex \
license.tex \
genomic_files.tex \
genomic_gblup.tex \
genomic_gwas.tex \
genomic_qc.tex \
genomic_start.tex \
genomic_tuning.tex \
installation_availability.tex \
installation_editor.tex \
installation_env.tex \
installation_linux.tex \
installation_start.tex \
installation_windows.tex \
introduction_about.tex \
introduction_condition.tex \
introduction_difference.tex \
introduction_short.tex \
largescale_issues.tex \
largescale_pcg.tex \
largescale_reliability.tex \
largescale_reml.tex \
largescale_start.tex \
mrode_c03ex031_animal_model.tex \
mrode_c03ex032_sire_model.tex \
mrode_c03ex033_reduced_animal_model.tex \
mrode_c03ex034_animal_model_with_groups.tex \
mrode_c04ex041_repeatability_model.tex \
mrode_c04ex042_common_environment.tex \
mrode_c05ex051_mt_equal_design.tex \
mrode_c05ex052_mt_missing.tex \
mrode_c05ex053_mt_unequal_design.tex \
mrode_c05ex054_mt_no_covariance.tex \
mrode_c07ex071_maternal.tex \
mrode_c08ex081_social_interaction.tex \
mrode_c09ex091_fixed_regression.tex \
mrode_c09ex092_random_regression.tex \
mrode_c10ex102_marker_information.tex \
mrode_c10ex103_qtl.tex \
mrode_c11ex111_fixed_snp.tex \
mrode_c11ex112_mixed_snp.tex \
mrode_c11ex113_gblup.tex \
mrode_c11ex115_polygenic.tex \
mrode_c11ex116_ssgblup.tex \
mrode_c12ex121_dominance.tex \
mrode_c12ex123_dominance_inverse.tex \
mrode_c13ex131_threshold.tex \
mrode_c13ex132_threshold_linear.tex \
mrode_start.tex \
quicktour_fixed.tex \
quicktour_mixed.tex \
quicktour_mt.tex \
quicktour_ssgblup.tex \
quicktour_start.tex \
references.tex \
renum_norenum.tex \
renum_advanced.tex \
renum_basic.tex \
renum_genomic.tex \
renum_mt.tex \
renum_pedigree.tex \
renum_start.tex \
vc_advanced_aireml.tex \
vc_advanced_gs.tex \
vc_aireml.tex \
vc_gs.tex

HTMLSRC = \
history.html \
acknowledgment.html \
license.html \
genomic_files.html \
genomic_gblup.html \
genomic_gwas.html \
genomic_qc.html \
genomic_start.html \
genomic_tuning.html \
installation_availability.html \
installation_editor.html \
installation_env.html \
installation_linux.html \
installation_start.html \
installation_windows.html \
introduction_about.html \
introduction_condition.html \
introduction_difference.html \
introduction_short.html \
largescale_issues.html \
largescale_pcg.html \
largescale_reliability.html \
largescale_reml.html \
largescale_start.html \
mrode_c03ex031_animal_model.html \
mrode_c03ex032_sire_model.html \
mrode_c03ex033_reduced_animal_model.html \
mrode_c03ex034_animal_model_with_groups.html \
mrode_c04ex041_repeatability_model.html \
mrode_c04ex042_common_environment.html \
mrode_c05ex051_mt_equal_design.html \
mrode_c05ex052_mt_missing.html \
mrode_c05ex053_mt_unequal_design.html \
mrode_c05ex054_mt_no_covariance.html \
mrode_c07ex071_maternal.html \
mrode_c08ex081_social_interaction.html \
mrode_c09ex091_fixed_regression.html \
mrode_c09ex092_random_regression.html \
mrode_c10ex102_marker_information.html \
mrode_c10ex103_qtl.html \
mrode_c11ex111_fixed_snp.html \
mrode_c11ex112_mixed_snp.html \
mrode_c11ex113_gblup.html \
mrode_c11ex115_polygenic.html \
mrode_c11ex116_ssgblup.html \
mrode_c12ex121_dominance.html \
mrode_c12ex123_dominance_inverse.html \
mrode_c13ex131_threshold.html \
mrode_c13ex132_threshold_linear.html \
mrode_start.html \
quicktour_fixed.html \
quicktour_mixed.html \
quicktour_mt.html \
quicktour_ssgblup.html \
quicktour_start.html \
references.html \
renum_norenum.html \
renum_advanced.html \
renum_basic.html \
renum_genomic.html \
renum_mt.html \
renum_pedigree.html \
renum_start.html \
vc_advanced_aireml.html \
vc_advanced_gs.html \
vc_aireml.html \
vc_gs.html \
index.html

.PHONY: all img clean

.SUFFIXES: .tex .md .html

all: tutorial_blupf90.pdf $(HTMLSRC) img

tutorial_blupf90.pdf: tutorial_blupf90.tex $(TEXSRC)
pdflatex -halt-on-error tutorial_blupf90
# makeindex tutorial_blupf90
pdflatex -halt-on-error tutorial_blupf90
cp tutorial_blupf90.pdf pdf/

acknowledgment.tex: acknowledgment.md
pandoc -t latex --listings -o $@ $<

.md.tex:
pandoc -t latex --top-level-division=section --listings -o $@ $<

.md.html:
# pandoc --mathjax -smart -s -t html --toc --toc-depth=2 --template Github.html5.txt -o $@ $<
pandoc --mathjax -t html --toc --toc-depth=2 --template Github.html5.txt -o $@ $<
mv $@ html/

img:
cp -p *.png html/

clean:
rm -f *~ *.html tutorial*.pdf *.aux *.log *.out *.toc *.idx [^t]*.tex pdf/*.pdf html/*.html html/*.png
49 changes: 47 additions & 2 deletions README.md
@@ -1,2 +1,47 @@
# Blupf90TutorialStandard
A tutorial of the BLUPF90 family programs
Introduction to BLUPF90 suite programs
======================================

Written by Yutaka Masuda

Quick links
-----------

- [Index](./index.md)
- [PDF documentation](https://github.com/masuday/Blupf90TutorialStandard/releases)

How can I build the documentation?
----------------------------------

You need the following tools.

- [Pandoc](https://pandoc.org/) v2.5.0 or later
- pdfLaTeX
- Make and Bash

Simply type the `make` command in the repository on Bash, and the programs generate a PDF file in `pdf/` and HTML files in `html/`.

~~~~~
make
~~~~~

To cleanup, run `make` with the argument.

~~~~~
make clean
~~~~~

How can I modify the note?
--------------------------

### Simple way

1. Make a fork of this repository in your account.
2. Modify the file online; select the file, edit it, and commit it.
3. After the edit, make a _pull request_.
4. Wait the response.

### Another way

1. Make a branch.
2. Modify the files and commit it.
3. Make a pull request.

0 comments on commit 04fb1a7

Please sign in to comment.