简体   繁体   English

Mykrobe 预测器 AMR 预测不起作用

[英]Mykrobe predictor AMR prediction not working

I am getting the following error message when trying to execute AMR prediction on the command line.尝试在命令行上执行 AMR 预测时收到以下错误消息。

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 ( https://github.com/iqbal-lab/Mykrobe-predictor/releases/download/v0.1.1-beta/demo_input_file_for_M.tuberculosis_app.fastq.gz ).选择的物种是结核病 (TB),而样本数据文件是从 Mykrobe 网站 ( https://github.com/iqbal-lab/Mykrobe-predictor/releases/download/v0.1.1-beta/demo_input_file_for_M.tuberculosis_app .fastq.gz )。

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/mykrobe_predictor.py", line 99, in main
    args.func(parser, args)
  File "/usr/local/lib/python2.7/site-packages/mykrobe/mykrobe_predictor.py", line 32, in run_subtool
    run(parser, args)
  File "/usr/local/lib/python2.7/site-packages/mykrobe/cmds/amr.py", line 127, in run
    cp.run()
  File "/usr/local/lib/python2.7/site-packages/mykatlas/typing/typer/genotyper.py", line 73, in run
    self._run_cortex()
  File "/usr/local/lib/python2.7/site-packages/mykatlas/typing/typer/genotyper.py", line 90, in _run_cortex
    self.mc_cortex_runner.run()
  File "/usr/local/lib/python2.7/site-packages/mykatlas/cortex/mccortex.py", line 161, in run
    self._run_cortex()
  File "/usr/local/lib/python2.7/site-packages/mykatlas/cortex/mccortex.py", line 173, in _run_cortex
    self._build_panel_binary_if_required()
  File "/usr/local/lib/python2.7/site-packages/mykatlas/cortex/mccortex.py", line 190, in _build_panel_binary_if_required
    subprocess.check_output(cmd)
  File "/usr/local/lib/python2.7/subprocess.py", line 566, in check_output
    process = Popen(stdout=PIPE, *popenargs, **kwargs)
  File "/usr/local/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/local/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Any suggestions would be appreciated.任何建议,将不胜感激。

The error indicates that mccortex31 is missing.该错误表明缺少mccortex31

Did you install it according to the documentation ?你是按照文档安装的吗?

cd Mykrobe-predictor
cd mccortex
make    
export PATH=$PATH:$(pwd)/bin
cd ..

I'm one of the authors of Mykrobe predictor.我是 Mykrobe 预测器的作者之一。 As someone above commented, probably the right place to ask this question is as a Github issue on our Mykrobe predictor repository:正如上面有人评论的那样,提出这个问题的正确地点可能是我们 Mykrobe 预测器存储库中的 Github 问题:

https://github.com/iqbal-lab/Mykrobe-predictor/issues https://github.com/iqbal-lab/Mykrobe-predictor/issues

Please feel free to raise the issue there.请随时在那里提出问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Mykrobe预测器JSON到TSV转换器 - Mykrobe predictor JSON to TSV Converter 解决 ktrain 预测器与学习器预测的速度差异? - Solve Speed Difference in ktrain Predictor vs. Learner prediction? Pandas Statsmodels使用DF预测器进行回归预测? - Pandas Statsmodels ols regression prediction using DF predictor? 如何使用熊猫创建交叉表以显示随机森林预测变量的预测结果? - How to use pandas to create a crosstab to show the prediction result of random forest predictor? Google AI Platform XGBoost - 本地预测有效但在线预测无效 - Google AI Platform XGBoost - Local prediction working but online prediction not working 神经网络 Keras 的预测不起作用 - Prediction by Neural network Keras is not working 随机森林 model 不能用于预测 - Random forest model not working for prediction python keras神经网络预测不起作用(输出0或1) - python keras neural network prediction not working (outputs 0 or 1) 张量流Mninst外部图像预测不起作用 - Tensor Flow Mninst external image prediction not working 在 Python 中绘制二进制预测它不起作用 - Plotting of binary prediction in Python it's not working
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM