Skip to content

Commit 1da5042

Browse files
chore: Merge branch 'dev-sovacool'
2 parents 6e67825 + 68c6ca1 commit 1da5042

5 files changed

Lines changed: 34 additions & 56 deletions

File tree

.codeocean/environment.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"version": 1,
3+
"base_image": "codeocean/mosuite:v0.2.1.9001_a954b69",
4+
"post_install": true,
5+
"options": {
6+
"registry_host_arg": true,
7+
"git_ask_pass": true,
8+
"mount_secrets": true
9+
}
10+
}

CHANGELOG.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,35 @@
11
# CodeOcean Capsule - MOSuite - create multiOmicDataset
22

3+
## development version
4+
5+
- Use MOSuite v0.2.1-dev docker container.
6+
37
## v5.0
48

5-
The output multiOmicDataSet RDS file is now saved to a subdirectory (`results/moo/moo.rds`) for easier re-use as a data asset.
9+
- The output multiOmicDataSet RDS file is now saved to a subdirectory (`results/moo/moo.rds`) for easier re-use as a data asset.
10+
11+
<https://poc-nci.codeocean.io/capsule/6541445/tree/v5> (`4174472`)
612

713
## v4.0
814

915
Report data files found for debugging purposes.
1016

17+
<https://poc-nci.codeocean.io/capsule/6541445/tree/v3> (`37f3c43`)
18+
1119
## v3.0
1220

1321
Removed counts file & input file parameters -- they are instead found via regex patterns in the data directory.
1422

23+
<https://poc-nci.codeocean.io/capsule/6541445/tree/v3> (`04aa57b`)
24+
1525
## v2.0
1626

1727
This release is identical to v1.0, except it is a Standard app rather than a No-Code app.
1828

29+
<https://poc-nci.codeocean.io/capsule/6541445/tree/v2> (`a332cc8`)
30+
1931
## v1.0
2032

21-
First release of MOSuite-create as a No-Code app
33+
First release of MOSuite-create as a No-Code app.
34+
35+
<https://poc-nci.codeocean.io/capsule/6541445/tree/v1> (`a332cc8`)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ Code Ocean capsule: MOSuite - create multiOmicDataset
44

55
create multiOmicDataset from csv/tsv files
66

7-
[Code Ocean Capsule](https://poc-nci.codeocean.io/capsule/2543295/tree)
7+
[Code Ocean Capsule](https://poc-nci.codeocean.io/capsule/2543295/tree) | [Latest Release](https://poc-nci.codeocean.io/capsule/6541445/tree/latest)

environment/Dockerfile

Lines changed: 5 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,11 @@
1-
# hash:sha256:c9b112f3e66624a69cb708be33c863924c2212d60390363252f0db810ff49f7f
1+
# hash:sha256:260fa125cd3a5c9a7837cc9845f2662d183f1a2d77599fa149c5cf5e893e1c6d
22
ARG REGISTRY_HOST
3-
FROM $REGISTRY_HOST/codeocean/mosuite:latest
3+
FROM $REGISTRY_HOST/codeocean/mosuite:v0.2.1.9001_a954b69
44

55
ARG DEBIAN_FRONTEND=noninteractive
66
ARG GIT_ASKPASS
77
COPY git-askpass /
88

9-
ARG RCACHE_OPTIONS
10-
RUN echo $RCACHE_OPTIONS >> $(Rscript -e 'cat(R.home())')/etc/Rprofile.site
11-
ARG R_VERSION=4.3.2
12-
ENV R_VERSION=${R_VERSION}
13-
14-
SHELL ["/bin/bash", "-lc"]
15-
16-
# install conda packages
17-
RUN mamba install -y -c conda-forge \
18-
r-base=${R_VERSION} \
19-
r-argparse \
20-
r-amap \
21-
r-broom \
22-
r-cffr \
23-
r-colorspace \
24-
r-dendextend \
25-
r-devtools \
26-
"r-ggplot2 <4.0.0" \
27-
r-ggrepel \
28-
r-gridExtra \
29-
r-matrix \
30-
r-mgcv \
31-
r-patchwork \
32-
r-plotly \
33-
r-rcolorbrewer \
34-
r-readr \
35-
r-rmarkdown \
36-
r-survival \
37-
r-upsetr \
38-
r-viridis \
39-
bioconductor-annotationdbi \
40-
bioconductor-annotate \
41-
bioconductor-complexheatmap \
42-
bioconductor-delayedarray \
43-
bioconductor-edger \
44-
bioconductor-genomicranges \
45-
bioconductor-keggrest \
46-
bioconductor-limma \
47-
bioconductor-s4arrays \
48-
bioconductor-summarizedexperiment \
49-
bioconductor-sva \
50-
&& conda clean -afy
51-
52-
# install R package
53-
RUN R -e 'remotes::install_github("CCBR/MOSuite", dependencies = TRUE, upgrade="never")' && \
54-
R -e "library(MOSuite); devtools::test('/opt2/conda/lib/R/library/MOSuite')" && \
55-
R -s -e "readr::write_csv(tibble::as_tibble(installed.packages()), '/data2/r-packages.csv')"
56-
57-
# cleanup
58-
RUN apt-get clean && apt-get purge \
59-
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
9+
COPY postInstall /
10+
RUN --mount=type=secret,id=secrets . /run/secrets/secrets \
11+
&& /postInstall

environment/postInstall

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/usr/bin/env bash
2+
set -e

0 commit comments

Comments
 (0)