seedpcseed/metaerg:latest
$ singularity pull shub://seedpcseed/metaerg:latest
Singularity Recipe
Bootstrap: docker
From: ubuntu:18.04
%environment
PATH=$PATH:/NGStools:/NGStools/MinPath:/NGStools/aragorn:/NGStools/minced:/NGStools/Prodigal:/NGStools/ncbi-blast-2.9.0+/bin:/NGStools/diamond:/NGStools/hmmer/src:/NGStools/MinPath:/NGStools/metaerg/bin
export MinPath="/NGStools/MinPath"
%post
apt-get update && apt-get install -y autoconf
apt-get install -y perl
apt-get install -y cpanminus
apt-get install -y gcc-multilib git make openjdk-8-jdk python sqlite3 tar unzip wget bioperl
apt-get update && apt-get install -y \
expat \
graphviz \
libdb-dev \
libgdbm-dev \
libexpat1 \
libexpat-dev \
libssl-dev \
libxml2-dev \
libxslt1-dev \
zlib1g-dev
cpanm DBI \
Archive::Extract \
DBD::SQLite \
File::Copy::Recursive \
LWP::Protocol::https
mkdir NGStools && cd NGStools
git clone https://git.code.sf.net/p/swissknife/git swissknife-git && \
cd swissknife-git && \
perl Makefile.PL && \
make install && \
cd /NGStools
#aragorn
git clone https://github.com/TheSEED/aragorn.git && \
cd aragorn && \
gcc -O3 -ffast-math -finline-functions -o aragorn aragorn1.2.36.c && \
cd /NGStools
#hmmer rRNAFinder need it
git clone https://github.com/EddyRivasLab/hmmer && \
cd hmmer && \
git clone https://github.com/EddyRivasLab/easel && \
autoconf && \
./configure && \
make && \
cd /NGStools
#blast for classifying rRNA sequences
wget ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/LATEST/ncbi-blast-2.9.0+-x64-linux.tar.gz && \
tar -xzf ncbi-blast-2.9.0+-x64-linux.tar.gz && \
rm ncbi-blast-2.9.0+-x64-linux.tar.gz && \
cd /NGStools
#prodigal
git clone https://github.com/hyattpd/Prodigal.git && \
cd Prodigal && \
make && \
cd /NGStools
#minced
git clone https://github.com/ctSkennerton/minced.git && \
cd minced && \
make && \
cd /NGStools
#diamond
mkdir diamond && \
cd diamond && \
wget http://github.com/bbuchfink/diamond/releases/download/v0.9.24/diamond-linux64.tar.gz && \
tar -xzf diamond-linux64.tar.gz && \
rm diamond-linux64.tar.gz diamond_manual.pdf && \
cd /NGStools
#MinPath
wget http://ebg.ucalgary.ca/metaerg/minpath1.4.tar.gz && \
tar -xzf minpath1.4.tar.gz && \
rm minpath1.4.tar.gz && \
cd /NGStools
#metaerg
git clone https://github.com/seedpcseed/metaerg
# Clean
apt-get remove -y autoconf \
cpanminus \
gcc-multilib \
git \
make && \
apt-get autoclean -y
%runscript
export MinPath="/NGStools/MinPath"
exec "$@"
Collection
- Name: seedpcseed/metaerg
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/seedpcseed-metaerg-latest |
collection name | seedpcseed/metaerg |
branch | master |
tag | latest |
commit | b7275a68e6629df65a193895d802d5bcbe77c7a1 |
version (container hash) | 218886271db1435c2f9fe6fe1a371bad |
build date | 2021-01-19T14:31:34.685Z |
size (MB) | 2312.0 |
size (bytes) | 791584799 |
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.