wget -O rebar https://github.com/phac-nml/rebar/releases/latest/download/rebar-x86_64-unknown-linux-musl
./rebar --help
wget -O rebar https://github.com/phac-nml/rebar/releases/latest/download/rebar-x86_64-apple-darwin
./rebar --help
wget "https://github.com/phac-nml/rebar/releases/latest/download/rebar-x86_64-pc-windows-gnu.exe" -OutFile rebar.exe
.\rebar.exe --help
conda create -c bioconda -n rebar rebar
conda activate rebar
rebar --help
Download and load the Docker image from the releases page.
wget -O rebar-docker.tar https://github.com/phac-nml/rebar/releases/latest/download/rebar-docker.tar
docker load --input rebar-docker.tar
Run the image.
docker run -v .:/rebar ghcr.io/phac-nml/rebar:latest \
rebar --help
TIP: Use
-v .:/rebar
to connect your local directory (.
) to the docker image. That way when you runrebar dataset download
, it will download permanently onto your system, not temporarily inside the image.
At the moment (2023-12-04), the Github Container Registry is locked to ‘private’. Only phac-nml
members can access. We are working on this!
Authenticate with the GitHub Container Registry.
export GITHUB_USERNAME='<Github Username>'
export GITHUB_TOKEN='<Github Personal Access Token>'
echo $GITHUB_TOKEN | docker login ghcr.io -u $GITHUB_USERNAME --password-stdin
Run the image.
docker run -v .:/rebar ghcr.io/phac-nml/rebar:latest \
rebar --help
Download and build a singularity image from the docker image.
wget -O rebar-docker.tar https://github.com/phac-nml/rebar/releases/latest/download/rebar-docker.tar
singularity build rebar_latest.sif docker-archive://rebar-docker.tar
Run the image
singularity run --home $(pwd) rebar_latest.sif \
rebar --help
Tip: Use
--home $(pwd)
to haverebar
run in your current working directory.
At the moment (2023-12-04), the Github Container Registry is locked to ‘private’. Only phac-nml
members can access. We are working on this!
Download the image from the GitHub Container Registry.
export SINGULARITY_DOCKER_USERNAME='<Github Username>'
export SINGULARITY_DOCKER_PASSWORD='<Github Personal Access Token>'
singularity pull docker://ghcr.io/phac-nml/rebar:latest
Run the image
singularity run --home $(pwd) rebar_latest.sif \
rebar --help