👩⚕Dr. PRG - **D**rug **r**esistance **P**rediction with **R**eference **G**raphs️👨⚕️
[![codecov](https://codecov.io/gh/mbhall88/drprg/branch/main/graph/badge.svg?token=2WAA6MZRKK)](https://codecov.io/gh/mbhall88/drprg)
[![Rust](https://github.com/mbhall88/drprg/actions/workflows/rust.yml/badge.svg?branch=main)](https://github.com/mbhall88/drprg/actions/workflows/rust.yml)
[![github release version](https://img.shields.io/github/v/release/mbhall88/drprg)](https://github.com/mbhall88/drprg/releases)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
Full documentation:
As the name suggests, DrPRG is a tool for predicting drug resistance from sequencing
data. It can be used for any species, provided an index is available for that species.
The [documentation][docs] outlines which species have prebuilt indices and also a guide
for how to create your own.
## Quick usage
Download the latest *M. tuberculosis* prebuilt index
```
drprg index --download mtb
```
Predict resistance from an Illumina fastq
```
drprg predict -x mtb -i reads.fq --illumina -o outdir/
```
### Help
```
$ drprg -h
Drug Resistance Prediction with Reference Graphs
Usage: drprg [OPTIONS]
Commands:
build Build an index to predict resistance from
predict Predict drug resistance
index Download and interact with indices
help Print this message or the help of the given subcommand(s)
Options:
-v, --verbose Use verbose output
-t, --threads Maximum number of threads to use [default: 1]
-h, --help Print help (see more with '--help')
-V, --version Print version
```
## Citation
Preprint coming soon...
[docs]: https://mbh.sh/drprg/
[guide]: https://mbh.sh/drprg/guide/build/build.html