bsiranosian/bens_1337_workflows:binning
$ singularity pull shub://bsiranosian/bens_1337_workflows:binning
Singularity Recipe
BootStrap: docker
From: ubuntu:16.04
# this command assumes at least singularity 2.3
%environment
PATH="/usr/local/anaconda/bin:$PATH"
%post
apt-get update
apt-get install -y locales
# localle update necessary for quast
locale-gen --purge "en_US.UTF-8"
update-locale LANG="en_US.UTF-8"
apt-get install -y wget curl less
apt-get install -y build-essential
# apt-get install -y eatmydata
# eatmydata apt-get install -y wget bzip2 \
# ca-certificates libglib2.0-0 libxext6 libsm6 libxrender1 \
# git
# apt-get clean
# install anaconda
if [ ! -d /usr/local/anaconda ]; then
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \
-O ~/anaconda.sh && \
bash ~/anaconda.sh -b -p /usr/local/anaconda && \
rm ~/anaconda.sh
fi
export PATH="/usr/local/anaconda/bin:$PATH"
# requirements for mgwf workflow
conda install -y -c conda-forge -c bioconda -c ursky -c anaconda python=3.6 minimap2 \
readline=6.2 r-ggplot2 r-doBy r-circlize prodigal aragorn metabat2 barrnap \
prokka samtools ncurses bedtools kraken2 bwa pip kraken2 pandas requests maxbin2 blast
# manual quast installation
apt-get install -y zlib1g-dev
apt-get install -y pkg-config libfreetype6-dev libpng-dev python-matplotlib
wget https://downloads.sourceforge.net/project/quast/quast-5.0.2.tar.gz
tar -xzf quast-5.0.2.tar.gz
cd quast-5.0.2
./setup.py install
echo "alias quast=~/quast-5.0.2/quast.py" >> ~/.bashrc
cd
pip install snakemake
pip install pysam
%runscript
exec /bin/bash
Collection
- Name: bsiranosian/bens_1337_workflows
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/bsiranosian-bens_1337_workflows-binning |
collection name | bsiranosian/bens_1337_workflows |
branch | master |
tag | binning |
commit | d0c131e9376492e41dbde5a52fa3e9bbbdb68580 |
version (container hash) | a0e912854fb0b5a5816fe2cf55e1a24f |
build date | 2020-04-01T15:29:16.037Z |
size (MB) | 6231 |
size (bytes) | 2693918751 |
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.