Skip to content

Instantly share code, notes, and snippets.

@aseetharam
Created October 15, 2024 13:43
Show Gist options
  • Save aseetharam/6755b9eb93644d5d95485209447dbc71 to your computer and use it in GitHub Desktop.
Save aseetharam/6755b9eb93644d5d95485209447dbc71 to your computer and use it in GitHub Desktop.
Singularity recipe for HiFiasm, a fast and accurate assembler designed for HiFi reads produced by PacBio. Building this fresh will get you the latest version
BootStrap: docker
From: ubuntu:20.04
%help
HiFiasm is a fast and accurate assembler designed for HiFi reads produced by PacBio.
%labels
Maintainer Arun Seetharam
Version 0.1
%environment
export PATH=/opt/hifiasm:$PATH
%post
# Update and install dependencies
apt-get update && apt-get install -y \
build-essential \
git \
zlib1g-dev \
libbz2-dev \
liblzma-dev \
&& apt-get clean
# Clone and build HiFiasm
cd /opt
git clone https://github.com/chhylp123/hifiasm
cd hifiasm
make
%runscript
exec /opt/hifiasm/hifiasm "$@"
@aseetharam
Copy link
Author

build it with:

apptainer build hifiasm_v0.20.0-r639.sif hifiasm_v0.20.0-r639.def

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment