Skip to content

Public-Health-Bioinformatics/irida-plugin-snippy-single

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status codecov Current Release Version

IRIDA Snippy Single-Isolate Pipeline Plugin

galaxy-workflow-diagram.png

This project contains a pipeline implemented as a plugin for the IRIDA bioinformatics analysis system. This can be used to Call SNPs and indels between a reference genome and your sequence data from a bacterial isolate.

Table of Contents

Installation

Installing Galaxy Dependencies

In order to use this pipeline, you will also have to install the following Galaxy tools and data managers within your Galaxy instance. These can be found at:

Name Version Owner Metadata Revision Galaxy Toolshed Link
snippy 4.4.5 iuc 8 (2019-12-01) snippy-8:32f2211eeec3

NOTE: There is currently an unresolved issue in snippy involving a problem resolving the correct version number for samtools. This issue arises when snippy is installed from bioconda, as is normally the case when installing to galaxy. The issue can be resolved by:

  1. Activating the conda environment where snippy was installed (this will likely be a 'mulled' environment, since the snippy galaxy tool wrapper references multiple tool dependencies.
  2. Running conda install --override-channels -c conda-forge -c bioconda -c defaults samtools=1.9 to downgrade samtools.

Installing to IRIDA

Please download the provided irida-plugin-snippy-single-[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 >= 19.01. Please see the IRIDA documentation for more details.

Usage

The plugin should now show up in the Analyses > Pipelines section of IRIDA.

plugin-pipeline.png pipeline-parameters.png

Analysis Results

You should be able to run a pipeline with this plugin and get analysis results. The results include a summary of the variant calling results, .vcf and .gff files containing variants and a consensus fasta file. A Snippy .log file and a .bam alignment file are also provided.

plugin-results-1.png

Metadata Table

This pipeline plugin does not currently write any data to the IRIDA Metadata Table. Future versions of this pipeline plugin will do so.

Field Name Description

Building

Building and packaging this code is accomplished using Apache Maven. However, you will first need to install IRIDA to your local Maven repository. The version of IRIDA you install will have to correspond to the version found in the irida.version.compiletime property in the pom.xml file of this project. Right now, this is IRIDA version 19.01.3.

Installing IRIDA to local Maven repository

To install IRIDA to your local Maven repository please do the following:

  1. Clone the IRIDA project
git clone https://github.com/phac-nml/irida.git
cd irida
  1. Checkout appropriate version of IRIDA
git checkout 19.01.3
  1. Install IRIDA to local repository
mvn clean install -DskipTests

Building the plugin

Once you've installed IRIDA as a dependency, you can proceed to building this plugin. Please run the following commands:

cd irida-plugin-tetyper

mvn clean package

Once complete, you should end up with a file target/irida-plugin-tetyper-0.1.0-SNAPSHOT.jar which can be installed as a plugin to IRIDA.

Dependencies

The following dependencies are required in order to make use of this plugin.

About

Call SNPs and indels between a reference genome and your sequence data

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages