Skip to content

Commit

Permalink
Use source package to install GNU parallel.
Browse files Browse the repository at this point in the history
This makes easier binary packaging by just making a tarball of
/opt/tailseeker for redistributions.
  • Loading branch information
hyeshik committed Dec 1, 2016
1 parent 59a17bc commit e318291
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN apt-get -y update && \
apt-get -y upgrade && \
apt-get -y install whiptail git pkg-config gcc wget make && \
apt-get -y install libblas-dev liblapack-dev zlib1g-dev libbz2-dev gfortran && \
apt-get -y install file python3 parallel python3-matplotlib python3-dev && \
apt-get -y install file python3 python3-matplotlib python3-dev && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

Expand Down Expand Up @@ -89,6 +89,14 @@ RUN cd /tmp && \
install -s -m 0755 -t /opt/tailseeker/bin bin/bedtools && \
cd / && rm -rf /tmp/bedtools-2.26.0.tar.gz /tmp/bedtools2

# Install parallel
RUN cd /tmp && \
wget -q http://ftp.gnu.org/gnu/parallel/parallel-20161122.tar.bz2 && \
tar -xjf parallel-20161122.tar.bz2 && \
cd parallel-20161122 && \
./configure --prefix=/opt/tailseeker && make && make install && \
cd / && rm -rf /tmp/parallel-20161122.tar.bz2 /tmp/parallel-20161122

# Install tailseeker 3
RUN cd /opt/tailseeker && \
env TAILSEEKER_USE_AYB=yes TAILSEEKER_ANALYSIS_LEVEL=3 TAILSEEKER_USE_GSNAP=yes \
Expand Down

0 comments on commit e318291

Please sign in to comment.