mirror of
https://github.com/MillironX/beefblup.git
synced 2024-11-10 18:23:08 +00:00
Complete import section port
This commit is contained in:
parent
a0b1aefc18
commit
7e689b5841
1 changed files with 28 additions and 0 deletions
28
Julia/beefblup.jl
Normal file
28
Julia/beefblup.jl
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# beefblup
|
||||||
|
# Main script for performing single-variate BLUP to find beef cattle
|
||||||
|
# breeding values
|
||||||
|
# Usage: julia beefblup.jl
|
||||||
|
# (C) 2019 Thomas A. Christensen II
|
||||||
|
# Licensed under BSD-3-Clause License
|
||||||
|
|
||||||
|
# Import the required packages
|
||||||
|
using XLSX
|
||||||
|
|
||||||
|
# Display stuff
|
||||||
|
print("beefblup v 0.0.0.1\n")
|
||||||
|
print("(C) 2019 Thomas A. Christensen II\n")
|
||||||
|
print("https://github.com/millironx/beefblup\n")
|
||||||
|
print("\n")
|
||||||
|
|
||||||
|
### Prompt User
|
||||||
|
# Ask for an input spreadsheet
|
||||||
|
print("Enter the full filename of a beefblup worksheet> ")
|
||||||
|
path = readline(stdin)
|
||||||
|
|
||||||
|
# Ask for an output text filename
|
||||||
|
print("Enter the full filename of your desired results> ")
|
||||||
|
savepath = readline(stdin)
|
||||||
|
|
||||||
|
# Ask for heritability
|
||||||
|
print("What is the heritability for this trait?> ")
|
||||||
|
h2 = parse(Float64, readline(stdin))
|
Loading…
Reference in a new issue