Skip to content

1. Getting started

Max Brown edited this page Jul 1, 2022 · 6 revisions

Download

Conda

Probably easiest to grab from conda:

# version 0.1.55
conda install -c bioconda goat

Download from releases

Get the latest release by using the commands below.

# for mac
curl -L "https://github.com/genomehubs/goat-cli/releases/download/0.2.0/goat_mac_0.2.0" > goat-cli && chmod +x goat-cli
# and linux (ubuntu)
curl -L "https://github.com/genomehubs/goat-cli/releases/download/0.1.55/goat_ubuntu_0.2.0" > goat-cli && chmod +x goat-cli

Rust

Get from crates.io

If you have the rust toolchain installed:

# 0.2.0
cargo install goat-cli

Build from source

First download Rust if you haven't already (why not?!). goat-cli should work on the most up to date version of Rust.

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Then clone this repo, and build.

git clone https://github.com/genomehubs/goat-cli
cd goat-cli && cargo build --release
# executable is in ./target/release/goat
./target/release/goat search --help

# or to install into your path
cd goat-cli && cargo install --path .
# type goat-cli!
# should be version 0.2.0
goat-cli

Clone this wiki locally