Skip to content

Commit e0bbc37

Browse files
author
Daniel Cooke
committed
Merge branch 'release/0.7.1'
2 parents cc3b8fa + c5d5156 commit e0bbc37

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+16144
-396
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ project(octopus)
88

99
set(octopus_VERSION_MAJOR 0)
1010
set(octopus_VERSION_MINOR 7)
11-
set(octopus_VERSION_PATCH 0)
11+
set(octopus_VERSION_PATCH 1)
1212
set(octopus_VERSION_RELEASE "")
1313

1414
# Generate list of compile commands. This helps debugging and doesn't have a downside.
@@ -43,6 +43,7 @@ configure_file (
4343
include_directories(${CMAKE_BINARY_DIR}/generated)
4444

4545
option(BUILD_SHARED_LIBS "Build the shared library" ON)
46+
set(COMPILER_ARCHITECTURE "native" CACHE STRING "Compiler -march argument")
4647

4748
set(CMAKE_COLOR_MAKEFILE ON)
4849

Dockerfile

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM ubuntu:latest
22

3-
ENV DEBIAN_FRONTEND=noninteractive
3+
ARG DEBIAN_FRONTEND=noninteractive
4+
ENV TZ=Europe/London
45

56
# Get all apt dependencies
67
RUN apt-get -y update
@@ -17,7 +18,15 @@ RUN apt-get -y install \
1718
RUN pip3 install distro
1819

1920
# Install Octopus
20-
COPY . /home/octopus
21-
RUN /home/octopus/scripts/install.py --dependencies --forests --threads 4
21+
ARG threads=4
22+
ARG architecture=haswell
23+
COPY . /opt/octopus
24+
RUN /opt/octopus/scripts/install.py \
25+
--dependencies \
26+
--forests \
27+
--threads $threads \
28+
--architecture $architecture
2229

23-
ENTRYPOINT ["/home/octopus/bin/octopus"]
30+
ENV PATH="/opt/octopus/bin:${PATH}"
31+
32+
ENTRYPOINT ["octopus"]

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ $ source ~/.bash_profile
3333
Call some variants:
3434

3535
```shell
36-
$ FOREST="$(pwd)/octopus/resources/forests/0.7.0/germline.v0.7.0.forest"
36+
$ FOREST="$(pwd)/octopus/resources/forests/germline.v0.7.0.forest"
3737
$ octopus -R hs37d5.fa -I NA12878.bam -T 1 to MT -o NA12878.octopus.vcf.gz --forest $FOREST --threads 8
3838
```
3939

@@ -43,7 +43,7 @@ Consult the [command line reference](https://github.com/luntergroup/octopus/wiki
4343
* A C++14 compiler with SSE2 support
4444
* A C++14 standard library implementation
4545
* Git 2.5 or greater
46-
* Boost 1.65 or greater
46+
* Boost 1.74 or greater
4747
* htslib 1.4 or greater
4848
* GMP 5.1.0 or greater
4949
* CMake 3.9 or greater

lib/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
add_subdirectory(tandem)
2-
add_subdirectory(ranger)
2+
add_subdirectory(ranger)
3+
add_subdirectory(date)

lib/date/CMakeLists.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
set(DATE_SOURCES
2+
date.h
3+
tz.h
4+
tz.cpp
5+
tz_private.h
6+
ios.h)
7+
8+
add_library(date-tz STATIC ${DATE_SOURCES})
9+
10+
set(WarningIgnores
11+
-Wno-unused-parameter
12+
-Wno-unused-function
13+
-Wno-missing-braces)
14+
15+
add_compile_options(-Wall -Wextra -Werror ${WarningIgnores})
16+
17+
# find_package(CURL REQUIRED)
18+
# target_include_directories(date-tz SYSTEM PRIVATE ${CURL_INCLUDE_DIRS})
19+
# target_link_libraries(date-tz PRIVATE ${CURL_LIBRARIES})
20+

0 commit comments

Comments
 (0)