Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: gear-genomics/dicey
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.1.8
Choose a base ref
...
head repository: gear-genomics/dicey
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Loading
Showing with 1,847 additions and 388 deletions.
  1. +32 −0 .github/workflows/release.yml
  2. +1 −0 .gitignore
  3. +6 −3 Dockerfile
  4. +667 −15 LICENSE
  5. +3 −3 Makefile
  6. +17 −10 README.md
  7. BIN data/bar.fa.gz
  8. +3 −3 singularity/dicey.def
  9. +0 −1 src/bed.h
  10. +0 −4 src/blacklist.h
  11. +6 −10 src/chop.h
  12. +5 −5 src/dicey.cpp
  13. +276 −0 src/gtf.h
  14. +1 −1 src/htslib
  15. +3 −7 src/hunter.h
  16. +0 −1 src/index.h
  17. +0 −3 src/mapbam.h
  18. +0 −252 src/mappability.h
  19. +10 −25 src/neighbors.h
  20. +694 −0 src/padlock.h
  21. +11 −18 src/silica.h
  22. +2 −2 src/thal.h
  23. +89 −0 src/util.h
  24. +21 −25 src/version.h
32 changes: 32 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Publish Docker image

on:
release:
types: [published]

jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4

- name: Log in to Docker Hub
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with:
images: geargenomics/dicey

- name: Build and push Docker image
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
with:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.sdsl
.htslib
bin/
data/
src/dicey
src/sdslLite/
*~
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# use the ubuntu base image
FROM ubuntu:18.04
FROM ubuntu:22.04

MAINTAINER Tobias Rausch rausch@embl.de

@@ -19,9 +19,11 @@ RUN apt-get update && apt-get install -y \
libboost-filesystem-dev \
libboost-iostreams-dev \
libbz2-dev \
libdeflate-dev \
libhdf5-dev \
libncurses-dev \
liblzma-dev \
pkg-config \
zlib1g-dev \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
@@ -38,15 +40,16 @@ RUN cd /opt \

# Multi-stage build
FROM alpine:latest
RUN apk add --no-cache bash
RUN mkdir -p /opt/dicey/bin
WORKDIR /opt/dicey/bin
COPY --from=0 /opt/dicey/bin/dicey .

# Workdir
WORKDIR /root/
WORKDIR /home

# Add dicey to PATH
ENV PATH="/opt/dicey/bin:${PATH}"

# by default /bin/sh is executed
CMD ["/bin/sh"]
CMD ["/bin/bash"]
Loading