EnriqueDoster/bioinformatic-nextflow-pipelines:latest
$ singularity pull shub://EnriqueDoster/bioinformatic-nextflow-pipelines:latest
Singularity Recipe
Bootstrap: docker
From: debian:jessie-slim
#Includes idba, trimmomatic, samtools, bwa, bedtools, freebayes, bbmap, vcftools, htslib, ncurses, kraken2, resistomeanalyzer, rarefactionanalyzer, SNPfinder
%environment
%post
## Jave install doesn't work, but can load java module from summit
apt update \
&& apt install -y --no-install-recommends \
build-essential ca-certificates sudo tcsh\
git make automake autoconf openjdk-7-jre wget gzip unzip sed\
zlib1g-dev curl libbz2-dev locales libncurses5-dev liblzma-dev libcurl4-openssl-dev software-properties-common apt-transport-https\
python3-pip python3-docopt python3-pytest python-dev python3-dev\
libcurl4-openssl-dev libssl-dev zlib1g-dev fonts-texgyre \
gcc g++ gfortran libblas-dev liblapack-dev dos2unix\
r-base-core r-recommended hmmer\
&& rm -rf /var/lib/apt/lists/*
#Installing Anaconda 2 and Conda 4.5.11
wget -c https://repo.continuum.io/archive/Anaconda2-5.3.0-Linux-x86_64.sh
sh Anaconda2-5.3.0-Linux-x86_64.sh -bfp /usr/local
# add bioconda channels
conda config --add channels defaults
conda config --add channels conda-forge
conda config --add channels bioconda
# install bulk of bioinformatic tools using conda
conda create -n AmrPlusPlus_env python=3 biopython rgi idba trimmomatic bwa blat samtools bedtools freebayes bbmap vcftools htslib ncurses kraken2
. /usr/local/bin/activate AmrPlusPlus_env
#ln -s /usr/local/envs/AmrPlusPlus_env/bin/* /usr/local/bin/
#Still experimenting with how to change $PATH location.
echo 'export PATH=$PATH:/usr/local/envs/AmrPlusPlus_env/bin/' >> $SINGULARITY_ENVIRONMENT
# resistomeanalyzer
cd /usr/local
git clone https://github.com/cdeanj/resistomeanalyzer.git
cd resistomeanalyzer
make
cp resistome /usr/local/bin
#ln -s /usr/local/resistomeanalyzer/* /usr/local/bin/
cd /
# RarefactionAnalyzer
cd /usr/local
git clone https://github.com/cdeanj/RarefactionAnalyzer.git
cd RarefactionAnalyzer
make
cp rarefaction /usr/local/bin
cd /
# SNPfinder
cd /usr/local
git clone https://github.com/cdeanj/snpfinder.git
cd snpfinder
make
cp snpfinder /usr/local/bin
cd /
# Make sure all the tools have the right permissions to use the tools
chmod -R 777 /usr/local/
%test
#which bwa
#which bedtools
#which samtools
#which freebayes
Collection
- Name: EnriqueDoster/bioinformatic-nextflow-pipelines
- License: MIT License
View on Datalad
Metrics
key | value |
---|---|
id | /containers/EnriqueDoster-bioinformatic-nextflow-pipelines-latest |
collection name | EnriqueDoster/bioinformatic-nextflow-pipelines |
branch | master |
tag | latest |
commit | 96cd0e85ee99d823c754b8a0847bf830e35afeac |
version (container hash) | 8c6a09835346b959fc7178712ffe2c39 |
build date | 2020-11-25T06:54:08.488Z |
size (MB) | 10496.0 |
size (bytes) | 5132070943 |
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.