Skip to content
Snippets Groups Projects
Select Git revision
  • 4734f32a1c418c7c2b91813f0cea3065d30111ec
  • master default protected
  • dtorresc-master-patch-32428
  • dev
  • v0.4.0
  • v0.3.0
  • v0.2.9
  • v0.2.8
  • v0.2.7
  • v0.2.6
  • v0.1.0
  • v0.2.5
  • v0.2.4
  • v0.2.3
  • v0.2.2
  • v0.2.1
  • v0.2.0
  • v0.1.2
18 results

Dockerfile

Blame
  • Forked from LBMC / nextflow
    Source project has a limited visibility.
    Dockerfile 1.17 KiB
    FROM conda/miniconda3
    
    LABEL Name=hicstuff Version=3.2.3
    
    RUN echo "deb http://archive.debian.org/debian stretch main contrib non-free" > /etc/apt/sources.list
    
    RUN apt-get update && apt-get install -y procps bash git
    
    RUN conda update -y -n base -c defaults conda \
    && git clone https://github.com/koszullab/hicstuff.git \
    && cd hicstuff \
    && git checkout v3.2.3 \
    && conda init \
    && conda config --add channels r \
    && conda config --add channels defaults \
    && conda config --add channels conda-forge \
    && conda config --add channels bioconda \
    && conda create -y -n hicstuff
    SHELL ["conda", "run", "-n", "hicstuff", "/bin/bash", "-c"]
    RUN conda install -c conda-forge -y \
        pairtools \
        pip \
        bowtie2 \
        minimap2 \
        bwa \
        samtools \
        htslib \
        cooler \
    && conda clean -afy \
    && cd hicstuff \
    && sed -i 's/pairtools//g' requirements.txt \
    && pip install -Ur requirements.txt \
    && pip install pysam cython \
    && pip install . \
    #&& pip install pairtools \
    && chmod -R +x /usr/local/lib/python3.10/ \
    && chmod -R +x /usr/local/lib/python3.10/lib-dynload/ \
    && echo "conda activate hicstuff" >> /root/.bashrc
    ENV PATH /usr/local/envs/hicstuff/bin:/usr/local/condabin:$PATH