This application is used to predict resistome(s) from protein or nucleotide data based on homology and SNP models. The application uses data from `CARD database <https://card.mcmaster.ca/>`_.
- `Running RGI with short contigs to predict partial genes`_
- `Clean previous or old databases`_
- `RGI Heatmap`_
- `Run RGI from docker`_
- `Tab-delimited results file`_
- `Support & Bug Reports`_
License
--------
Use or reproduction of these materials, in whole or in part, by any non-academic organization whether or not for non-commercial (including research) or commercial purposes is prohibited, except with written permission of McMaster University. Commercial uses are offered only pursuant to a written license and user fee. To obtain permission and begin the licensing process, see `CARD website <https://card.mcmaster.ca/about>`_
- Heatmap with drug class category and frequency enabled
.. code-block:: sh
rgi heatmap --input /path/to/rgi_results_json_files_directory/ --category drug_class --frequency --display text
- Heatmap with samples and genes clustered
.. code-block:: sh
rgi heatmap --input /path/to/rgi_results_json_files_directory/ --cluster both
- Heatmap with resistance mechanism categorization and clustered samples
.. code-block:: sh
rgi heatmap --input /path/to/rgi_results_json_files_directory/ --cluster samples --category resistance_mechanism --display fill
Run RGI from docker
-------------------
- First you you must either pull the docker container from dockerhub (latest CARD version automatically installed)
.. code-block:: sh
docker pull finlaymaguire/rgi
- Or Alternatively, build it locally from the Dockerfile (latest CARD version automatically installed)
.. code-block:: sh
git clone https://github.com/arpcard/rgi
docker build -t arpcard/rgi rgi
- Then you can either run interactively (mounting a local directory called `rgi_data` in your current directory
to `/data/` within the container
.. code-block:: sh
docker run -i -v $PWD/rgi_data:/data -t arpcard/rgi bash
- Or you can directly run the container as an executable with `$RGI_ARGS` being any of the commands described above. Remember paths to input and outputs files are relative to the container (i.e. `/data/` if mounted as above).
.. code-block:: sh
docker run -v $PWD/rgi_data:/data arpcard/rgi $RGI_ARGS
Please log an issue on `github issue <https://github.com/arpcard/rgi/issues>`_.
You can email the CARD curators or developers directly at `card@mcmaster.ca <mailto:card@mcmaster.ca>`_, via Twitter at `@arpcard <http://www.twitter.com/arpcard>`_.