seq_typing - Determines which reference sequence is more likely to be present in a given sample
3.5K
seq_typing - Determines which reference sequence is more likely to be present in a given sample
https://github.com/B-UMMI/seq_typing
This is a Dockerfile to produce a seq_typing image, with all dependencies already installed.
Within this image you can find:
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.3-01
For this, docker needs to be installed on your machine. Instructions for this can be found here.
docker pull ummidock/seq_typing:2.3-01
git clone https://github.com/B-UMMI/seq_typing.gitdocker build -t ummidock/seq_typing:2.3-01 ./seq_typing/Docker/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.3-01 \
seq_typing.py 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.3-01
# Create container (only needed to be done once)
udocker create --name=seq_typing_2-3_01 ummidock/seq_typing:2.3-01
# Run seq_typing
udocker run --user $(id -u):$(id -g) -v /local/folder/fastq_data:/data/ seq_typing_2-3_01 \
seq_typing.py 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 [email protected]
Content type
Image
Digest
Size
451.8 MB
Last updated
over 5 years ago
docker pull ummidock/seq_typing:2.3-dev-2021-03