Skip to content

Commit

Permalink
adding GenoVi version 0.4.3 (#785)
Browse files Browse the repository at this point in the history
* adding genovi version 0.4.3

* added labels
  • Loading branch information
erinyoung authored Nov 15, 2023
1 parent fc51f62 commit 1e301c8
Show file tree
Hide file tree
Showing 4 changed files with 110 additions and 0 deletions.
1 change: 1 addition & 0 deletions Program_Licenses.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ The licenses of the open-source software that is contained in these Docker image
| GAMBIT | GNU aGPLv3 | https://github.com/jlumpe/gambit/blob/master/LICENSE |
| GAMMA | Apache 2.0 | https://github.com/rastanton/GAMMA/blob/main/LICENSE |
| Genotyphi | GNU GPLv3 | https://github.com/katholt/genotyphi/blob/main/LICENSE |
| GenoVi | BY-NC-SA Creative Commons License | https://github.com/robotoD/GenoVi/blob/main/LICENSE.txt |
| gfastats | MIT | https://github.com/vgl-hub/gfastats/blob/main/LICENSE |
| Hmmer | BSD-3 | http://eddylab.org/software/hmmer/Userguide.pdf |
| homopolish | GNU GPLv3 | https://github.com/ythuang0522/homopolish/blob/master/LICENSE |
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ To learn more about the docker pull rate limits and the open source software pro
| [Freyja](https://hub.docker.com/r/staphb/freyja) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/freyja)](https://hub.docker.com/r/staphb/freyja) | <ul><li>1.2</li><li>1.2.1</li><li>1.3.1</li><li>1.3.2</li><li>1.3.4</li><li>1.3.7</li><li>1.3.8</li><li>1.3.9</li><li>1.3.10</li><li>1.3.11</li><li>1.3.12</li><li>1.4.2</li><li>[1.4.3](freyja/1.4.3/)</li><li>[1.4.4](freyja/1.4.4/)</li><li>[1.4.5](freyja/1.4.5/)</li><li>[1.4.7](freyja/1.4.7/)</li></ul> | https://github.com/andersen-lab/Freyja |
| [GAMBIT](https://hub.docker.com/r/staphb/gambit) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/gambit)](https://hub.docker.com/r/staphb/gambit) | <ul><li>0.3.0</li><li>0.4.0</li><li>0.5.0</li><li>1.0.0</li></ul> | https://github.com/jlumpe/gambit |
| [GAMMA](https://hub.docker.com/r/staphb/gamma) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/gamma)](https://hub.docker.com/r/staphb/gamma) | <ul><li>1.4</li><li>2.1</li><li>2.2</li></ul> | https://github.com/rastanton/GAMMA/ |
| [GenoVi](https://hub.docker.com/r/staphb/genovi) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/genovi)](https://hub.docker.com/r/staphb/genovi) | <ul><li>[0.2.16](./genovi/0.2.16/)</li></ul> | https://github.com/robotoD/GenoVi |
| [gfastats](https://hub.docker.com/r/staphb/gfastats) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/gfastats)](https://hub.docker.com/r/staphb/gfastats) | <ul><li>1.3.6</li></ul> | https://github.com/vgl-hub/gfastats |
| [hmmer](https://hub.docker.com/r/staphb/hmmer) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/hmmer)](https://hub.docker.com/r/staphb/hmmer) | <ul><li>[3.3](hmmer/3.3/)</li><li>[3.3.2](hmmer/3.3.2/)</li></ul> | http://hmmer.org/ |
| [homopolish](https://hub.docker.com/r/staphb/homopolish) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/homopolish)](https://hub.docker.com/r/staphb/homopolish) | <ul><li>0.4.1</li></ul> | https://github.com/ythuang0522/homopolish/ |
Expand Down
82 changes: 82 additions & 0 deletions genovi/0.4.3/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
FROM python:3.7-slim as app

ARG GENOVI_VER="0.4.3"
ARG CIRCOS_VER="0.69-9"

LABEL base.image="python:3.7-slim"
LABEL dockerfile.version="1"
LABEL software="GenoVi"
LABEL software.version="${GENOVI_VER}"
LABEL description="Visualizing circos plots"
LABEL website="https://github.com/robotoD/GenoVi"
LABEL license="https://github.com/robotoD/GenoVi/blob/main/LICENSE.txt"
LABEL maintainer="Erin Young"
LABEL maintainer.email="[email protected]"

# most of this is for circos. cairo is for genovi.
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
wget \
ca-certificates \
procps \
libgd-dev \
perl \
cpanminus \
pkg-config \
make \
libgd-graph-perl \
libcairo2-dev && \
apt-get autoclean && rm -rf /var/lib/apt/lists/*

# these. are. all. for. circos
RUN cpanm Config::General \
Number::Format \
ExtUtils::Config \
ExtUtils::InstallPaths \
Clone \
Font::TTF::Font \
GD \
GD::Polyline \
Math::Bezier \
Math::Round \
Math::VecStat \
Params::Validate \
Readonly \
Regexp::Common \
List::MoreUtils \
SVG \
Set::IntSpan \
Statistics::Basic \
Text::Format

# there are often more up-to-date versions of genovi on pypi as opposed to github
# cariosvg is required for creating png, but not listed as a dependency
RUN pip3 install --no-cache genovi==${GENOVI_VER} cairosvg

# install circos (and a short test)
RUN wget -q http://circos.ca/distribution/circos-${CIRCOS_VER}.tgz && \
tar -xvf circos-${CIRCOS_VER}.tgz && \
rm circos-${CIRCOS_VER}.tgz && \
cd /circos-${CIRCOS_VER}/bin && \
./list.modules && \
./test.modules

# adding circos to PATH
ENV PATH=/circos-${CIRCOS_VER}/bin:$PATH \
LC_ALL=C.UTF-8

CMD genovi --help

WORKDIR /data

FROM app as test

WORKDIR /test

RUN genovi -h && genovi --version

# using the input files from a recent published version on github
RUN wget -q https://github.com/robotoD/GenoVi/archive/refs/tags/0.2.16.tar.gz && \
tar -vxf 0.2.16.tar.gz && \
genovi -i GenoVi-0.2.16/input_test/Corynebacterium_alimapuense_VA37.gbk -s draft -cs paradise --cogs_unclassified -bc white && \
genovi -i GenoVi-0.2.16/input_test/Acinetobacter_radioresistens_DD78.gbff -cs strong -s complete --size
26 changes: 26 additions & 0 deletions genovi/0.4.3/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# genovi container

Main tool: [GenoVi](https://github.com/robotoD/GenoVi)

Code repository: https://github.com/robotoD/GenoVi

Additional tools:
- circos
- python: 3.7

Basic information on how to use this tool:
- executable: genovi
- help: --help
- version: --version
- description: GenoVi generates circular genome representations.

> GenoVi generates circular genome representations for complete, draft, and multiple bacterial and archaeal genomes. GenoVi pipeline combines several python scripts to automatically generate all needed files for Circos to generate circular plots, including customisable options for colour palettes, fonts, font format, background colour and scaling options for genomes comprising more than 1 replicon.
Full documentation: https://github.com/robotoD/GenoVi

## Example Usage

```bash
genovi -i <input>.gbk -s complete -o out
```

0 comments on commit 1e301c8

Please sign in to comment.