Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
[scanpy, scrublet] Update scanpy docker image to 1.8.1 and scrublet d…
Browse files Browse the repository at this point in the history
…ocker image to 0.2.3

Closes #340
Closes #331
  • Loading branch information
dweemx committed Jul 8, 2021
1 parent ce7ca65 commit 8370443
Show file tree
Hide file tree
Showing 15 changed files with 36 additions and 37 deletions.
2 changes: 1 addition & 1 deletion conf/test__cell_annotate_filter.config
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ params {
makeVarIndexUnique = false
}
scanpy {
container = 'vibsinglecellnf/scanpy:0.5.0'
container = 'vibsinglecellnf/scanpy:1.8.1'
}
cell_annotate {
off = 'h5ad'
Expand Down
2 changes: 1 addition & 1 deletion conf/test__single_sample_decontx_correct_scrublet.config
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ params {
}
}
scrublet {
container = 'vibsinglecellnf/scrublet:0.1.4'
container = 'vibsinglecellnf/scrublet:0.2.3'
labels {
processExecutor = 'local'
}
Expand Down
2 changes: 1 addition & 1 deletion conf/test__single_sample_scrublet.config
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ params {
}
}
scrublet {
container = 'vibsinglecellnf/scrublet:0.1.4'
container = 'vibsinglecellnf/scrublet:0.2.3'
labels {
processExecutor = 'local'
}
Expand Down
2 changes: 1 addition & 1 deletion docs/development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ The parameter structure internally (post-merge) is:
}
}
scanpy {
container = 'docker://vib-singlecell-nf/scanpy:0.5.0'
container = 'docker://vib-singlecell-nf/scanpy:1.8.1'
filter {
...
}
Expand Down
4 changes: 2 additions & 2 deletions docs/features.rst
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ You'll just have to repeat the following structure for the parameters which you
params {
sc {
scanpy {
container = 'vibsinglecellnf/scanpy:0.5.2'
container = 'vibsinglecellnf/scanpy:1.8.1'
filter {
report_ipynb = '/src/scanpy/bin/reports/sc_filter_qc_report.ipynb'
// Here we enable the multi-sample feature for the cellFilterMinNgenes parameter
Expand Down Expand Up @@ -364,7 +364,7 @@ If you want to apply custom parameters for some specific samples and have a "gen
params {
sc {
scanpy {
container = 'vibsinglecellnf/scanpy:0.5.2'
container = 'vibsinglecellnf/scanpy:1.8.1'
filter {
report_ipynb = '/src/scanpy/bin/reports/sc_filter_qc_report.ipynb'
// Here we enable the multi-sample feature for the cellFilterMinNgenes parameter
Expand Down
4 changes: 2 additions & 2 deletions docs/pipelines.rst
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ Make sure the following parts of the generated config are properly set:
}
sc {
scanpy {
container = 'vibsinglecellnf/scanpy:0.5.2'
container = 'vibsinglecellnf/scanpy:1.8.1'
}
cell_annotate {
off = 'h5ad'
Expand Down Expand Up @@ -569,7 +569,7 @@ Make sure the following parts of the generated config are properly set:
}
sc {
scanpy {
container = 'vibsinglecellnf/scanpy:0.5.2'
container = 'vibsinglecellnf/scanpy:1.8.1'
}
cell_annotate {
off = 'h5ad'
Expand Down
2 changes: 1 addition & 1 deletion src/celda/nextflow.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
params {
sc {
template {
container = 'vibsinglecellnf/scanpy:0.5.0'
container = 'vibsinglecellnf/scanpy:1.8.1'
process1 {
param1 = ''
}
Expand Down
20 changes: 10 additions & 10 deletions src/scanpy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ FROM python:3.7.4-slim AS compile-image

ENV DEBIAN_FRONTEND=noninteractive
RUN BUILDPKGS="build-essential apt-utils \
python3-dev libhdf5-dev libfreetype6-dev libtool \
m4 autoconf automake patch bison flex libpng-dev libopenblas-dev \
tcl-dev tk-dev libxml2-dev zlib1g-dev libffi-dev cmake" && \
python3-dev libhdf5-dev libfreetype6-dev libtool \
m4 autoconf automake patch bison flex libpng-dev libopenblas-dev \
tcl-dev tk-dev libxml2-dev zlib1g-dev libffi-dev cmake" && \
apt-get update && \
apt-get install -y --no-install-recommends apt-utils debconf locales && dpkg-reconfigure locales && \
apt-get install -y --no-install-recommends $BUILDPKGS
Expand All @@ -14,23 +14,23 @@ RUN python -m venv /opt/venv
ENV PATH="/opt/venv/bin:$PATH"

# install dependencies:
COPY requirements.txt /tmp/
COPY requirements.txt /tmp/requirements.txt
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir -r /tmp/requirements.txt

RUN pip install --no-cache-dir scanpy==1.7.0
RUN pip install --no-cache-dir scanpy==1.8.1


FROM python:3.7.4-slim AS build-image

ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get -y update && \
apt-get -y --no-install-recommends install \
# Need to run ps
procps \
libxml2 \
# Need to run MulticoreTSNE
libgomp1 && \
# Need to run ps
procps \
libxml2 \
# Need to run MulticoreTSNE
libgomp1 && \
rm -rf /var/cache/apt/* && \
rm -rf /var/lib/apt/lists/*

Expand Down
2 changes: 1 addition & 1 deletion src/scanpy/conf/base.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
params {
sc {
scanpy {
container = 'vibsinglecellnf/scanpy:0.5.2'
container = 'vibsinglecellnf/scanpy:1.8.1'
report {
annotations_to_plot = []
}
Expand Down
2 changes: 1 addition & 1 deletion src/scanpy/conf/min.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
params {
sc {
scanpy {
container = 'vibsinglecellnf/scanpy:0.5.2'
container = 'vibsinglecellnf/scanpy:1.8.1'
report {
annotations_to_plot = []
}
Expand Down
22 changes: 11 additions & 11 deletions src/scanpy/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
anndata==0.7.5
annoy==1.17.0
anndata==0.7.6
annoy==1.15.2
ansiwrap==0.8.4
appdirs==1.4.4
async-generator==1.10
attrs==20.3.0
backcall==0.2.0
bbknn==1.4.0
bbknn==1.5.1
beautifulsoup4==4.9.3
bioservices==1.7.11
black==20.8b1
Expand All @@ -27,7 +27,7 @@ get-version==2.1
gevent==21.1.2
greenlet==1.0.0
grequests==0.6.0
h5py==3.1.0
h5py==2.10.0
idna==2.10
importlib-metadata==3.4.0
ipykernel==5.4.3
Expand All @@ -46,7 +46,7 @@ leidenalg==0.8.3
llvmlite==0.35.0
loompy==3.0.6
louvain==0.7.0
lxml==4.6.2
lxml==4.6.3
MarkupSafe==1.1.1
matplotlib==3.3.4
mistune==0.8.4
Expand All @@ -64,10 +64,10 @@ nest-asyncio==1.5.1
networkx==2.5
numba==0.52.0
numexpr==2.7.2
numpy==1.20.1
numpy==1.21.0
numpy-groupies==0.9.13
packaging==20.9
pandas==1.2.2
pandas==1.3.0
pandocfilters==1.4.3
papermill==2.3.2
parso==0.8.1
Expand All @@ -91,7 +91,7 @@ pyzmq==22.0.3
regex==2020.11.13
requests==2.25.1
requests-cache==0.5.2
scikit-learn==0.24.1
scikit-learn==0.22.0
scipy==1.6.1
seaborn==0.11.1
sinfo==0.3.1
Expand All @@ -113,12 +113,12 @@ tqdm==4.57.0
traitlets==5.0.5
typed-ast==1.4.2
typing-extensions==3.7.4.3
umap-learn==0.5.1
urllib3==1.26.3
umap-learn==0.3.10
urllib3==1.26.5
wcwidth==0.2.5
webencodings==0.5.1
wrapt==1.12.1
xmltodict==0.12.0
zipp==3.4.0
zope.event==4.5.0
zope.interface==5.2.0
zope.interface==5.2.0
3 changes: 1 addition & 2 deletions src/scrublet/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
FROM vibsinglecellnf/scanpy:0.6.1
FROM vibsinglecellnf/scanpy:1.8.1

RUN pip install --no-cache-dir scrublet==0.2.3

2 changes: 1 addition & 1 deletion src/scrublet/conf/base.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
params {
sc {
scrublet {
container = 'vibsinglecellnf/scrublet:0.2.1'
container = 'vibsinglecellnf/scrublet:0.2.3'
doublet_detection {
report_ipynb = "${params.misc.test.enabled ? '../../..' : ''}/src/scrublet/bin/reports/sc_doublet_detection_report.ipynb"
useVariableFeatures = 'False'
Expand Down
2 changes: 1 addition & 1 deletion src/soupx/nextflow.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
params {
sc {
template {
container = 'vibsinglecellnf/scanpy:0.5.0'
container = 'vibsinglecellnf/scanpy:1.8.1'
process1 {
param1 = ''
}
Expand Down
2 changes: 1 addition & 1 deletion src/utils/conf/test.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
params {
sc {
scanpy {
container = 'vibsinglecellnf/scanpy:0.5.2'
container = 'vibsinglecellnf/scanpy:0.7.0'
}
file_converter {
iff = '10x_cellranger_mex'
Expand Down

0 comments on commit 8370443

Please # to comment.