Full open-source BlobToolKit container image
10K+
Contains all code and dependencies for BlobToolKit
BlobToolKit has been published in: Challis et al. 2020, BlobToolKit – Interactive Quality Assessment of Genome Assemblies. G3 Genes|Genomes|Genetics, 10:4 1361–1374 doi:10.1534/g3.119.400908
This container is updated using an automated build from github.com/blobtoolkit/blobtoolkit.
All underlying code is freely available under an MIT license.
BlobToolKit containers have been used for analysis of assembly quality and to detect contaminants and cobionts in over 10,000 public assemblies, which can be viewed at blobtoolkit.genomehubs.org/view.
A minimal dataset can be generated from just an assembly FASTA file. The default user ID inside the container is 1000, on a system with multiple users you may need to set -u $UID:$GROUPS.
docker run -it --rm --name btk \
-u $UID:$GROUPS \
-v /path/to/datasets:/blobtoolkit/datasets \
-v /path/to/input/data:/blobtoolkit/data \
genomehubs/blobtoolkit:latest \
./blobtools2/blobtools create \
--fasta data/YOUR_ASSEMBLY.fasta \
--taxid 1234 \
--taxdump taxdump \
datasets/YOUR_DATASET_ID
Most views in the Viewer require additional data to be loaded. The snail plot can be loaded with only assembly information but can optionally display BUSCO results.
To add BUSCO results, use the blobtools add command:
docker run -it --rm --name btk \
-u $UID:$GROUPS \
-v /path/to/datasets:/blobtoolkit/datasets \
-v /path/to/input/data:/blobtoolkit/data \
genomehubs/blobtoolkit:latest \
./blobtools2/blobtools add \
--busco data/BUSCO_FULL_TABLE.tsv \
datasets/YOUR_DATASET_ID
See BlobTools2 Tutorials for information on adding other analyses.
Run this image on your local machine and view datasets interactively.
/blobtoolkit/datasets. (setting -u $UID:$GROUPS does not work here):docker run -d --rm --name btk \
-v /path/to/datasets:/blobtoolkit/datasets \
-p 8000:8000 -p 8080:8080 \
-e VIEWER=true \
genomehubs/blobtoolkit:latest
Run this image on your local machine and use docker exec to run BlobTools2 view commands.
docker run -d --rm --name btk \
-v /path/to/datasets:/blobtoolkit/datasets \
-v /path/to/output:/blobtoolkit/output \
-e VIEWER=true \
genomehubs/blobtoolkit:latest
docker exec. (To write plots to the output directory on a multi-user system, you may need to make sure it is writable by UID 1000 before running these commands):Cumulative plot
docker exec -it btk \
./blobtools2/blobtools view \
--host http://localhost:8080 \
--out output \
--view cumulative
YOUR_DATASET_ID
Snail plot
docker exec -it btk \
./blobtools2/blobtools view \
--host http://localhost:8080 \
--out output \
--view snail
YOUR_DATASET_ID
For more complex hosting situations additional parameters can be passed to the Viewer using a .env file, such as the one in the conf directory of this repository. For example, to access from another container on the same docker network:
docker network create btk-net
.env match the container names as in this example):docker run -d --rm --name btk-viewer --network btk-net \
-v /path/to/datasets:/blobtoolkit/datasets \
-v /path/to/conf:/blobtoolkit/conf \
-e VIEWER=true \
genomehubs/blobtoolkit:latest
docker run -it --rm --name btk-blobtools --network btk-net \
-v /path/to/conf:/blobtoolkit/conf \
-v /path/to/output:/blobtoolkit/output \
genomehubs/blobtoolkit:latest \
./blobtools2/blobtools view \
--host http://btk-viewer:8080 \
--out conf \
--param plotShape=kite \
YOUR_DATASET_ID
Content type
Image
Digest
sha256:d45f91b8d…
Size
2.2 GB
Last updated
about 2 months ago
docker pull genomehubs/blobtoolkit