Skip to content

Instantly share code, notes, and snippets.

@WeipengMO
Last active April 11, 2022 06:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WeipengMO/e1549c9f024a4d2f27d5db53b853c383 to your computer and use it in GitHub Desktop.
Save WeipengMO/e1549c9f024a4d2f27d5db53b853c383 to your computer and use it in GitHub Desktop.
singularity definition file
BootStrap: docker
From: ubuntu:latest
%post
apt update && \
apt install -y \
git python3 python3-pip
pip3 install -i https://mirrors.sustech.rocks/pypi/simple MACS2 MACS3
BootStrap: docker
From: ubuntu:latest
%environment
export PATH=/nanopolish:$PATH
%post
apt update && \
apt install -y \
git wget tar zlib1g-dev make g++ python3 python3-pip
git clone --recursive https://github.com/jts/nanopolish.git
cd nanopolish
pip3 install -i https://mirrors.sustech.rocks/pypi/simple -r scripts/requirements.txt
git checkout nanonome
git checkout master -- Makefile
make
BootStrap: docker
From: ubuntu:latest
%post
apt update && \
apt install -y \
git \
zlib1g-dev \
make \
g++ \
git clone --recursive https://github.com/haowenz/sigmap.git
cd sigmap && make
cp sigmap /usr/local/bin
# run example
sudo singularity build macs.sif macs2.def
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment