Skip to content
This repository was archived by the owner on Aug 23, 2024. It is now read-only.

Commit 43bcd10

Browse files
committed
Merge branch 'release/1.0.0'
2 parents 934c2c5 + 928161e commit 43bcd10

File tree

12 files changed

+486
-112
lines changed

12 files changed

+486
-112
lines changed

CHANGES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
### 1.0.0
2+
* Test data in `examples/analysis_config.local.json` moved to a non-expiring location.
3+
* See [dockstore-cgpwxs:2.0.0](https://github.com/cancerit/dockstore-cgpwxs/releases/tag/2.0.0)
4+
* Significant shrinking of image.
5+
* Re-org of exec order to reduce overall runtime.

Dockerfile

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,36 @@
1-
FROM quay.io/wtsicgp/dockstore-cgpwxs:1.0.4
1+
FROM quay.io/wtsicgp/dockstore-cgpwxs:2.0.1
22

33
MAINTAINER keiranmraine@gmail.com
44

55
LABEL uk.ac.sanger.cgp="Cancer Genome Project, Wellcome Trust Sanger Institute" \
6-
version="0.1.1" \
6+
version="1.0.0" \
77
description="The CGP WGS pipeline for dockstore.org"
88

99
USER root
1010

1111
ENV OPT /opt/wtsi-cgp
1212
ENV PATH $OPT/bin:$PATH
1313
ENV PERL5LIB $OPT/lib/perl5
14+
ENV LD_LIBRARY_PATH $OPT/lib
1415
ENV R_LIBS $OPT/R-lib
1516
ENV R_LIBS_USER $R_LIBS
1617

1718
COPY build/apt-build.sh build/
1819
RUN bash build/apt-build.sh
1920

21+
COPY build/r-build.sh build/
22+
COPY build/rlib-build.R build/
23+
RUN bash build/r-build.sh $OPT 1
24+
2025
COPY build/perllib-build.sh build/
2126
RUN bash build/perllib-build.sh
2227

2328
COPY build/opt-build.sh build/
24-
RUN bash build/opt-build.sh
29+
RUN bash build/opt-build.sh $OPT
2530

2631
COPY scripts/analysisWGS.sh $OPT/bin/analysisWGS.sh
2732
COPY scripts/ds-wrapper.pl $OPT/bin/ds-wrapper.pl
28-
COPY bin/ssearch36-fasta-36.3.8d-linux64 $OPT/bin/ssearch36
29-
RUN chmod a+x $OPT/bin/analysisWGS.sh $OPT/bin/ds-wrapper.pl $OPT/bin/ssearch36
33+
RUN chmod a+x $OPT/bin/analysisWGS.sh $OPT/bin/ds-wrapper.pl
3034

3135
USER ubuntu
3236
WORKDIR /home/ubuntu

Dockstore.cwl

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ dct:creator:
1919

2020
requirements:
2121
- class: DockerRequirement
22-
dockerPull: "quay.io/wtsicgp/dockstore-cgpwgs:0.1.1"
22+
dockerPull: "quay.io/wtsicgp/dockstore-cgpwgs:1.0.0"
2323

2424
hints:
2525
- class: ResourceRequirement
26-
coresMin: 1 # works but long, 8 recommended
26+
coresMin: 1 # works but long, 24 recommended
2727
ramMin: 32000
2828
outdirMin: 20000
2929

@@ -119,6 +119,14 @@ inputs:
119119
separate: true
120120
shellQuote: true
121121

122+
skipbb:
123+
type: boolean?
124+
doc: "Skip Battenberg allele counts"
125+
inputBinding:
126+
prefix: -skipbb
127+
position: 11
128+
separate: true
129+
122130
outputs:
123131
run_params:
124132
type: File
-876 KB
Binary file not shown.

build/apt-build.sh

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@
22

33
set -eux
44

5-
apt-get -yq update
6-
apt-get -yq install gfortran
7-
apt-get -yq install r-base r-base-dev
8-
9-
### security upgrades and cleanup
10-
apt-get -yq install unattended-upgrades
11-
unattended-upgrades
12-
apt -yq autoremove
13-
apt-get clean
5+
apt-get update
6+
apt-get install -qy --no-install-recommends libreadline6-dev
7+
apt-get install -qy --no-install-recommends libcairo2-dev
8+
apt-get install -qy --no-install-recommends gfortran
9+
apt-get install -qy --no-install-recommends unzip
10+
apt-get install -qy --no-install-recommends libboost-all-dev
11+
apt-get install -qy --no-install-recommends libpstreams-dev

0 commit comments

Comments
 (0)