idot/Singularity_recipes:fast5

$ singularity pull shub://idot/Singularity_recipes:fast5

Singularity Recipe

Bootstrap: debootstrap
OSVersion: xenial
MirrorURL:  http://us.archive.ubuntu.com/ubuntu/

%environment
  PATH=/usr/local/bin:$PATH

%post
  apt-get update
  apt-get install -y software-properties-common wget
  apt-add-repository universe
  apt-get update

  # ================================
  # INSTALL FAST5 LIBRARY
  # ================================
  FAST5_VERSION=0.6.5
  apt-get install -y build-essential libhdf5-dev libpython2.7-dev \
    python2.7-minimal python-pip

  # install python dependencies for fast5 lib
  wget https://bootstrap.pypa.io/get-pip.py -O - | \
    python - && \
    pip install cython setuptools virtualenv

  # expose prerequisites settings and make available at runtime
  export HDF5_INCLUDE_DIR=/usr/include/hdf5/serial/
  export HDF5_LIB_DIR=/usr/lib/x86_64-linux-gnu/hdf5/serial/
  echo 'export HDF5_INCLUDE_DIR=/usr/include/hdf5/serial/' >> $SINGULARITY_ENVIRONMENT
  echo 'export HDF5_LIB_DIR=/usr/lib/x86_64-linux-gnu/hdf5/serial/' >> $SINGULARITY_ENVIRONMENT

  # download and install version release from GitHub
  RELEASE_URL=https://github.com/mateidavid/fast5/archive/v${FAST5_VERSION}.tar.gz
  wget "$RELEASE_URL" -O - | tar xzf -
  cd fast5-${FAST5_VERSION}/python
  python setup.py install

Collection


View on Datalad

Metrics

key value
id /containers/idot-Singularity_recipes-fast5
collection name idot/Singularity_recipes
branch master
tag fast5
commit a226658cf75f892b783a90b5b887413e1d1ef25d
version (container hash) 37b7767fafdf7b3fe48f70970aadba2e
build date 2018-07-31T11:15:57.513Z
size (MB) 843
size (bytes) 402321439
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.