-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
61 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
FROM ubuntu:jammy as app | ||
|
||
ARG MULTIQC_VER="1.25" | ||
|
||
# metadata | ||
LABEL base.image="ubuntu:jammy" | ||
LABEL dockerfile.version="1" | ||
LABEL software="MultiQC" | ||
LABEL software.version="${MULTIQC_VER}" | ||
LABEL description="Aggregate bioinformatics results across many samples into a single report." | ||
LABEL website="https://github.com/MultiQC/MultiQC" | ||
LABEL license="https://github.com/MultiQC/MultiQC/blob/main/LICENSE" | ||
LABEL maintainer="Erin Young" | ||
LABEL maintainer.email="[email protected]" | ||
|
||
RUN apt-get update && apt-get install --no-install-recommends -y \ | ||
python3-pip && \ | ||
apt-get clean && apt-get autoclean && rm -rf /var/lib/apt/lists/* | ||
|
||
# install multiqc | ||
RUN pip3 install --no-cache-dir -vv "multiqc==${MULTIQC_VER}" | ||
|
||
ENV LC_ALL='C.UTF-8' \ | ||
LANG='C.UTF-8' | ||
|
||
CMD multiqc --help | ||
|
||
RUN mkdir /data | ||
WORKDIR /data | ||
|
||
# testing layer starts here | ||
FROM app as test | ||
|
||
# getting git | ||
RUN apt-get update && apt-get install -y git | ||
|
||
# to ensure multiqc is in PATH | ||
RUN multiqc --help | ||
|
||
# set working directory so that all test inputs & outputs are kept in /test | ||
RUN mkdir /test | ||
WORKDIR /test | ||
|
||
# getting multiqc test data | ||
RUN git clone https://github.com/ewels/MultiQC_TestData && \ | ||
multiqc . && \ | ||
ls multiqc_report.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# MultiQC container | ||
|
||
Main tool : [MultiQC](https://multiqc.info/) | ||
|
||
Aggregate results from bioinformatics analyses across many samples into a single report. | ||
|
||
Full documentation: [Docs] (https://multiqc.info/docs/) | ||
|
||
# Example Usage | ||
|
||
``` | ||
multiqc -f --cl_config "prokka_fn_snames: True" . | ||
``` |