-
Notifications
You must be signed in to change notification settings - Fork 2
Advanced
Rich Mayne edited this page Dec 20, 2024
·
3 revisions
- Docker (Download link).
- Compatible terminal (bash/zsh/powershell).
Users may pull a pre-made image from DockerHub at this link. This contains version 7 of the Castanet application, all of its dependencies and a Kraken2 database for labelling Human reads.
- Pull container with
$ docker pull mayne941/castanet
Users may build a Docker container from source using the following instructions.
- Ensure your system has Docker installed.
- Navigate to the Castanet repository.
- Build the container with
$ docker build --tag 'castanet' .
N.b. the dockerhub image does NOT have a Kraken2 database installed by default! This will cause the dep test to fail and, unless you mount a directory containing one, you will have to specify to not run the Kraken2 prefilter (-DoKrakenPrefilter parameter)
- Run the container with
$ docker run -d -v /path/to/data:/path/to/mount 'castanet' sleep infinity, changingpath/to/datato the volume you wish to mount andpath/to/mountto where your mounted directory should live inside the container. - Check the container status and find the container ID with
$ docker ps - Exec into container (with bash shell) with
$ docker exec -it XXXXXXX bash, whereXXXXXXXis your container ID - Confirm that Castanet is functional with the Castanet dependency test
$ python3 -m app.castanet_lite_deptest