Git Product home page Git Product logo

irida-plugin-amr-detection's Introduction

GitHub release Gitter

IRIDA AMR Detection Pipeline

This project contains an IRIDA plugin for a pipeline to perform AMR detection using RGI and staramr.

Installation

Installing to IRIDA

Please download the provided amr-detection-[version].jar from the releases page and copy to your /etc/irida/plugins directory. Now you may start IRIDA and you should see the pipeline appear in your list of pipelines.

Note: This plugin requires you to be running IRIDA version >= 21.01. Please see the IRIDA documentation for more details.

Installing Galaxy Dependencies

In order to use this pipeline, you will also have to install the RGI, staramr, and shovill (for assembly) Galaxy tools within your Galaxy instance. These can be found at:

Name Version Galaxy Tool
RGI 5.1.1 https://toolshed.g2.bx.psu.edu/view/card/rgi/bfbfc24c5af2
staramr 0.7.2+galaxy0 https://toolshed.g2.bx.psu.edu/view/nml/staramr/4b9a8031ab74
shovill 1.1.0+galaxy0 https://toolshed.g2.bx.psu.edu/view/iuc/shovill/83ead2be47b2

Tutorial

This tutorial shows how to run the AMR Detection pipeline in IRIDA.

Tutorial Data

The pipeline requires as input paired-end sequence reads in FASTQ format. We will be using Illumina MiSeq data from a sample of Campylobacter jejuni for this tutorial with run ID SRR8914694. Paired-end fastq files can be downloaded from https://www.ebi.ac.uk/ena/data/view/SRR8914694 (the FASTQ files (FTP) links). A collection of additional example data can be found in the IRIDA Sample Data package.

Adding Samples to the Cart

Once samples are created for the data and the files are uploaded, you can select the samples you wish to run and add them to the cart by clicking the Add to Cart button.

add-to-cart.png

Once you have selected your samples, you can click on the Cart button to move to selecting a pipeline.

cart-button.png

Selecting a Pipeline

Once inside the cart, you should see a card for the AMR Detection pipeline.

amr-pipeline.png

Please click the Select button to proceed with the pipeline.

Selecting Parameters

Once the pipeline is selected, the next page provides an overview of all the input files, as well as the option to modify parameters.

amr-detection-pipeline-page.png

Please make sure the Save AMR detection results to Project Line List Metadata is selected so that results get saved to the Line List. Also, please click the Customize button so that we can modify the PointFinder parameters.

modify-parameters.png

In particular, you may want to modify the Scan for point mutations using the selected PointFinder database parameter, changing the value to campylobacter. If you which to completely disable searching the PointFinder database, you can instead set this to disabled (the default value).

If you know the organism you may also want to set the lower/upper bounds for the genome length. This only impacts the output of the quality module (which checks if the assembled genome is within these bounds). In this case the organism is Campylobacter jejuni so let's set the lower bound to 1400000 and upper bound to 1900000.

parameters-lower-bound.png

parameters-upper-bound.png

Once all your parameters are set, you can click the Ready to Launch? button to launch the pipeline.

launch.png

Monitoring Pipeline Status

To monitor the status of the launched pipeline, please select the Analyses > Your Analyses menu.

your-analyses.png

From here, you can monitor the status of your pipeline.

monitor-analyses.png

Analysis Results

Once the analysis pipeline is finished, you can view the analysis results in your browser or download the files to your machine.

amr-pipeline-results.png

These results show you both the staramr and RGI AMR results on the data, assembled with shovill. The staramr results are all contained within a single Excel file shown here, which lists the detected antimicrobial resistance genes, MLST sequence type, plasmid incompatibility factors among other information. For details on how to interpret these, please see the documentation of the respective projects.

Metadata Table

If you selected the Save AMR detection results to Project Line List Metadata option when launching the pipeline, then both the predicted AMR genes and drug resistances will be integrated into the IRIDA Line List/Metadata table as shown below.

amr-pipeline-metadata.png

Building

Installing IRIDA Libraries

To build this plugin yourself, you must first install IRIDA to your local Maven repository. Please make sure you are installing the IRIDA version defined in the irida.version.compiletime property in the pom.xml file (e.g., 21.01). Or, alternatively, please update the IRIDA dependency version in the pom.xml file.

To install the IRIDA libraries to a local Maven repository, please run the following from within the IRIDA project (the irida/ directory):

mvn clean install -DskipTests

Building AMR Detection Plugin

Once IRIDA is installed, you may build the pipeline plugin by running the following in this project's directory (the irida-plugin-amr-detection/ directory):

mvn clean package

This should produce a target/*.jar file, which can be copied into /etc/irida/plugins/.

Legal

Copyright 2019 Government of Canada

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

irida-plugin-amr-detection's People

Contributors

apetkau avatar deepsidhu85 avatar jeffreythiessen avatar tom114 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.