koszullab/metaTOR:8fcb868

$ singularity pull shub://koszullab/metaTOR:8fcb868

Singularity Recipe

Bootstrap: docker
From: ubuntu:18.04

%labels
  Maintainer tpall

%post
  # Get dependencies
  apt-get update
  apt-get install -y --no-install-recommends \
  git \
  python \
  python-pip \
  python3-setuptools \
  python3 \
  python3-dev \
  python3-pip \
  python3-virtualenv \
  bowtie2 \
  samtools \
  hmmer \
  prodigal \
  libfreetype6-dev \
  libpng-dev \
  pkg-config \
  wget \
  pigz
  
  mkdir -p /tools
  cd /tools
  
  # Fetching louvain
  mkdir -p /tools/louvain
  wget -q https://lip6.github.io/Louvain-BinaryBuild/louvain_linux.tar.gz -O /tools/louvain/louvain.tar.gz
  cd /tools/louvain
  tar -xzf louvain.tar.gz
  chmod +x /tools/louvain/*
  rm -f /tools/louvain/louvain.tar.gz
  
  # Fetching HMMs
  mkdir -p /HMM_databases
  cd /HMM_databases
  wget -q http://dl.pasteur.fr/fop/LItxiFe9/hmm_databases.tgz
  tar -xzf /HMM_databases/hmm_databases.tgz
  rm -f /HMM_databases/hmm_databases.tar.gz
  cd /
  
  # Add tools to path during runtime
  echo 'export PATH=$PATH:/tools:/tools/louvain:/HMM_databases' >>$SINGULARITY_ENVIRONMENT
  
  # Install metator and requests
  pip3 install requests
  pip3 install git+https://github.com/koszullab/metator.git
  chmod 777 -R /usr/local/lib/python3.6/dist-packages/metator/bin/

  # Clean up
  rm -rf /var/lib/apt/lists/*

%runscript
  exec metator "$@"

Collection


View on Datalad

Metrics

key value
id /containers/koszullab-metaTOR-8fcb868
collection name koszullab/metaTOR
branch master
tag 8fcb868
commit 4e42783e4a40234085d801865e402d7f1f3573ab
version (container hash) 0e93a53cdd9ca6c3e47b69b51605d335
build date 2019-01-24T13:54:57.323Z
size (MB) 1121
size (bytes) 423522335
SIF Download URL (please use pull with shub://)
Datalad URL View on Datalad
Singularity Recipe Singularity Recipe on Datalad
We cannot guarantee that all containers will still exist on GitHub.