mbhall88/Singularity_recipes:vcftools
$ singularity pull shub://mbhall88/Singularity_recipes:vcftools
Singularity Recipe
Bootstrap: debootstrap
OSVersion: bionic
MirrorURL: http://us.archive.ubuntu.com/ubuntu/
%environment
PATH=/usr/local/bin:$PATH
%post
apt update
apt install -y software-properties-common
apt-add-repository universe
apt update
apt install -y git wget build-essential
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
echo 'export LC_ALL=C.UTF-8' >> $SINGULARITY_ENVIRONMENT
echo 'export LANG=C.UTF-8' >> $SINGULARITY_ENVIRONMENT
# ========================
# INSTALL vcftools
# ========================
apt install -y pkg-config zlib1g-dev
VERSION="0.1.16"
URL=https://github.com/vcftools/vcftools/releases/download/v"$VERSION"/vcftools-"$VERSION".tar.gz
wget -O - "$URL" | tar xzf -
cd vcftools*
./configure --prefix=/usr/local
make
make install
# install tabix dependency
cd ~/
wget -O - https://sourceforge.net/projects/samtools/files/tabix/tabix-0.2.6.tar.bz2/download | tar xjf -
cd tabix*
make
echo "export PATH=$(pwd):$PATH" >> $SINGULARITY_ENVIRONMENT
cd ..
chmod -R 777 tabix*
Collection
- Name: mbhall88/Singularity_recipes
- License: MIT License
View on Datalad
Metrics
key | value |
---|---|
id | /containers/mbhall88-Singularity_recipes-vcftools |
collection name | mbhall88/Singularity_recipes |
branch | master |
tag | vcftools |
commit | c0af79dc032d20c5ae72f756e67aa8e6e0015256 |
version (container hash) | 20f82cf296897e90b545200ad3c508e0 |
build date | 2018-11-12T16:21:13.071Z |
size (MB) | 678 |
size (bytes) | 234303519 |
SIF | Download URL (please use pull with shub://) |
Datalad URL | View on Datalad |
Singularity Recipe | Singularity Recipe on Datalad |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.