Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
79 lines (54 sloc) 3.14 KB

seq_typing - Docker

seq_typing - Determines which reference sequence is more likely to be present in a given sample

This is a Dockerfile to produce a seq_typing image, with all dependencies already installed.

Within this image you can find:

Using play-with-docker

Try in PWD

Within play-with-docker webpage click on create session. Then, another page will open with a big counter on the upper left corner. Click on + add new instance and a terminal like instance should be generated on the right. On this terminal you can load this docker image as follows:

docker pull ummidock/seq_typing:2.2-01

Build this docker on your local machine

For this, docker needs to be installed on your machine. Instructions for this can be found here.

Using DockerHub (automated build image)

docker pull ummidock/seq_typing:2.2-01

Using GitHub (build docker image)
  1. git clone
  2. docker build -t ummidock/seq_typing:2.2-01 ./seq_typing/Docker/

Run (using automated build image)

Example of Haemophilus influenzae serotyping using reads and provided references sequences (adapted from here).

docker run --rm -u $(id -u):$(id -g) -it -v /local/folder/fastq_data:/data/ ummidock/seq_typing:2.2-01 \ reads --org Haemophilus influenzae \
                        --fastq /data/sample_1.fq.gz /data/sample_2.fq.gz \
                        --outdir /data/sample_out/ \
                        --threads 2

For more examples on how to run seq_typing without a Docker container see general README file.


"A basic user tool to execute simple docker containers in user space without requiring root privileges.". From here.

# Get Docker image
udocker pull ummidock/seq_typing:2.2-01

# Create container (only needed to be done once)
udocker create --name=seq_typing_2-2_01 ummidock/seq_typing:2.2-01

# Run seq_typing
udocker run --user $(id -u):$(id -g) -v /local/folder/fastq_data:/data/ seq_typing_2-2_01 \ reads --org Haemophilus influenzae \
                        --fastq /data/sample_1.fq.gz /data/sample_2.fq.gz \
                        --outdir /data/sample_out/ \
                        --threads 2

More examples on how to use udocker can be found in udocker GitHub page

NOTE: if some Error: in download: HTTP/1.1 400 Bad Request occur while pulling the Docker image, first pull it using docker and then retry pulling it with udocker (same with Shifter).


Miguel Machado

You can’t perform that action at this time.