-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #801 from hutchinsonmiri/master
Adding MultiQC version 1.17
- Loading branch information
Showing
3 changed files
with
74 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,60 @@ | ||
FROM ubuntu:jammy as app | ||
|
||
ARG MULTIQC_VER="1.18" | ||
|
||
# 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/ewels/MultiQC" | ||
LABEL license="https://github.com/ewels/MultiQC/blob/master/LICENSE" | ||
LABEL maintainer="Erin Young" | ||
LABEL maintainer.email="[email protected]" | ||
# Although... let's be honest. Most of this is copied and pasted from Abigail Shockey | ||
|
||
# install remaining dependencies | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
RUN apt-get update && apt-get install -y \ | ||
wget \ | ||
git \ | ||
python3 \ | ||
python3-dev \ | ||
python3-pip \ | ||
locales \ | ||
pandoc \ | ||
texlive-xetex && \ | ||
locale-gen en_US.UTF-8 && \ | ||
apt-get clean && apt-get autoclean && rm -rf /var/lib/apt/lists/* | ||
|
||
# install multiqc | ||
RUN pip3 install "multiqc==${MULTIQC_VER}" | ||
|
||
|
||
# add pandoc to path | ||
ENV PATH="${PATH}" \ | ||
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 | ||
|
||
# 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 and testing pandoc | ||
RUN git clone https://github.com/ewels/MultiQC_TestData && \ | ||
multiqc . && \ | ||
ls multiqc_report.html | ||
|
||
RUN multiqc /test/MultiQC_TestData/data/modules/BUSCO --filename multiqc_report2.html -o multiqc_data2 --pdf && \ | ||
ls multiqc_data2/multiqc_report2.html multiqc_data2/multiqc_report2_data |
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" . | ||
``` |