The original version of MGA has been archived and is no longer being maintained - please see mga2 instead.
MGA is a quality control tool for high-throughput sequence data. It screens for contaminants by aligning sequence reads in FASTQ format against a series of reference genomes using Bowtie and against a set of adapter sequences using Exonerate.
MGA samples a subset of the reads, by default 100000, prior to alignment against reference genome sequences and adapters. This reduces considerably the overall run time. In addition, the reads are trimmed to 36 bases by default, prior to alignment by Bowtie. This is to ensure consistency of the output mapping and error rates across runs of differing lengths. Exonerate alignment against adapters uses the full-length sequences.
Please see README file for details of how to install and run MGA from a pre-packaged release.
MGA is built using Apache Maven, a software project management and build automation tool. Details on how to install and run Maven can be found here.
Maven will automatically download dependencies from the central Maven repository and a repository hosted by Cancer Research UK Cambridge Institute (CRUK-CI). The latter contains the Java libraries and source code for the workflow system that MGA depends on, which is also developed at CRUK-CI.
-
Clone the MGA project
git clone https://github.com/crukci-bioinformatics/MGA.git
-
Build and package MGA
cd MGA mvn package
-
Unpack MGA to installation directory (substituting for the version number as appropriate)
tar zxf target/mga-1.x-distribution.tar.gz
This will create a directory named mga-1.x which can be moved to the desired installation directory.