Skip to content

Instantly share code, notes, and snippets.

@chasemc
Last active August 1, 2022 13:35
Show Gist options
  • Save chasemc/f2162236b551e68865b24eda9cebdf9f to your computer and use it in GitHub Desktop.
Save chasemc/f2162236b551e68865b24eda9cebdf9f to your computer and use it in GitHub Desktop.
Antismash Dockerfile
name: antismash
channels:
- bioconda
- conda-forge
- defaults
dependencies:
- antismash==6.1.0
FROM mambaorg/micromamba:0.23.3
COPY --chown=$MAMBA_USER:$MAMBA_USER antismash.yml /tmp/env.yaml
RUN micromamba create -n antismash
RUN micromamba install --yes --file /tmp/env.yaml && \
micromamba clean --all --yes
ARG MAMBA_DOCKERFILE_ACTIVATE=1
ENV ENV_NAME=antismash
@chasemc
Copy link
Author

chasemc commented Jun 2, 2022

Build the container:

git clone https://gist.github.com/f2162236b551e68865b24eda9cebdf9f.git
cd f2162236b551e68865b24eda9cebdf9f
docker build . --tag my_anti

Use the container:

docker run \
  -v /home/chase/Downloads/aa:/downloads \
  -it anti \
  antismash '/downloads/GCF_000007825.1_ASM782v1.gbff' \
    --output-dir "/downloads/output"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment