Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cgetools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AMR-genomics
cgetools
Commits
96f874c5
Commit
96f874c5
authored
3 months ago
by
Julien.Prados
Browse files
Options
Downloads
Patches
Plain Diff
fix resfinder installation
parent
f4f5a728
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+16
-2
16 additions, 2 deletions
Dockerfile
Readme.md
+2
-2
2 additions, 2 deletions
Readme.md
with
18 additions
and
4 deletions
Dockerfile
+
16
−
2
View file @
96f874c5
...
...
@@ -5,6 +5,7 @@ RUN apt-get update -qq && apt-get install -y -qq \
build-essential
\
libz-dev
\
ncbi-blast+
\
curl
\
&&
rm
-rf
/var/cache/apt/
*
/var/lib/apt/lists/
*
# KMA
...
...
@@ -41,6 +42,19 @@ RUN mkdir -p /db \
ENV
CGE_RESFINDER_RESGENE_DB=/db/resfinder_db/
ENV
CGE_RESFINDER_RESPOINT_DB=/db/pointfinder_db/
ENV
CGE_DISINFINDER_DB=/db/disinfinder_db/
RUN
pip
install
-U
biopython
==
1.73 tabulate cgecore
\
&&
pip
install
--no-cache-dir
resfinder
RUN
pip
install
-U
biopython
==
1.73 tabulate
\
&&
curl
-sSL
https://pdm-project.org/install-pdm.py | python3 -
\
&&
git
-C
/usr/src/ clone
--depth
1 https://bitbucket.org/genomicepidemiology/cgecore.git
\
&&
cd
/usr/src/cgecore
&&
python3 setup.py
install
\
&&
git
-C
/usr/src/ clone
--depth
1 https://bitbucket.org/genomicepidemiology/cgelib.git
\
&&
cd
/usr/src/cgelib
&&
python3 setup.py
install
\
&&
git
-C
/usr/src/ clone
--depth
1 https://bitbucket.org/genomicepidemiology/resfinder.git
\
&&
cd
/usr/src/resfinder
&&
/root/.local/bin/pdm build
&&
pip3
install
dist/
*
.whl
#RUN pip install -U biopython==1.73 tabulate cgecore \
# && pip install --no-cache-dir resfinder
This diff is collapsed.
Click to expand it.
Readme.md
+
2
−
2
View file @
96f874c5
...
...
@@ -3,7 +3,7 @@
# Introduction
`cgetools`
is s docker container with an installation of several
(
CGE
)
[https://bitbucket.org/genomicepidemiology/] softwares and associated
[
CGE
](
[https://bitbucket.org/genomicepidemiology/]
)
softwares and associated
databases (mlst,plasmidfinder,resfinder).
...
...
@@ -14,7 +14,7 @@ To use the tool, you need to mount the working directory on `/cwd`. Example:
```
bash
docker run
--rm
-v
.:/cwd unigebsp/cgetools plasmidfinder.py
docker run
--rm
-v
.:/cwd unigebsp/cgetools mlst.py
docker run
--rm
-v
.:/cwd unigebsp/cgetools resfinder
.py
docker run
--rm
-v
.:/cwd unigebsp/cgetools
python3
-m
resfinder
```
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment