koszullab/metaTOR:2d61edd

$ singularity pull shub://koszullab/metaTOR:2d61edd

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 -e git+https://github.com/koszullab/metator.git#egg=2d61edd2f75a4a9115c4b227f201781aa85c9d0b

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

%runscript
  exec metator "$@"

Collection


View on Datalad

Metrics

key value
id /containers/koszullab-metaTOR-2d61edd
collection name koszullab/metaTOR
branch master
tag 2d61edd
commit 3db1b6766166685aad0aaac5b8eb58628d773a0a
version (container hash) b0e105d1935b34d8c48b205d602152d1
build date 2019-01-24T13:54:57.331Z
size (MB) 1124
size (bytes) 426262559
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.