Skip to content

Commit

Permalink
bug fix: duplicate links spacing, updated env and README
Browse files Browse the repository at this point in the history
  • Loading branch information
tpillone committed Sep 8, 2021
1 parent 86cb86b commit a308fb8
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Base Image
FROM continuumio/miniconda3:4.7.10
FROM continuumio/miniconda3:4.10.3

################## METADATA ######################

LABEL base.image="miniconda3:4.7.10"
LABEL base.image="miniconda3:4.10.3"
LABEL version="1"
LABEL software="mummer2circos"
LABEL software.version="1.1"
Expand All @@ -16,11 +16,10 @@ MAINTAINER Trestan Pillonel
################## INSTALLATION ######################
ENV DEBIAN_FRONTEND noninteractive

RUN conda install conda=4.7.12
RUN conda install -c conda-forge mamba

COPY env.yaml ./
RUN conda env create -f env.yaml
RUN conda clean --all --yes
RUN mamba env create -f env.yaml && conda clean --all --yes && echo ok2

RUN conda init bash
ENTRYPOINT ["/bin/bash"]
Expand Down
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,19 @@ mummer2circos -l -r genomes/NZ_CP008827.fna -q genomes/*.fna -gb GCF_000281535_m
- labels can not include spaces

```bash
mummer2circos -l -r genomes/NZ_CP008827.fna -q genomes/*.fna -gb GCF_000281535_merged.gbk -b VF.faa -s GCF_000281535.depth -lf labels.txt
mummer2circos -l -r genomes/NZ_CP008827.fna -q genomes/NZ_FO834906.fna -gb GCF_000281535_merged.gbk -b VF.faa -s GCF_000281535.depth -lf labels.txt
```

![Simple plot](examples/images/nucmer2circos_labels_coord.png)

# show links between two genomes

```bash
mummer2circos -r genomes/NZ_CP012745.fna -q genomes/*.fna -gb GCF_000281535_merged.gbk -b VF.faa -s GCF_000281535.depth -lf labels.txt
```

![Simple plot](examples/images/nucmer2circos_links.png)

# Highlight specific ranges based on coordinate file

- overlapping ranges will overlap on the figure
Expand Down
1 change: 1 addition & 0 deletions env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ dependencies:
- blast
- matplotlib
- pip
- libwebp=0.5
- pip:
- git+https://github.com/metagenlab/mummer2circos.git
- git+https://github.com/tpillone/TPplots.git
Expand Down
Binary file added examples/images/nucmer2circos_links.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a308fb8

Please sign in to comment.