HUB
Sign inSign up

skchronicles/ccbr_bam2strandedbw

By skchronicles

•Updated about 6 years ago

Dependencies to convert bam file to stranded bigwig files (fwd and rev)

Image
0

508

skchronicles/ccbr_bam2strandedbw repository overview

⁠Dockerfile

Here is a link⁠ to the bam to stranded bigwig script.

# bam2strandedbw Dockerfile (v0.0.1)
FROM ubuntu:18.04

MAINTAINER <[email protected]>, <[email protected]>

RUN mkdir -p /data2
RUN mkdir -p /opt2/ucsc/

# Update apt-get before downloading packages 
RUN apt-get update && \
    apt-get upgrade -y 

# Install dependencies: Samtools (1.7-1), Bedtools (2.26.0+dfsg-5), and GNU Parallel (20161222-1) 
RUN DEBIAN_FRONTEND=noninteractive apt-get install --yes \
	wget \
	samtools \
	bedtools \
	parallel \
	locales && \
apt-get clean && \
    rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

WORKDIR /opt2/ucsc

# Get a controlled release of UCSC tool from my mirror: https://github.com/skchronicles/ucsc_mirror/ 
RUN wget https://github.com/skchronicles/ucsc_mirror/raw/main/bedSort && \
	wget https://github.com/skchronicles/ucsc_mirror/raw/main/bedGraphToBigWig && \
	chmod a+rx /opt2/ucsc/*

# Set environment variable(s)
# Configure "locale", see https://github.com/rocker-org/rocker/issues/19
RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \
    && locale-gen en_US.utf8 \
    && /usr/sbin/update-locale LANG=en_US.UTF-8

# Add QualiMap to PATH
ENV PATH="/opt2/ucsc":$PATH

COPY Dockerfile /opt2/
WORKDIR /data2

Tag summary

Content type

Image

Digest

Size

126.8 MB

Last updated

about 6 years ago

docker pull skchronicles/ccbr_bam2strandedbw