ResearchIT/scanindel:latest
$ singularity pull shub://ResearchIT/scanindel:latest
Singularity Recipe
Bootstrap: docker
From: ubuntu:16.04
%post
apt update
apt -y install wget bzip2 git python2.7 python-pip zlib1g-dev libghc-bzlib-dev liblzma-dev cmake
#
# install samtools pipeline
#
export PNAME="samtools-bcftools-htslib-1.0_x64-linux"
cd /tmp
[ ! -e "${PNAME}.tar.bz2" ] && wget "https://downloads.sourceforge.net/project/samtools/samtools/1.0/${PNAME}.tar.bz2"
tar -xvf ${PNAME}.tar.bz2
cd ${PNAME}
for i in bin include lib share; do
cp -vr $i /usr
done
#
# install bedtools
#
cd /tmp
[ ! -e "bedtools-2.18.0.tar.gz" ] && wget https://github.com/arq5x/bedtools2/releases/download/v2.18.0/bedtools-2.18.0.tar.gz
tar -xvf bedtools-2.18.0.tar.gz
cd bedtools-2.18.0
make
cp -rv bin /usr
#
# install BWA
#
cd /tmp
[ ! -e "bwa-0.7.10.tar.bz2" ] && wget https://downloads.sourceforge.net/project/bio-bwa/bwa-0.7.10.tar.bz2
tar -xvf bwa-0.7.10.tar.bz2
cd bwa-0.7.10
make
cp -v bwa /usr/bin
#
# install blat binaries
#
cd /usr/bin
for a in gfClient gfServer blat; do
[ -e $a ] && continue
rm -f $a
wget http://hgdownload.soe.ucsc.edu/admin/exe/linux.x86_64/blat/$a
chmod a+x $a
done
#
# install freebayes
#
cd /tmp
[ ! -d freebayes ] && git clone --recursive https://github.com/ekg/freebayes
cd freebayes
make
make install
#
# install inchworm (trinity)
#
cd /tmp
[ ! -d trinityrnaseq ] && git clone https://github.com/trinityrnaseq/trinityrnaseq
cd trinityrnaseq/Inchworm
make
cp -rv bin /usr
#
# install required python modules
#
python -m pip install pysam==0.7.7 pyvcf==0.6.7 biopython==1.64 scipy==0.14.0 numpy==1.8.1
#
# prepare scanindel
#
cd /usr/lib
[ ! -d scanindel ] && git clone https://github.com/cauyrd/scanindel
chmod a+x scanindel/ScanIndel.py
ln -rsf scanindel/ScanIndel.py /usr/bin/ScanIndel
%runscript
exec /usr/bin/ScanIndel $@
Collection
- Name: ResearchIT/scanindel
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/ResearchIT-scanindel-latest |
collection name | ResearchIT/scanindel |
branch | master |
tag | latest |
commit | 021ffc6a0f85d80b205519468d6099a17ce90c87 |
version (container hash) | 41c28d9fbe7f042c83d3afbf054e40fb |
build date | 2018-10-09T04:15:30.943Z |
size (MB) | 1993 |
size (bytes) | 450977823 |
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.