Question: Mykrobe predictor AMR prediction not working
gravatar for Yi-Ting Liu
2.4 years ago by
Yi-Ting Liu30
Yi-Ting Liu30 wrote:

I am getting the following error message when trying to execute AMR prediction on the command line.

mykrobe predict tb_sample_id tb -1 /home/TB/demo_input_file_for_M.tuberculosis_app.fastq

The species chosen was Tuberculosis (TB), whereas the sample data file was pulled down from Mykrobe website (

and the error message I'm getting...

Traceback (most recent call last):
  File "/usr/local/bin/mykrobe", line 9, in <module>
    load_entry_point('mykrobe==0.4.2', 'console_scripts', 'mykrobe')()
  File "/usr/local/lib/python2.7/site-packages/mykrobe/", line 99, in main
    args.func(parser, args)
  File "/usr/local/lib/python2.7/site-packages/mykrobe/", line 32, in run_subtool
    run(parser, args)
  File "/usr/local/lib/python2.7/site-packages/mykrobe/cmds/", line 127, in run
  File "/usr/local/lib/python2.7/site-packages/mykatlas/typing/typer/", line 73, in run
  File "/usr/local/lib/python2.7/site-packages/mykatlas/typing/typer/", line 90, in _run_cortex
  File "/usr/local/lib/python2.7/site-packages/mykatlas/cortex/", line 161, in run
  File "/usr/local/lib/python2.7/site-packages/mykatlas/cortex/", line 173, in _run_cortex
  File "/usr/local/lib/python2.7/site-packages/mykatlas/cortex/", line 190, in _build_panel_binary_if_required
  File "/usr/local/lib/python2.7/", line 566, in check_output
    process = Popen(stdout=PIPE, *popenargs, **kwargs)
  File "/usr/local/lib/python2.7/", line 710, in __init__
    errread, errwrite)
  File "/usr/local/lib/python2.7/", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Any suggestions would be appreciated.

snp genome • 927 views
ADD COMMENTlink modified 2.4 years ago by genomax62k • written 2.4 years ago by Yi-Ting Liu30
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1298 users visited in the last hour