-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
928 additions
and
713 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,22 @@ | ||
pipeline: | ||
setup: | ||
image: hbb:salmon_build_new | ||
image: combinelab/hbb_salmon_build:latest | ||
commands: | ||
- echo "Starting build" | ||
- ./.drone/build.sh | ||
test_indexing: | ||
image: hbb:salmon_build_new | ||
image: combinelab/hbb_salmon_build:latest | ||
commands: | ||
- echo "[Testing quant]" | ||
- ./.drone/test_quant.sh | ||
volumes: | ||
- /mnt/scratch6/avi/data:/mnt/data | ||
- /mnt/scratch6/salmon_ci:/mnt/ci_res | ||
copy_build: | ||
image: hbb:salmon_build_new | ||
image: combinelab/hbb_salmon_build:latest | ||
commands: | ||
- echo "[Packaging binary]" | ||
- ./.drone/copy_build.sh | ||
volumes: | ||
- /mnt/scratch6/avi/data:/mnt/data | ||
- /mnt/scratch6/salmon_ci:/mnt/ci_res | ||
notify_gitter: | ||
image: plugins/gitter | ||
commands: | ||
- echo "[Notifying gitter]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
VERSION_MAJOR 1 | ||
VERSION_MINOR 8 | ||
VERSION_MINOR 9 | ||
VERSION_PATCH 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
# image: COMBINE-lab/salmon | ||
# This dockerfile is based on the one created by | ||
# Titus Brown (available at https://github.com/ctb/2015-docker-building/blob/master/salmon/Dockerfile) | ||
FROM ubuntu:18.04 | ||
FROM ubuntu:18.04 as base | ||
MAINTAINER [email protected] | ||
|
||
ENV PACKAGES git gcc make g++ libboost-all-dev liblzma-dev libbz2-dev \ | ||
ca-certificates zlib1g-dev libcurl4-openssl-dev curl unzip autoconf apt-transport-https ca-certificates gnupg software-properties-common wget | ||
ENV SALMON_VERSION 1.8.0 | ||
ENV SALMON_VERSION 1.9.0 | ||
|
||
# salmon binary will be installed in /home/salmon/bin/salmon | ||
|
||
|
@@ -36,7 +36,7 @@ RUN curl -k -L https://github.com/COMBINE-lab/salmon/archive/v${SALMON_VERSION}. | |
cd salmon-${SALMON_VERSION} && \ | ||
mkdir build && \ | ||
cd build && \ | ||
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local && make && make install | ||
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/salmon && make && make install | ||
|
||
# For dev version | ||
#RUN git clone https://github.com/COMBINE-lab/salmon.git && \ | ||
|
@@ -46,6 +46,11 @@ RUN curl -k -L https://github.com/COMBINE-lab/salmon/archive/v${SALMON_VERSION}. | |
# cd build && \ | ||
# cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local && make && make install | ||
|
||
FROM ubuntu:18.04 | ||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends libhwloc5 \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
COPY --from=base /usr/local/salmon/ /usr/local/ | ||
ENV PATH /home/salmon-${SALMON_VERSION}/bin:${PATH} | ||
ENV LD_LIBRARY_PATH "/usr/local/lib:${LD_LIBRARY_PATH}" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#! /bin/bash | ||
SALMON_VERSION=1.8.0 | ||
SALMON_VERSION=1.9.0 | ||
docker build --no-cache -t combinelab/salmon:${SALMON_VERSION} -t combinelab/salmon:latest . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.