Skip to content
martinghunt edited this page Oct 20, 2020 · 21 revisions

Mykrobe

http://www.mykrobe.com

The following help pages are available:

Advanced topics:

Quick start

Install

  • bioconda - conda install -c bioconda mykrobe
  • from source - pip3 install . && mykrobe panels update_metadata && mykrobe panels update_species all
  • or using singularity or docker (see wiki for details)

Run AMR prediction

Run on Mtb, making a JSON file of results:

mykrobe predict my_sample_name tb \
  --output out.json \
  --format json \
  --seq reads.fq.gz

Test on example data

You can test that mykrobe predict runs as expected by downloading and running on a small toy set of reads, as follows.

wget -O test_reads.fq.gz https://ndownloader.figshare.com/files/21059229
mykrobe predict SAMPLE tb --output out.json --format json --seq test_reads.fq.gz

The test reads are simulated, and perfectly match the reference, except for the isoniazid resistant associated variant inhA I21T. You should see a section like this in the output file out.json:

"Isoniazid": {
    "predict": "R",
    "called_by": {
        "inhA_I21T-ATC1674262ACT": {
    ... etc
Clone this wiki locally