1
0
Fork 0
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:
Thomas A. Christensen II 2019-11-08 19:01:46 -08:00
parent a0b1aefc18
commit 7e689b5841
Signed by: millironx
GPG key ID: 139C07724802BC5D

28
Julia/beefblup.jl Normal file
View 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))