File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 30
30
import itertools
31
31
32
32
from collections import defaultdict
33
- from Bio import SeqIO
34
33
35
34
# Project imports
36
35
from prodigal import prodigal
Original file line number Diff line number Diff line change @@ -19,9 +19,14 @@ RUN rm Miniconda3-latest-Linux-x86_64.sh
19
19
ENV PATH ~/miniconda3/bin:$PATH
20
20
21
21
# creating CRISPRcasIdentifier's env and making it active by default
22
+ # and removing additional unnecessary files (see https://jcristharif.com/conda-docker-tips.html)
23
+ ENV PYTHONDONTWRITEBYTECODE=true
22
24
COPY crispr-env.yml ./
23
25
RUN conda env create -f crispr-env.yml -n crispr-env
24
- RUN conda clean --all --yes
26
+ RUN conda clean --all --yes \
27
+ && find ~/miniconda3/ -follow -type f -name '*.a' -delete \
28
+ && find ~/miniconda3/ -follow -type f -name '*.pyc' -delete \
29
+ && find ~/miniconda3/ -follow -type f -name '*.js.map' -delete
25
30
RUN rm crispr-env.yml
26
31
RUN echo "source ~/miniconda3/etc/profile.d/conda.sh && conda activate crispr-env" >> ~/.bashrc
27
32
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ channels:
3
3
- defaults
4
4
dependencies :
5
5
- _libgcc_mutex=0.1=main
6
- - biopython=1.73=py37h7b6447c_0
7
6
- blas=1.0=openblas
8
7
- ca-certificates=2020.1.1=0
9
8
- certifi=2020.4.5.1=py37_0
You can’t perform that action at this time.
0 commit comments