mirror of
https://github.com/MillironX/beefblup.git
synced 2024-11-10 18:23:08 +00:00
Start README revisions
This commit is contained in:
parent
e3f299d030
commit
56e78851fc
1 changed files with 71 additions and 13 deletions
80
README.md
80
README.md
|
@ -1,14 +1,59 @@
|
||||||
# beefblup
|
# [:cow:]: beefblup
|
||||||
|
|
||||||
:cow: :cow: :cow:
|
beefblup is an easy-to-use program for ranchers to calculate expected breeding
|
||||||
|
values (EBVs) for their own beef cattle. Why? It's part of my effort to
|
||||||
|
**\#KeepEPDsReal**
|
||||||
|
|
||||||
#### \#KeepEPDsReal
|
> **Notice:** beefblup for MATLAB and beefblup for Python are going away. I'm
|
||||||
|
> going to make changes here soon that will break the MATLAB version of
|
||||||
|
> beefblup, and I don't intend to update it anymore. (How many ranchers do you
|
||||||
|
> know that can afford MATLAB?) As for beefblup for Python, it never really got
|
||||||
|
> off the ground, and beefblup for Julia has superceded it.
|
||||||
|
|
||||||
MATLAB and Python scripts and Excel spreadsheets that can be used in conjunction to find breeding values for beef cattle.
|
## For Users
|
||||||
|
|
||||||
|
### Installation
|
||||||
|
|
||||||
|
#### Windows (My Platform)
|
||||||
|
|
||||||
|
1. Press the **Windows Key** + **X**, and then press **A**, and select **Yes**
|
||||||
|
2. [Install Chocolatey](https://chocolatey.org/install) using the PowerShell
|
||||||
|
window that opened
|
||||||
|
3. Close PowerShell
|
||||||
|
4. Press the **Windows Key** + **X**, and then press **A**, and select **Yes**
|
||||||
|
(Again)
|
||||||
|
5. Type `choco install Julia -y` into PowerShell and press **Enter**
|
||||||
|
6. Close PowerShell once Chocolatey has finished
|
||||||
|
7. Download and unzip beefblup to somewhere you will remember it
|
||||||
|
8. Hold down the **Shift** key, and **right-click** in a blank space in the
|
||||||
|
"Julia" folder of beefblup
|
||||||
|
9. Click **Open PowerShell window here"
|
||||||
|
10. Type `julia install.jl` into PowerShell and press **Enter**
|
||||||
|
11. Close PowerShell once Julia has finished
|
||||||
|
|
||||||
|
Why do you need Chocolatey? Because it allows you to access Julia (and therefore
|
||||||
|
beefblup) from the **Shift**+**Right-click** menu directly, without having to
|
||||||
|
worry about `cd` commands or editing your `%PATH%`. That's good, right?
|
||||||
|
|
||||||
|
#### Mac
|
||||||
|
|
||||||
|
I don't know. I can't afford one. If any of you super-privileged Apple snobs
|
||||||
|
out there run beefblup, please add proper instructions here and submit a pull
|
||||||
|
request.
|
||||||
|
|
||||||
|
#### Debian/Ubuntu Linux
|
||||||
|
|
||||||
|
TODO: Add instructions here. This is slightly complicated since there is no
|
||||||
|
Julia package in the main repositories, and I don't use Debian distros enough to
|
||||||
|
know where to find a third-party repos
|
||||||
|
|
||||||
|
#### Fedora Linux
|
||||||
|
|
||||||
|
TODO: Add instructions here. I have this info, but it's on the work computer.
|
||||||
|
|
||||||
## How to Use
|
## How to Use
|
||||||
|
|
||||||
1. Download the [Excel template](https://github.com/MillironX/beefblup/raw/master/Excel/Master%20BLUP%20Worksheet.xlsx)
|
1. Choose a spreadsheet appropriate to the trait you want to analyze from the `Excel` folder, and save it to your hard drive
|
||||||
2. Place your data into the structure described by the spreadsheet
|
2. Place your data into the structure described by the spreadsheet
|
||||||
3. If you wish to add more contemporary group traits to your analysis, replace or add them to the right of the Purple section
|
3. If you wish to add more contemporary group traits to your analysis, replace or add them to the right of the Purple section
|
||||||
4. Open MATLAB
|
4. Open MATLAB
|
||||||
|
@ -25,12 +70,27 @@ MATLAB and Python scripts and Excel spreadsheets that can be used in conjunction
|
||||||
7. Select a file that you would like to save your results to
|
7. Select a file that you would like to save your results to
|
||||||
8. Breeding values and contemporary group adjustments will be outputted to the file you selected
|
8. Breeding values and contemporary group adjustments will be outputted to the file you selected
|
||||||
|
|
||||||
## Contributing
|
## For Programmers
|
||||||
|
|
||||||
I will gladly accept pull requests that acomplish any of the following:
|
### Development Roadmap
|
||||||
|
|
||||||
* Convert MATLAB scripts to Python
|
| Version | Feature |
|
||||||
* The product must be able to be run from the native (non-python) terminal using only the default [Anaconda Python packages](https://anaconda.com/distribution)
|
| ------- | ------------------------------------------------------------------- |
|
||||||
|
| v0.1 | Julia port of original MATLAB script |
|
||||||
|
| v0.2 | Spreadsheet format redesign |
|
||||||
|
| v0.3 | API rewrite (change to function calls instead of script running) |
|
||||||
|
| v0.4 | Add GUI for all options |
|
||||||
|
| v0.5 | Automatically calculated Age-Of-Dam, Year, and Season fixed-effects |
|
||||||
|
| v0.6 | Repeated measurement BLUP (aka dairyblup) |
|
||||||
|
| v0.7 | Multiple trait BLUP |
|
||||||
|
| v0.8 | Maternal effects BLUP |
|
||||||
|
| v0.9 | Genomic BLUP |
|
||||||
|
| v0.10 | beefblup binaries |
|
||||||
|
| v1.0 | [Finally, RELEASE!!!](https://youtu.be/Zd-up5EgoMw?t=5049) |
|
||||||
|
|
||||||
|
I will gladly take input on the following:
|
||||||
|
|
||||||
|
* Converting MATLAB scripts to Python
|
||||||
* Optimizing code sections
|
* Optimizing code sections
|
||||||
* Use triagonal shortcuts to generate the additive relationship matrix
|
* Use triagonal shortcuts to generate the additive relationship matrix
|
||||||
* Solve implicit forms of the mixed-model equation
|
* Solve implicit forms of the mixed-model equation
|
||||||
|
@ -55,8 +115,6 @@ If you are writing code, please keep the code clean:
|
||||||
* For MATLAB, functions go in a separate file
|
* For MATLAB, functions go in a separate file
|
||||||
* Comments go before a code block: no inline comments
|
* Comments go before a code block: no inline comments
|
||||||
|
|
||||||
Bug reports and suggestions will be gladly taken on the [issues](https://github.com/MillironX/beefblup/issues) page. There is no set format for issues, yet, but please at the minimum attach a filled-out spreadsheet that demonstrates your bug or how your suggestion would be useful.
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
Distributed under the 3-Clause BSD License
|
Distributed under the 3-Clause BSD License
|
||||||
|
|
Loading…
Reference in a new issue