elimoss/lathe:quickmerge

$ singularity pull shub://elimoss/lathe:quickmerge

Singularity Recipe

# Metagenomics Singularity environment definition for long read workflow
# Eli Moss
# elimoss@stanford.edu
# January 2019

# build this environment with `sudo singularity build bhatt_meta_singularity.img bhatt_meta_singularity.def`
# for development, build with sudo singularity build --sandbox bhatt_meta_singularity bhatt_meta_singularity.def,
# and then modify with sudo singularity shell --writable bhatt_meta_singularity/
# When complete, use sudo singularity build bhatt_meta.simg bhatt_meta_singularity/

# This environment is used in practice by adding --with-singularity shub://elimoss/metagenomics_workflows:longread
# to the snakemake command.

bootstrap: docker
from: ubuntu:19.04

# this command assumes at least singularity 2.3
%environment
    PATH="/usr/local/anaconda/bin:$PATH"
		PATH="/usr/bin/quickmerge/:$PATH"
		PATH="/usr/local/anaconda/bin:$PATH"
%post
    apt-get update
    apt-get install -y eatmydata
    eatmydata apt-get install -y wget bzip2 \
      ca-certificates libglib2.0-0 libxext6 libsm6 libxrender1 \
      git bc rsync zlib1g-dev libbz2-dev liblzma-dev autoconf
    apt-get clean

    apt-get install -y build-essential

   #install quickmerge
   wget https://github.com/mahulchak/quickmerge/archive/v0.3.tar.gz
   tar -zxf v0.3.tar.gz
	 mv quickmerge-0.3/ quickmerge
	 cd quickmerge/
   bash make_merger.sh
	 cd ..
	 mv quickmerge /usr/bin/



    # install anaconda
    if [ ! -d /usr/local/anaconda ]; then
         wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \
            -O ~/anaconda.sh && \
         bash ~/anaconda.sh -b -p /usr/local/anaconda && \
         rm ~/anaconda.sh
    fi
		export PATH="/usr/local/anaconda/bin:$PATH"

		conda install -c bioconda mummer

Collection


View on Datalad

Metrics

key value
id /containers/elimoss-lathe-quickmerge
collection name elimoss/lathe
branch master
tag quickmerge
commit d7d150fb9318a2690d55ff6411a6538d497c9baf
version (container hash) 8f6c6ec7998b8c27a7f1e8356e015f2e
build date 2021-04-14T14:37:13.692Z
size (MB) 978
size (bytes) 398549023
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.