Closed miguelpmachado closed 7 years ago
Hi Miguel,
There is a docker container with mlst built into it currently in Biocontainers. It is version 2.9.
If you want it run docker pull quay.io/biocontainers/mlst:2.9--pl5.22.0_0
This Biocontainer was produced automatically via the BioConda recipe process and works fine.
Hope this helps.
Hi @Slugger70, Thanks for the tip. I also think that mlst is part of sangerpathogens/mlst_check container. But since I'm trying to include mlst in a pipeline for our wet lab users (black box type), it would be very nice if I manage to solve this problem. Thanks once more. Cheers, Miguel
@miguelpmachado i thought rematch could do MLST ? :)
To check if the file is gzipped it runs the file --brief --dereference
command
To decompress it needs the gzip -f -d -c
command
I have added checks for these two tools in 2.10-dev
which is git master now.
% file --version
file-5.11
magic file from /etc/magic:/usr/share/misc/magic
Do you need to apt-get install file
?
Or maybe your version doesn't supprt the --brief --dereference
options?
I might switch to perl compression libraries.
Hi @tseemann,
Well noted. But it uses the reads.
Since mlst will be incorporated in our assembly pipeline, we can benefit from having the contigs. And the auto-detection mode is very useful as a last checking point.
The sh: 1: file: not found
was a error for the missing file program! I thought it was complaining about some missing file! My fault, I didn't know about the file program.
After I installed it, mlst worked perfectly :)
Thank you a lot, and sorry for my ignorance.
Cheers,
Miguel
@miguelpmachado I am very surprised that your Docker base image does not have the file
command! But I guess they are heavily cut down images to save space.
Thank you for reporting this issue. I had forgotten I used the file
command. I can now check it exists.
Calling MLST from FASTQ might be more reliable then from assembled contigs, and probably much faster.
Hi,
I'm trying to build a Docker container with mlst, but it seems not working properly. I'm using Blast+ v2.6.0 binaries and mlst GitHub release v2.9 (
wget https://github.com/tseemann/mlst/archive/2.9.tar.gz
). The thing is, if I use a .fna file it worked (althoughsh: 1: file: not found
appears):If I compress the .fna file, it doesn't work:
I also tried with a .gbk and it worked (with
sh: 1: file: not found
):But if I compress it, it stops again:
I assumed that somehow, mlst script is not uncompressing the .fna.gz file. Can you help me putting it working for compressed files and getting rid off
sh: 1: file: not found
?Thank you for your help.
Miguel