MetAMOS: a modular and open source metagenomic assembly and analysis pipeline
Genome Biology volume 14, Article number: R2 (2013)
We describe MetAMOS, an open source and modular metagenomic assembly and analysis pipeline. MetAMOS represents an important step towards fully automated metagenomic analysis, starting with next-generation sequencing reads and producing genomic scaffolds, open-reading frames and taxonomic or functional annotations. MetAMOS can aid in reducing assembly errors, commonly encountered when assembling metagenomic samples, and improves taxonomic assignment accuracy while also reducing computational cost. MetAMOS can be downloaded from: https://github.com/treangen/MetAMOS.
Metagenomics has opened the door for unprecedented studies of microbial communities sampled from the environment (for example, ocean surveys [1–3], Antarctic expeditions , and even health-care facilities ), as well as from living organisms  and the human body [7–11]. These studies have been made possible by dramatic recent advances in high-throughput sequencing technologies, the same technologies that have revolutionized the study of individual genomes, such as recent efforts to reconstruct the genomes of thousands of humans . While sequencing technologies have been rapidly improving, the computational infrastructure needed to analyze the resulting data has been slow to adapt to the volume and characteristics of the data being generated. In particular, genome assembly, though substantially improved in recent years , remains an important challenge even for single organisms. In metagenomic projects, traditional genome assemblers have trouble disentangling closely related strains and distinguishing true polymorphisms from sequencing errors. As a result, many researchers forgo assembly and instead focus their analyses directly on the underlying reads [14–22]. While these methods have shown promise, analysis tasks such as gene finding and taxonomic classification become much easier when applied to genomic contigs reconstructed through assembly. Accordingly, a number of computational tools specifically targeted at metagenomic de novo assembly have begun to emerge [23–26]. These tools are, however, still in their infancy and their application is limited by a number of factors such as: (i) performance issues when applied to large metagenomic datasets; (ii) the need for careful parameter tuning in order to optimize assembly results; and (iii) the lack of integration with the other components of metagenomic analysis pipelines. Furthermore, the relative benefits and drawbacks of individual assembly tools are difficult to ascertain given the lack of metagenomic reference datasets, and the widely divergent data characteristics of current metagenomic projects.
It is also important to stress that assembly is just one of many other bioinformatics analyses typically performed in metagenomic projects, including taxonomic classification, gene annotation, variant analysis, and so on. Performing these tasks requires the installation, integration, and tuning of multiple software packages, which is not trivial even for groups with extensive bioinformatics expertise. As a result, most studies rely on ad hoc pipelines based on custom scripts and intensive manual analyses, making it difficult to reproduce or extend analysis results and hampering collaboration.
To address these challenges, we developed MetAMOS, a modular and customizable framework for metagenomic assembly and analysis. To researchers without bioinformatics expertise, MetAMOS provides a push-button solution for analysis of metagenomic datasets, irrespective of the sequencing technology used. In addition to the actual assembly, MetAMOS outputs a taxonomic profile of the community, gene predictions, and potential genomic variants. In some sense, MetAMOS can be viewed as an assembly-centric counterpart to QIIME  and mothur , popular pipelines used for the analysis 16S rRNA data. To bioinformaticians, MetAMOS provides a modular and flexible pipeline, integrating many metagenomic analysis tools that can be tailored and extended to meet specific analysis needs.
Overview of the MetAMOS analysis pipeline
The MetAMOS package is built around a collection of publicly available assembly and analysis tools tied together with the help of the lightweight workflow system Ruffus . The current analysis workflow and available software packages are outlined in Figure 1, and discussed in detail below in the Workflow section. It is important to stress, however, that these tools are not simply strung together into ad hoc pipelines; rather, the entire pipeline is built around the unique features provided by the metagenomic scaffolder Bambus 2 .
The pipeline can be broadly separated into three main sections. The first includes a pre-processing step aimed at constructing a collection of conservative contigs using software specific to the sequencing technology employed (Sanger, 454, and Illumina data are currently supported). Specifically, pre-processing involves the following steps: (1) dynamic library size re-estimation based on read mappings, and (2) contig cleaning (removal of contigs that lack read mappings). In the second step, Bambus 2 is used to identify genomic repeats, scaffold the initial set of contigs, correct assembly errors, extend contigs, and detect genomic variants. In a third, post-scaffolding stage, the contigs are further analyzed and annotated using scaffold-aware approaches, such as the propagation of taxonomic labels to all contigs linked together within a scaffold. Thus, the scaffold information generated by Bambus 2 allows us to integrate multiple sources of information and obtain more accurate annotations of the resulting assembly. At the end of the final stage, MetAMOS produces an interactive HTML report that summarizes the main results of the run (Figure 2).
Our package shares similarities with SmashCommunity , a metagenomic analysis pipeline targeted at 454 and Sanger data. Unlike MetAMOS, SmashCommunity only supports a small set of assembly and analysis tools (Arachne , Celera Assembler [33, 34], Forge, and MetaGeneMark ). More importantly, however, SmashCommunity simply links together the individual analysis tools and does not provide additional functionality made possible by the integration of different analyses. For these reasons, instead of building upon SmashCommunity, we decided to build MetAMOS around the AMOS open-source genome assembly framework, which already included many assembly-centric analysis utilities [30, 36–41].
Below we demonstrate the use of MetAMOS and compare its performance to other software tools that can and have been used for metagenomic analysis. We focus our analysis on several datasets with complementary characteristics: 'mock' metagenomic communities from the Human Microbiome Project (HMP) , and real metagenomic samples from the HMP and the Metagenomics of the Human Intestinal Tract (MetaHIT)  projects. The mock communities (described in more detail below) comprise a known mixture of organisms and provide a valuable resource for assessing the accuracy of different assembly tools. The real datasets are a sample of data from recent studies and demonstrate the practical potential of our tool.
HMP mock communities
Results obtained on real metagenomic samples are difficult to evaluate due to the absence of a 'golden truth' reference. Thus, to first compare and evaluate metagenomic assembly accuracy, we rely on metagenomic samples with known composition, specifically two 'mock' communities created by the HMP consortium [43, 44]. These communities represent the result of sequencing a mixture of quantified DNA fragments from organisms with known genomic sequences, comprising over 50 bacterial genomes and a few eukaryotes. While not without limitations, this dataset has advantages over purely simulated data because it captures the error and bias introduced by the sequencing technology.
Data from two HMP mock communities are available: Even and Staggered (NCBI BioProject ID 48475). The reference genomes in these mock communities are precisely known, the abundances are fairly well known, and the reads were sequenced with the Illumina GAII instrument . We independently confirmed the different abundance profiles of the mock Even and Staggered communities with MetaPhyler; Figure 3 shows the interactive Krona  chart for these samples, as output by MetAMOS.
Using these datasets we evaluate the performance of eight different methods: SOAPdenovo (SOAPdenovo contigs), SOAPdenovo_MA (MetAMOS+SOAPdenovo unitigs), Meta-IDBA, Meta-IDBA_MA (MetAMOS+Meta-IDBA contigs), MetaVelvet, MetaVelvet_MA (MetAMOS+MetaVelvet unitigs), Velvet, Velvet_MA (MetAMOS+Velvet unitigs). The methods with the suffix '_MA' represent the use of the specific assembler within the MetAMOS framework, specifically to generate the initial high-confidence contigs that are then scaffolded and further analyzed with Bambus 2 and the other utilities provided by MetAMOS. Unitigs are sections of the genome that can be unambiguously reconstructed by an assembler on the basis of reads alone (entirely contained in either unique regions or repeats), that is, regions that do not span the boundary between repeats and unique regions.
The results are shown in Figure 4a, b (mock Even), and Figure 4c, d (mock Staggered) using the recently proposed Feature Response Curve technique . These curves simultaneously track the cumulative size of the assembly (total number of bases reconstructed) and the number of errors found in the assembly, and are similar in spirit to the well known receiver operating characteristic (ROC) used for comparing classifier systems. In a Feature Response Curve plot, the contigs are sorted by decreasing sequence length, and the number of errors and cumulative contig size are plotted along the x- and y-axes, respectively. When comparing two assemblies, A and B, if the curve corresponding to assembly A is above that of assembly B, one can infer that A contains more of the (meta)genome while incurring the same number of errors as assembly B, or stated differently, assembly A reconstructs the same amount of DNA as assembly B but with fewer errors.
An observation evident from the analysis of the 'mock Even' dataset (Figure 4a, b) is that metagenomic-specific assemblers (MetaVelvet and Meta-IDBA) have very similar performance to non-metagenomic assemblers. For example, Velvet appears to provide the best results within the most contiguous 37 Mbp of the assembly (roughly half of the total genomic content of the sample; Figure 4a). Beyond this point Velvet, and most of the other assemblers, rapidly accumulate errors while reconstructing the remaining genomic content of the sample. SOAPdenovo, the assembler used by both the HMP [43, 44] and the MetaHIT project , has a more stable error characteristic, accumulating overall fewer errors than the other assemblers. However, SOAPdenovo also makes more mistakes within its larger contigs, as shown by the dip within the bottom left side of the curve. Because MetAMOS includes independent pre-processing and scaffolding routines, the performance of Velvet and MetaVelvet improved when run within the MetAMOS framework (Figure S1 in Additional file 1).
All assemblers have lower performance on the 'mock Staggered' community (Figure 4c, d), which is expected to better model the pattern of taxonomic diversity encountered in real data. Meta-IDBA shows strong early performance, but is only able to reconstruct approximately 25% of the reference genomes (20 out of 83 Mbp) in contigs larger than 150 bp. SOAPdenovo + MetAMOS obtains the best overall performance for this Staggered simulated dataset, and again, MetAMOS improves over the Velvet and MetaVelvet assemblers, with the gain being more pronounced than in the mock Even dataset.
Also evident from these figures is the inherent difficulty of metagenomic assembly. Even in the easiest community (mock Even), the best assembler can only reconstruct about 66% of the total genomic content (55 out of 83 Mbp) in contigs larger than 150 bp, while for the more complicated community, less than 30 Mbp are reconstructed (36%).
When analyzing mis-assemblies we observe that all assemblers make mistakes (Table 1), especially in the category termed 'heavy mis-assembly'. Heavy mis-assemblies are contigs with only one alignment to a reference genome covering less than 80% of the contig's length, or multiple incompatible alignments to a single reference. MetaVelvet has the best contiguity at 10 Mbp in both mock communities but also generates more assembly errors than the more conservative SOAPdenovo assembly. MetAMOS is able to improve upon MetaVelvet in terms of both contiguity and error rate in the mock Even dataset, while in the mock Staggered data the reduction in error is associated with a reduction in contiguity. In addition, MetAMOS nearly matches the stand-alone assemblers in terms of reference representation, while lowering the number of errors they produce (Table 1). This conservative approach is critical for ensuring the accuracy of downstream analyses.
The results highlight the difficulty of choosing an appropriate assembler for a specific application. Depending on the dataset, different assemblers achieve the best trade-off between contiguity and errors. By allowing the reproducible execution of each assembler within a unified, automated framework, MetAMOS facilitates a more informed choice of assembler for any given application.
Assembly-based taxonomic annotation of reads
We evaluated the taxonomic annotations generated by FCP within MetAMOS on the mock communities using the same assemblers as above: SOAPdenovo, Velvet, MetaVelvet, and Meta-IDBA. We ran both the Annotate (taxonomic classification of contigs) and Propagate (classification propagation across scaffolds) steps with default parameters and compared results to the true read assignments determined by mapping reads to the known reference genomes with Bowtie [49, 50]. The results shown in Table 2 demonstrate that performing the annotation after assembly within MetAMOS significantly reduces the number of unclassified reads and reduces the number of errors, irrespective of the assembly tool being used. Furthermore, the scaffold-based propagation of annotations further improves the results, leading to more reads being annotated while only slightly increasing the misclassification rate.
HMP tongue dorsum
Assembly of a tongue dorsum sample from the HMP project
Our second analysis was performed on real data (HMP tongue dorsum female sample, SRS077736). Velvet and MetaVelvet were not able to complete using 256 GB of memory, the maximum available to us; therefore, we restrict our results to SOAPdenovo and Meta-IDBA. For this sample we do not know the actual genomes comprising the community; instead we used the reference genome set identified by the HMP to have high similarity to the sequences within the sample (HMP Shotgun Community profiling SRS077736). This dataset was previously assembled with Meta-IDBA  and the published results demonstrated that Meta-IDBA was able to generate larger contigs than SOAPdenovo .
To evaluate the correctness of these assemblies, we aligned them against the set of reference genomes and tabulated assembly errors. Unlike the mock datasets, the recruited references may not exactly match the true genomes in the sample. To allow for structural rearrangements within the same genome, we ignored errors occurring within the same reference genome (contigs with multiple alignments to the same reference) and only focused on chimeric errors (contigs spanning two or more reference genomes). Furthermore, we allowed higher rates of nucleotide errors in the alignment. None of the contigs were chimeric at the genus level or above. While both assemblers (SOAPdenovo and Meta-IDBA) vary in their ability to reconstruct individual genomes, MetAMOS is able to maintain or improve upon the starting assembly in all cases (Figure 5, Table 1).
Using the tongue dorsum dataset we also explored the dependence between assembly quality and the relative abundance of an organism within a sample. As expected, the assembly quality strongly depends on the overall depth of coverage (Figure 6). Most reference genomes that were covered at < 5 to 10× were poorly assembled (reference coverage of 40% or less). These results hold irrespective of the assembler used (data not shown), indicating a fundamental limitation of assembly-based approaches for low abundance genomes. The abundance/coverage estimates obtained by mapping to reference genomes were consistent with those produced by MetAMOS using the taxonomic profiling tool MetaPhyler . Thus, the taxonomic profiling data reported by MetAMOS provides a reference-independent means to assess which organisms in a sample can be effectively assembled.
The results described above are based on contig-level analyses in order to allow a comparison of multiple assemblers (for example, meta-IDBA does not perform scaffolding and would be unfairly penalized by a scaffold-level analysis). To demonstrate the value of the additional information contained in the scaffolds produced by MetAMOS we also performed an analysis of the contiguity and correctness of MetAMOS scaffolds compared to SOAPdenovo scaffolds and Meta-IDBA contigs (Table 1). As a complete collection of reference genomes is not available for this dataset, we only focused on chimeric errors - specifically contigs or scaffolds that map to two or more different reference genomes. When starting with either SOAPdenovo or Meta-IDBA contigs, MetAMOS was able to create more contiguous sequence, measuring a 200% improvement over the largest SOAPdenovo scaffold, 11% improvement over the largest Meta-IDBA contig, and over 5-fold increase in contiguity within the top 10 Mbp of the assembly, while making the same or fewer chimeric errors.
Biological variant identification
MetAMOS, through its use of the Bambus 2 scaffolder , is currently the only metagenomic assembly pipeline able to automatically identify assembly patterns indicative of genomic variation (termed 'variation motifs'). Figure 7 shows an example section of a variant motif (spanning 1,212 bp) automatically reported by MetAMOS. This motif is composed of two variant sub regions, each 200 bp in length, connecting to two larger, 500 bp contigs in the assembly graph. Nucleotide alignments (using BLASTN, e-value < 10e-7) yield significant hits to Streptococcus oralis Uo5 and Streptococcus sanguinis SK36. The variant region in the middle contains 12 SNPs that fall within a poorly characterized hypothetical protein, distantly related to a glutamic acid decarboxylase (GAD) protein. GAD proteins (gadB) have been previously reported to show divergence in closely related strains of Streptococcus thermophilus . This simple example highlights the utility of variation motifs. Typical assembly software would break the assembly in this region or forcefully merge the two variants into a mosaic (due to 'bubble popping' procedures). Instead, MetAMOS preserves the contiguity of the genome's backbone while also outputting the pattern of variation detected in this region. Note that such regions are difficult to identify within the output of existing assemblers, requiring substantial manual examination of the assembly output .
Sexual dimorphism in the human gut microbiome
To demonstrate the types of analyses enabled by MetAMOS, we next investigate sexual dimorphism in the human gut microbiome. Microbiome differences between different genders were previously investigated in macaques  and mice , and such differences have yet (to the best of our knowledge) to be explored in humans. To explore whether evidence of sexual dimorphism could be gleaned from metagenomic data analyzed with MetAMOS, we focused on six subjects (three male and three female), all of the same age (59 years), and from the same country (Denmark), whose microbiome was sequenced as part of the MetaHIT project (sample details provided in Materials and methods). Note that conclusively assessing whether sexual dimorphism within gut bacteria of the human population requires extensive studies outside of the scope of this manuscript. Nevertheless, we decided to focus on this problem because: (a) to the best of our knowledge such an analysis has not been previously performed; and (b) the overall analysis approach is typical of a wide range of comparative metagenomic analyses that are commonly performed in a clinical setting.
The male and female samples, comprising more than 70 million sequences each, were analyzed with MetAMOS in under 4 days, using 20 cores and 128 GB of RAM. The maximum contig and scaffold sizes are similar, while the males have a slightly higher total number of assembled bases. MetaPhyler  was run both on the individual reads, pre-assembly, and on the final collection of ORFs, post-assembly. The taxonomic profiles pre-, and post-assembly are highly concordant (Spearman's correlation coefficient of 0.998 and 0.993 for the male and female samples, respectively). We estimate that MetaPhyler analysis on contigs requires roughly 300 times less computational resources than the equivalent analysis on the reads alone, highlighting the power of assembly as a data 'compression' tool, and suggesting that many analyses currently performed on the reads directly (for example, functional annotation [57, 58], or pathway analysis ) could be substantially accelerated if performed on the assembled data instead.
Comparative analysis of multiple samples
MetAMOS includes utilities for performing comparative analyses of multiple assembled samples. To illustrate this functionality, we compare the taxonomic composition of the male and female samples in Figures 8 and 9, generated automatically within the MetAMOS HTML reports. Figure 8 contains a heat map of the taxonomic composition at the species level (calculated with MetaPhyler); Figure 9 shows assembly contiguity plots for contigs and scaffolds on multiple female and male assemblies. Our analysis reveals a higher predominance of members from the Bacteroidales order and a depletion of members from the Clostridiales order in male samples. This difference is not statistically significant at the order level; however, the family Eubacteriaceae and genus Eubacterium from the Clostridiales order are significantly depleted in males (P = 0.04 and P = 0.02, respectively, Fisher's exact test; P = 0.024 and P = 0.024, Metastats . A statistical enrichment of Bacteroides can also be identified within the previously reported macaque data  (P = 0.0048, Metastats ). The comparative reports produced by MetAMOS also allow the visual comparison of the assembly statistics through accumulation plots (Figure 9).
Scaffold-based propagation of annotated reads
As briefly discussed earlier, MetAMOS includes a novel component responsible for propagating annotations to unclassified contigs. Using this procedure allowed us to assign taxonomic labels to an additional 985 contigs (from 918 to 1,903, a more than 2-fold increase) and to label 25 contigs as ambiguous on the female sample. Whenever the read-pair neighbors of a contig do not have a consistent annotation, MetAMOS marks the node as ambiguous, highlighting the conflicting annotation. Six of these contigs (all under 1 kbp in length) had received taxonomic labels when analyzed with the PhyloSift package and were re-classified as ambiguous by MetAMOS. We confirmed (using BLASTN and BLASTX searches with default parameters) that all of the contigs originate from ribosomal DNA sequence, supporting their ambiguous assignment as ribosomal repeats that can cause assemblers to incorrectly 'bridge' between unrelated organisms.
The goal of MetAMOS is to provide an integrated environment for metagenomic assembly and analysis, relying on both existing and novel algorithms and software tools. Results on both 'mock' communities with known sequence composition and real metagenomic data demonstrate that MetAMOS can generate accurate and contiguous assemblies of metagenomic datasets and improve the quality of initial assemblies constructed either with conservative assemblers developed for single genomes (for example, Velvet), or with assemblers specifically targeted at metagenomic data (for example, MetaVelvet).
Overall, our results indicate that the choice of assembler has a strong influence on the final assembly results and choosing the ideal assembler requires taking into account both contiguity and correctness. More aggressive assembly approaches sometimes result in more contiguous assemblies, but often introduce errors of the most severe kind (chimeras). The level of improvement provided by MetAMOS over other assembly tools is highly dependent on the specific characteristics of the dataset being assembled. MetAMOS only provided a small improvement over other tools (particularly SOAPdenovo and MetaIDBA) in the HMP mock communities; however, in the HMP tongue dorsum dataset the improvement was more pronounced. This result can be explained in part by the library size re-estimation automatically performed within the MetAMOS preprocessing stage (the library size reported in the NCBI Sequence Read Archive (SRA) was correct for the mock community but incorrect for the tongue dorsum), as well as by the ability of MetAMOS (through the use of Bambus 2) to effectively build scaffolds across regions of genomic variation. Such regions were substantially more abundant in the real dataset (approximately 10,000) compared to the artificial communities (approximately 300).
Thus, given a novel metagenomic dataset with unknown taxonomic composition, it can be difficult to choose an appropriate assembler a priori. This motivates our focus on fast end-to-end analysis and inclusion of multiple assembly methods, allowing the user to tailor the pipeline to their data. The modular design of MetAMOS enables its adaptation to new types of data by simply incorporating genome assembly tools tuned to the specific features of the new data.
In addition to assembly, MetAMOS provides several features important for downstream analysis, including taxonomic profiling, gene detection, and identification of genomic variation motifs. We have shown that the combination of these analyses within a single pipeline can produce improved results. We have demonstrated this for taxonomic classification, where analysis within MetAMOS increases the number of correctly classified sequences by as much as four-fold while reducing error. Another benefit is a two- to three-fold speed up within MetAMOS versus the taxonomic annotation methods run on the reads (Table 2). MetAMOS makes it straightforward to assess the performance of the various tools for each of these steps for a given sample. We continue to work on improving the performance of MetAMOS and plan to add additional analysis modules in future releases, including integration with pipelines for metabolic profiling (such as HUMAnN ).
Finally, the modular design and open-source licensing model enable researchers to adapt MetAMOS to new applications beyond our initial focus on metagenomic data. As an example, the combination of Velvet-SC (a single-cell assembler already integrated within MetAMOS) and the coverage-independent repeat detection methods of Bambus 2 make MetAMOS an effective pipeline for single-cell genomics. In addition to our primary goal of providing biologists with an integrated analysis pipeline for metagenomic data, we hope that the availability of MetAMOS will encourage researchers to contribute their own analysis modules, and that this framework will reduce duplication of efforts and accelerate developments in this field by allowing scientists to focus their attention on individual components without having to re-implement all the components of a metagenomic pipeline.
MetAMOS computational design
MetAMOS was designed to be run in two modes: 'Assembly mode', which requires larger amounts of RAM and starts from raw read data; or 'Analysis mode', which starts from already assembled contigs/scaffolds and can be run on much more modest computational nodes or servers. MetAMOS has support for eight assemblers (SOAPdenovo , Newbler, Velvet [62, 63], Velvet-SC , MetaVelvet , Meta-IDBA , CABOG  and Minimus ); six read/contig annotation methods (PhyloSift , BLAST , FCP [22, 67], PHMMER , PhymmBL [14, 15]); three metagenomic gene prediction tools (FragGeneScan , MetaGeneMark , Glimmer-MG ); one abundance estimation method (MetaPhyler ); a BLAST-based  functional annotation step using the Uniprot database ; a scaffolder engineered specifically for metagenomic data (Bambus 2 ); and an interactive tool for visualizing taxonomic and functional composition (Krona ) (Figure 1).
Our design of the MetAMOS pipeline was motivated by two guiding principles: modularity and robustness. We intended to encourage users to tailor MetAMOS to the biological questions they want to answer, not the inverse. Given that each metagenome assembly/analysis presents a unique set of challenges/goals, users can take advantage of this modularity and customize their own pipelines by combining the modules they deem necessary. MetAMOS leverages a previously published workflow management system (Ruffus ) to track inputs/outputs/states and checkpoint while running through computationally intensive analyses. While MetAMOS offers several novel features specific to metagenomic assembly, we also wanted to leverage existing methods and software for metagenomic analysis to create a 'playground' for metagenomic assembly and encourage cooperation among the community. Upon download of the MetAMOS source and installation of python (2.5.x to 2.7.x), users only need run the INSTALL script. This will automatically configure the pipeline to run within the user's environment and also fetch all required data, if a connection to the Internet is available. Once installed, there are two main executables that comprise MetAMOS: initPipeline and runPipeline. initPipeline is mainly involved with creating a project environment, and describing input files (454/Illumina reads, assembled contigs) and library types. runPipeline takes a project directory as the input and will initiate execution of the entire MetAMOS pipeline (Figure 1). Next, we describe each step/module of the pipeline in detail.
This is the starting point of all analyses in the pipeline. MetAMOS can take a variety of inputs, including interleaved and non-interleaved FastQ/FastA format, SFF files, and even a set of pre-assembled contigs. MetAMOS supports existing read-analysis tools such as FastQC  to evaluate the quality of the supplied read data. Preprocess includes an optional 'aggressive' read filter that discards any read containing 'N's or a base below a pre-defined quality value. The justification for aggressive read filtration is that read coverage/depth is no longer at a premium and the quality of reads has a huge influence on the quality of assemblies . This initially may seem extreme, especially since this step can discard upwards of 25% of the reads; however, given the dependency of de Bruijn graph-based assemblers on clean data, we anticipate that assembly quality will be improved and have observed this in practice. We also include a read filtration step based on the fastx_toolkit  that allows the user to trim rather than discard the reads. Another important component of Preprocess is the library verification step that will check whether read pairs are properly aligned and also modify read headers to ensure they are compatible with downstream tools.
Once reads are pre-processed they are passed to the Assemble step. Currently MetAMOS has support for eight assemblers, including SOAPdenovo, Newbler, Velvet, Velvet-SC, MetaVelvet, Meta-IDBA, CABOG and Minimus. Each of these assemblers has its own set of parameters and required input format, all of which are automatically managed within the pipeline and transparent to the user. It is our goal to keep growing this list to include the plethora of existing assemblers and eventually allow the user to combine assemblies via an assembly merging strategy, combining the strengths of each assembler and hopefully avoiding the weaknesses of any single strategy. Three types of assembly are possible in the current version of MetAMOS: (a) single genome/isolate, (b) metagenomic, or (c) single cell. While the main focus is on metagenomic assembly, thanks to the modular nature of MetAMOS, all three types are supported via the mentioned assemblers and command-line options. If pre-assembled contigs are input to MetAMOS, the assembly step is automatically disabled.
This step is necessary for MetAMOS. We currently rely on Bowtie  and Bowtie2  for mapping all reads back to assembled contigs. This step is an essential step in the pipeline which performs the following tasks: (i) depth of coverage estimation; (ii) filtering of contigs with no reads mapping to them; (iii) creation of links for the scaffolding step; and (iv) re-estimation of fragment length for each provided paired-read library. This step is an important quality control step that helps to avoid propagating genome assembler mistakes downstream to later steps in the pipeline. Some assemblers do offer read positions that are directly usable for scaffolding downstream (CA, Velvet), and we preserve this information if requested by the user.
Following the MapReads step, we pass the contigs to the metagenomic gene prediction module. Three metagenomic gene prediction tools are currently supported: FragGeneScan, MetaGeneMark, and Glimmer-MG. The rationale for calling genes at this step is that most metagenomic gene prediction tools have significantly increased sensitivity and accuracy once the fragment is longer than 300 bp. Even though these tools are efficient, we limit the work by only calling ORFs on contigs with more than 3× depth of coverage and larger than 300 bp (both parameters are configurable by the user).
A novel feature in MetAMOS, this step takes ORFs or contigs as an input and serves three purposes. First, it annotates repetitive contigs that can be used to identify under-collapsed sequence output by the assembler. Second, it allows for clustering predicted ORFs into families sharing high identity (> 97%), which may represent gene duplication events. Third, this step will allow us to bypass the MarkRepeat step of Bambus 2 (discussed below in further detail), which, depending on the sample, can become computationally expensive. Repetitive contigs are identified by the de novo repeat family detection algorithm implemented in Repeatoire . Repeatoire relies on a probabilistic multi-alignment algorithm based on spaced seeds, which can handle indels and substitutions.
This step takes ORFs or contigs as an input and determines which organisms comprise the given sample. In order to annotate the ORFs or contigs, we offer five classification methods spanning a range of techniques: homology-based (BLAST), composition-based (FCP), hidden Markov models (PHMMER, PhyloSift), and interpolated Markov models (PhymmBL). Annotating each and every read in a sample can be computationally prohibitive and lead to inaccurate classifications due to a lack of a discriminatory signal from such short sequences . Thus, our philosophy is to assemble first and then classify contigs, or even better, ORFs. This allows a more focused approach to annotation that permits more reliable classification on the predicted ORFs compared to individual short reads. However, as not all reads find their way into the final assembly, any reads not mapped to the assembly in the MapReads step are labeled singleton reads. These reads are also classified in order to get a complete picture of the taxonomic composition of the sample.
This step takes ORFs or contigs as input and determines what biological functions are present. To address this, we currently support homology-based (BLAST) functional assignment using the UniProt/Swiss-Prot database. Results from this step are displayed as a Krona chart of functional abundance in the HTML summary report. Note, however, that this step provides just a preliminary functional profile that should be refined using one of the many existing pipelines for this purpose (using the collection of ORFs output by MetAMOS in/FindORFS/out/proba.fna as an input). Accurate functional annotation is a complex task that is beyond the scope of our pipeline.
The entanglement of repeats and genomic variation is one of the main challenges in metagenomic assembly. In clonal bacterial genome assembly, any regions that tangle the assembly graph are necessarily repetitive regions in the genome, and there exist a variety of strategies for disambiguating and resolving repeats in this context . However, in metagenomic assembly, the tangles in the graph are not solely due to repeats and can also be caused by variable regions within closely related strains inside the community. Bambus 2 relies on a graph-based repeat detection method that can distinguish between repeat-induced tangles and likely regions of genomic variation without using prior knowledge of the taxonomic composition. Once repeats are identified and classified, Bambus 2 can focus on the variant regions in the assembly. Bambus 2 outputs these variant regions and makes them available to the user for downstream analysis.
One of the final steps of the MetAMOS pipeline assigns final classifications to each and every contig/ORF/scaffold in the outputs produced by earlier steps and stores them in subdirectories labeled at some pre-specified taxonomic level (class by default). In addition, all reads that were used in the assembly of the contigs/scaffolds are placed in each appropriate subdirectory. This step enables the easy identification of assembled contigs from taxonomic groups of interest, as well as the identification of DNA from potentially novel organisms.
Another novel contribution of the MetAMOS pipeline is annotation propagation. We rely on the scaffold graph generated by Bambus 2 to transfer annotations (in our case taxonomic labels) to un-annotated contigs within the same scaffold. This process allows us to label contigs that cannot be reliably classified due to their short length. The assembled scaffolds are not modified during this step.
Postprocess involves the generation of all reports and output into a single location (/Postprocess/out/). Once MetAMOS is finished running, if the user prefers to rerun any step with a different method, the pipeline can be re-run with the same command and the Ruffus  framework will ensure that only the necessary steps are run again. This allows for a quick exploratory run to be performed that is later refined once initial information is gathered on the composition and characteristics of the metagenomic community.
HTML summary report
The MetAMOS pipeline ends by generating an interactive, HTML summary (Figure 2) of the assembly statistics and estimated abundance information. The Summary page provides a graphical interface for navigating the data and reports generated by the pipeline. It comprises a main console surrounding a dynamic pane that can show specific reports for each step. These reports consist of tables, charts, and interactive Krona charts for exploring hierarchical abundance information. We offer several plots that allow for comparisons of different samples or different assembly strategies. Plots that are currently supported include: contig size versus cumulative assembly size, number of contigs versus cumulative assembly size, scaffold size versus cumulative assembly size, and number of scaffolds versus cumulative assembly size (Figure 9). As reports for each step are viewed in the dynamic pane, the main console persistently provides an overview of the run, including statuses of each step as well as summary statistics and charts. Details of the pipeline configuration and commands that were run are also accessible from the main console.
Materials and methods
MUMmer  version 3.23 was used to align assembled contigs/scaffolds to the reference genomes (--maxmatch -l 20). When scaffolds were available, contigs were extracted by splitting the scaffolds at three or more consecutive Ns. For the scaffold analysis in the HMP tongue dorsum sample scaffolds were left intact. Only contigs/scaffolds over 150 bp were used for validation (unassembled reads did not count towards the total). Alignments were then filtered using 'delta-filter -i 97 -q' to only retain the best hits to the reference for each contig/scaffold. All statistics were calculated on the final set of filtered alignments using a custom validation script. A contig with an alignment to a single reference genome across its entire length (allowing for a ± 15 bp mismatch at the ends of the alignment) was considered a good contig. A contig with an alignment covering > 80% of the contig length but < 100% was considered a slight mis-assembly and still considered valid. A contig with single alignment covering less than < 80% of the contig length, multiple alignments to a single reference genome, or multiple alignments to multiple reference genomes were all considered as mis-assemblies (and in the case of alignments to multiple reference genomes, chimeric). For the HMP tongue dorsum dataset, contigs were allowed to have multiple alignments to a single reference and to align at lower identity (-i 90) due to the expected differences between the selected reference genome set and the actual genomes in the sample. None of the heavily mis-assembled contigs or chimeric contigs were used to calculate reference coverage statistics. The assembly validation scripts are available for download at . For the scaffold analysis we only counted detectable chimera events as errors.
The mock dataset annotations were generated using FCP. Each assembler was run within MetAMOS as described below and the assembled contigs (along with unassembled sequences) annotated using FCP. To establish a truth, sequences were mapped using Bowtie to the known references. The command 'bowtie -p 10 -f -l 25 -e 140 --best -k 1 -S' was used to pick the best genome for each sequence. Unmapped sequences were also recorded. The annotation results were compared to this truth at each taxonomic level using custom scripts. Finally, the MetAMOS propagation step was run using the class-level annotation and the results compared to the pre-propagation results.
Default MetAMOS parameters
The Preprocess step includes one external software program, FastQC, in addition to a custom filtration script for read pre-processing. By default, read pre-processing is disabled. If enabled (via the -t parameter), all reads containing low quality bases and Ns are aggressively discarded, which can result in 5 to 10% (or more) of the reads being discarded. If fastq files are available and FastQC is enabled (by default it is disabled), the following command is executed: fastqc -t < cpus > fastq_input_files. The assemble step currently supports eight assemblers. The default parameters/recipes for each assembler are available in the configuration files from the MetAMOS code repository and are listed below. The map reads step relies on the short read mapper bowtie to align the reads to the assembled contigs. The default bowtie command is: 'bowtie -l 25 -e 100 --best --strata -m 10 -k 1'. Alternatively, the user can select via the '-w' parameter to trim the reads to 25 bp and align with the following parameters: 'bowtie -v 1 -M 2'. Currently MetAMOS supports three metagenomic gene finders, MetaGeneMark, FragGeneScan, and Glimmer-MG. MetaGeneMark and FragGeneScan are run with default parameters. We rely on a utility script that runs Repeatoire to identify repetitive contigs and create multi-alignments of ORF families. Repeatoire parameters are, by default, set to: '--minreplen = 200 --z = 17'. By default, MetaPhyler is enabled to quickly estimate the abundance on the supplied metagenomic sample. The included version, MetaPhylerV1.13, relies on blastp. The blastp parameters used are: '-m 8 -b 10 -v 10'. No other parameters are required for running MetaPhyler. If annotate is enabled, FCP is used to annotate/classify contigs and predicted ORFs. The default parameters are used. In addition to FCP, we also support phmmer (-E 1.0e-10), PhyloSift ('all -threaded'), and PhymmBL (default program parameters). Bambus 2 is the metagenomic scaffolder included within MetAMOS and is also executed with default parameters (coverage cut-off is automatically calculated from the assembly graph).
Software packages and corresponding parameters used in our experiments
All parameters used were default unless otherwise specified. The parameters below are the defaults within the MetAMOS pipeline for each tool. Modifications to default program parameters were the result of either a) recommendations from the program's author/user guide, b) published parameter settings on similar datasets, or c) empirical studies. SOAPdenovo, version 1.05 was run with the parameters '-D -d -R -M 3'. Velvet version 1.1.05 was run with 'k = 51'. Meta-IDBA version 0.19 with parameters '--mink 21 --maxk < user specified > --cover 1 --connect'. MetaVelvet version 1.1.01 with default parameters. Bowtie version 0.12.7 was run with '-l 25 -e 100 --best --strata -m 10 -k 1'. MetaGeneMark version 2.7d was run with default parameters. FragGeneScan version 1.16 was run with default parameters. FCP (nb-classify, epsilon-NB.py) version 1.0 was run with default parameters.
HMP mock experiment
For all experiments, the default MetAMOS parameters were used. For all assemblers, a k-mer of 51 was specified. For Bambus 2, a redundancy threshold of 10 was used.
HMP tongue dorsum experiment
For all experiments, the default MetAMOS parameters were used (except for specifying alternative assemblers with -a soap for SOAPdenovo and -a metaidba for Meta-IDBA). For all assemblers, a k-mer of 51 was specified. For Bambus 2, a redundancy threshold of 10 was used. The motif was aligned using web-based blastn against the nr database to identify top-scoring genes.
MetaHIT experiment/sexual dimorphism
We selected three males and three females randomly from the MetaHit project having the same age (59 years), the same country (Denmark), and the same enterotype (ET1) . We also chose the samples to have approximately equal body mass index (26.19 for males versus 24.12 for females). The chosen samples were MH0041, MH0045, and MH0055 for males and MH0002, MH0024, and MH0082 for females. MetAMOS was run on all three samples of each sex using the longer paired libraries for each sample (ERR011181, ERR011189, ERR011209 for males and ERR011091, ERR011149, ERR011264 for females).
To test for concordance between pre- and post-assembly annotations, we selected the order level classifications and compared the percentage classified at each order in the pre- and post-assembly male and female samples independently. We used R (version 2.11.1) and the command cor.test(preAsm, postAsm) to estimate the concordance between pre- and post-assembly assignments. To test for significance of the difference between samples we used the Fisher exact test on the order, family, and genus compositions of the male and female samples with the R command fisher.test(x).
We ran two versions of MetaPhyler, one based on BLAST in addition to the new version based on MUMmer. The new MetaPhyler is significantly faster; the new MetaPhyler ran in 12 CPU hours compared to 25 CPU hours for the post-assembly analysis (which used the original MetaPhyler).
For all experiments, the default MetAMOS parameters were used and a k-mer of 51 was specified. For Bambus 2, a redundancy threshold of 10 was used.
Datasets used in our experiments
HMP mock samples were part of the Human Microbiome Project Metagenomes Mock Pilot (BioProject ID: 48475) and available for download at .
HMP tongue dorsum sample was downloaded from the SRA [SRA:SRS077736].
MetaHIT human gut metagenome samples: *MH0041  (run accession ERR011181) [81, 82]; *MH0045  (run accession ERR011189) [84, 85]; *MH0055  (run accession ERR011129) [87, 88]. MetaHIT human gut metagenome samples from three Danish females (aged 59 years): *MH0002  (run accession ERR011091) [90, 91]; *MH0024  (run accession ERR011149) [93, 94]; *MH0082  (run accession ERR011264) [96, 97].
MetAMOS is available from . MetAMOS and AMOS-specific code are released open source under the Perl Artistic License . Licensing restrictions for bundled software are outlined on the main project page. Operating systems are Mac OS X and most UNIX systems and programming languages are Perl, Python, Java, C++.
Human Microbiome Project
Metagenomics of the Human Intestinal Tract
Hyper-Text Markup Language
thousand base pairs
million base pairs
open reading frame
Sequence Read Archive.
Rusch DB, Halpern AL, Sutton G, Heidelberg KB, Williamson S, Yooseph S, Wu D, Eisen JA, Hoffman JM, Remington K, Beeson K, Tran B, Smith H, Baden-Tillson H, Stewart C, Thorpe J, Freeman J, Andrews-Pfannkoch C, Venter JE, Li K, Kravitz S, Heidelberg JF, Utterback T, Rogers Y-H, Falcón LI, Souza V, Bonilla-Rosso G, Eguiarte LE, Karl DM, Sathyendranath S, et al: The Sorcerer II Global Ocean Sampling Expedition: Northwest Atlantic through Eastern Tropical Pacific. PLoS Biol. 2007, 5: 34-34.
Wu D, Wu M, Halpern A, Rusch DB, Yooseph S, Frazier M, Venter JC, Eisen JA: Stalking the fourth domain in metagenomic data: searching for, discovering, and interpreting novel, deep branches in marker gene phylogenetic trees. PLoS ONE. 2011, 6: 12-12.
Yooseph S, Sutton G, Rusch DB, Halpern AL, Williamson SJ, Remington K, Eisen JA, Heidelberg KB, Manning G, Li W, Jaroszewski L, Cieplak P, Miller CS, Li H, Mashiyama ST, Joachimiak MP, Van Belle C, Chandonia J-M, Soergel DA, Zhai Y, Natarajan K, Lee S, Raphael BJ, Bafna V, Friedman R, Brenner SE, Godzik A, Eisenberg D, Dixon JE, Taylor SS, et al: The Sorcerer II Global Ocean Sampling Expedition: Expanding the Universe of Protein Families. PLoS Biol. 2007, 5: 35-35.
Varin T, Lovejoy C, Jungblut AD, Vincent WF, Corbeil J: Metagenomic analysis of stress genes in microbial mat communities from Antarctica and the High Arctic. Appl Environ Microbiol. 2011, 78: 549-559.
Kembel SW, Jones E, Kline J, Northcutt D, Stenson J, Womack AM, Bohannan BJM, Brown GZ, Green JL: Architectural design influences the diversity and structure of the built environment microbiome. ISME J. 2012, 6: 1469-1479.
Warnecke F, Luginbuhl P, Ivanova N, Ghassemian M, Richardson T, Stege J, Cayouette M, McHardy A, Djordjevic G, Aboushadi N, Sorek R, Tringe S, Podar M, Martin H, Kunin V, Dalevi D, Madejska J, Kirton E, Platt D, Szeto E, Salamov A, Barry K, Mikhailova N, Kyrpides N, Matson E, Ottesen E, Zhang X, Hernandez M, Murillo C, Acosta L, et al: Metagenomic and functional analysis of hindgut microbiota of a wood-feeding higher termite. Nature. 2007, 450: 560-565.
Arumugam M, Raes J, Pelletier E, Le Paslier D, Yamada T, Mende DR, Fernandes GR, Tap J, Bruls T, Batto J-M, Bertalan M, Borruel N, Casellas F, Fernandez L, Gautier L, Hansen T, Hattori M, Hayashi T, Kleerebezem M, Kurokawa K, Leclerc M, Levenez F, Manichanh C, Nielsen HB, Nielsen T, Pons N, Poulain J, Qin J, Sicheritz-Ponten T, Tims S, et al: Enterotypes of the human gut microbiome. Nature. 2011, 4: 550-553.
Gill SR, Pop M, Deboy RT, Eckburg PB, Turnbaugh PJ, Samuel BS, Gordon JI, Relman DA, Fraser-Liggett CM, Nelson KE: Metagenomic analysis of the human distal gut microbiome. Science. 2006, 312: 1355-1359.
Kong HH, Oh J, Deming C, Conlan S, Grice EA, Beatson M, Nomicos E, Polley E, Komarow HD, Program NCS, Murray PR, Turner ML, Segre JA: Temporal shifts in the skin microbiome associated with atopic dermatitis disease flares and treatment. Genome Res. 2012, 22: 850-859.
Turnbaugh PJ, Hamady M, Yatsunenko T, Cantarel BL, Duncan A, Ley RE, Sogin ML, Jones WJ, Roe BA, Affourtit JP, Egholm M, Henrissat B, Heath AC, Knight R, Gordon JI: A core gut microbiome in obese and lean twins. Nature. 2009, 457: 480-484.
Turnbaugh PJ, Ley RE, Hamady M, Fraser-Liggett CM, Knight R, Gordon JI: The human microbiome project. Nature. 2007, 449: 804-810.
Mills RE, Walter K, Stewart C, Handsaker RE, Chen K, Alkan C, Abyzov A, Yoon SC, Ye K, Cheetham RK, Chinwalla A, Conrad DF, Fu Y, Grubert F, Hajirasouliha I, Hormozdiari F, Iakoucheva LM, Iqbal Z, Kang S, Kidd JM, Konkel MK, Korn J, Khurana E, Kural D, Lam HY, Leng J, Li R, Li Y, Lin CY, Luo R, et al: Mapping copy number variation by population-scale genome sequencing. Nature. 2011, 470: 59-65.
Gnerre S, MacCallum I, Przybylski D, Ribeiro FJ, Burton JN, Walker BJ, Sharpe T, Hall G, Shea TP, Sykes S, Berlin AM, Aird D, Costello M, Daza R, Williams L, Nicol R, Gnirke A, Nusbaum C, Lander ES, Jaffe DB: High-quality draft assemblies of mammalian genomes from massively parallel sequence data. Proc Natl Acad Sci USA. 2011, 108: 1513-1518.
Brady A, Salzberg S: PhummBL expanded: confidence scores, custom databases, parellelization and more. Nat Methods. 2011, 8: 367-
Brady A, Salzberg SL: Phymm and PhymmBL: metagenomic phylogenetic classification with interpolated Markov models. Nat Methods. 2009, 6: 673-676.
Clemente JC, Jansson J, Valiente G: Flexible taxonomic assignment of ambiguous sequencing reads. BMC Bioinformatics. 2011, 12: 8-8.
Krause L, Diaz NN, Goesmann A, Kelley S, Nattkemper TW, Rohwer F, Edwards RA, Stoye J: Phylogenetic classification of short environmental DNA fragments. Nucleic Acids Res. 2008, 36: 2230-2239.
McHardy AC, Martín HG, Tsirigos A, Hugenholtz P, Rigoutsos I: Accurate phylogenetic classification of variable-length DNA fragments. Nat Methods. 2007, 4: 63-72.
Meinicke P, Aßhauer KP, Lingner T: Mixture models for analysis of the taxonomic composition of metagenomes. Bioinformatics. 2011, 27: 1618-1624.
Patil KR, Haider P, Pope PB, Turnbaugh PJ, Morrison M, Scheffer T, McHardy AC: Taxonomic metagenome sequence assignment with structured output models. Nat Methods. 2011, 8: 191-192.
Nalbantoglu OU, Way SF, Hinrichs SH, Sayood K: RAIphy: Phylogenetic classification of metagenomics samples using iterative refinement of relative abundance index profiles. BMC Bioinformatics. 2011, 12: 41-41.
Parks DH, MacDonald NJ, Beiko RG: Classifying short genomic fragments from novel lineages using composition and homology. BMC Bioinformatics. 2011, 12: 328-328.
Luo C, Tsementzi D, Kyrpides NC, Konstantinidis KT: Individual genome assembly from complex community short-read metagenomic datasets. ISME J. 2012, 6: 898-901.
Namiki T, Hachiya T, Tanaka H, Sakakibara Y: MetaVelvet: An extension of Velvet assembler to de novo metagenome assembly from short sequence reads. Nucleic Acids Res. 2012, 40: e155-
Peng Y, Leung HCM, Yiu SM, Chin FYL: Meta-IDBA: a de Novo assembler for metagenomic data. Bioinformatics. 2011, 27: i94-i101.
Laserson J, Jojic V, Koller D: Genovo: de novo assembly for metagenomes. J Comput Biol. 2011, 18: 429-443.
Caporaso JG, Kuczynski J, Stombaugh J, Bittinger K, Bushman FD, Costello EK, Fierer N, Peña AG, Goodrich JK, Gordon JI, Huttley GA, Kelley ST, Knights D, Koenig JE, Ley RE, Lozupone CA, McDonald D, Muegge BD, Pirrung M, Reeder J, Sevinsky JR, Turnbaugh PJ, Walters WA, Widmann J, Yatsunenko T, Zaneveld J, Knight R: QIIME allows analysis of high-throughput community sequencing data. Nat Methods. 2010, 7: 335-336.
Schloss PD, Westcott SL, Ryabin T, Hall JR, Hartmann M, Hollister EB, Lesniewski RA, Oakley BB, Parks DH, Robinson CJ, Sahl JW, Stres B, Thallinger GG, Van Horn DJ, Weber CF: Introducing mothur: open-source, platform-independent, community-supported software for describing and comparing microbial communities. Appl Environ Microbiol. 2009, 75: 7537-7541.
Goodstadt L: Ruffus: a lightweight Python library for computational pipelines. Bioinformatics. 2010, 26: 2778-2779.
Koren S, Treangen TJ, Pop M: Bambus 2: Scaffolding Metagenomes. Bioinformatics. 2011, 27: 2964-2971.
Arumugam M, Harrington ED, Foerstner KU, Raes J, Bork P: SmashCommunity: a metagenomic annotation and analysis tool. Bioinformatics. 2010, 26: 2977-2978.
Jaffe DB, Butler J, Gnerre S, Mauceli E, Lindblad-Toh K, Mesirov JP, Zody MC, Lander ES: Whole-genome sequence assembly for mammalian genomes: Arachne 2. Genome Res. 2003, 13: 91-96.
Miller JR, Delcher AL, Koren S, Venter E, Walenz BP, Brownley A, Johnson J, Li K, Mobarry C, Sutton G: Aggressive assembly of pyrosequencing reads with mates. Bioinformatics. 2008, 24: 2818-2824.
Koren S, Miller JR, Walenz BP, Sutton G: An algorithm for automated closure during assembly. BMC Bioinformatics. 2010, 11: 457-
Borodovsky M, Mills R, Besemer J, Lomsadze A: Prokaryotic gene prediction using GeneMark and GeneMark.hmm. Current Protocols in Bioinformatics. 2002, John Wiley and Sons, Inc
Phillippy AM, Schatz MC, Pop M: Genome assembly forensics: finding the elusive mis-assembly. Genome Biol. 2008, 9: R55-R55.
Pop M, Phillippy A, Delcher AL, Salzberg SL: Comparative genome assembly. Brief Bioinform. 2004, 5: 237-248.
Schatz MC, Phillippy AM, Shneiderman B, Salzberg SL: Hawkeye: an interactive visual analytics tool for genome assemblies. Genome Biol. 2007, 8: R34-R34.
Schatz MC, Phillippy AM, Sommer DD, Delcher AL, Puiu D, Narzisi G, Salzberg SL, Pop M: Hawkeye and AMOS: visualizing and assessing the quality of genome assemblies. Brief Bioinform. 2013, 14: 213-224.
Sommer DD, Delcher AL, Salzberg SL, Pop M: Minimus: a fast, lightweight genome assembler. BMC Bioinformatics. 2007, 8: 64-
Treangen TJ, Sommer DD, Angly FE, Koren S, Pop M: Next generation sequence assembly with AMOS. Curr Protoc Bioinformatics. 2011, Chapter 11: Unit 11.18-Unit 11.18.
Ehrlich SD, The MetaHIT Consortium: MetaHIT: The European Union Project on Metagenomics of the Human Intestinal Tract. Metagenomics Hum Body. 2011, 307-316.
Human Microbiome Project C: Structure, function and diversity of the healthy human microbiome. Nature. 2012, 486: 207-214.
Human Microbiome Project C: A framework for human microbiome research. Nature. 2012, 486: 215-221.
Bentley DR: Whole-genome re-sequencing. Curr Opin Genet Dev. 2006, 16: 545-552.
Ondov BD, Bergman NH, Phillippy AM: Interactive metagenomic visualization in a Web browser. BMC Bioinformatics. 2011, 12: 385-
Narzisi G, Mishra B: Comparing de novo genome assembly: the long and short of it. PLoS ONE. 2011, 6: 17-17.
Qin J, Li R, Raes J, Arumugam M, Burgdorf KS, Manichanh C, Nielsen T, Pons N, Levenez F, Yamada T, Mende DR, Li J, Xu J, Li S, Li D, Cao J, Wang B, Liang H, Zheng H, Xie Y, Tap J, Lepage P, Bertalan M, Batto J-M, Hansen T, Le Paslier D, Linneberg A, Nielsen HB, Pelletier E, Renault P, et al: A human gut microbial gene catalogue established by metagenomic sequencing. Nature. 2010, 464: 59-65.
Langmead B: Aligning short sequencing reads with Bowtie. Curr Protoc Bioinform. 2010, Chapter 11: Unit 11 17
Langmead B, Salzberg SL: Fast gapped-read alignment with Bowtie 2. Nat Methods. 2012, 9: 357-359.
Li Y, Hu Y, Bolund L, Wang J: State of the art de novo assembly of human genomes from massively parallel sequencing data. Hum Genomics. 2010, 4: 271-277.
Liu B, Gibbons T, Ghodsi M, Treangen T, Pop M: Accurate and fast estimation of taxonomic profiles from metagenomic shotgun sequences. BMC Genomics. 2011, 12: S4-
Somkuti GA, Renye JA, Steinberg DH: Molecular analysis of the glutamate decarboxylase locus in Streptococcus thermophilus ST110. J Industrial Microbiol Biotechnol. 2012, 39: 957-963.
Eppley JM, Tyson GW, Getz WM, Banfield JF: Strainer: software for analysis of population variation in community genomic datasets. BMC Bioinformatics. 2007, 8: 398-
McKenna P, Hoffmann C, Minkah N, Aye PP, Lackner A, Liu Z, Lozupone CA, Hamady M, Knight R, Bushman FD: The macaque gut microbiome in health, lentiviral infection, and chronic enterocolitis. PLoS Pathogens. 2008, 4: 12-12.
Schloss PD, Handelsman J: Introducing SONS, a tool for operational taxonomic unit-based comparisons of microbial community memberships and structures. Appl Environ Microbiol. 2006, 72: 6773-6779.
Goll J, Rusch DB, Tanenbaum DM, Thiagarajan M, Li K, Methé BA, Yooseph S: METAREP: JCVI metagenomics reports--an open source tool for high-performance comparative metagenomics. Bioinformatics. 2010, 26: 2631-2632.
Meyer F, Paarmann D, D'Souza M, Olson R, Glass EM, Kubal M, Paczian T, Rodriguez A, Stevens R, Wilke A, Wilkening J, Edwards RA: The metagenomics RAST server - a public resource for the automatic phylogenetic and functional analysis of metagenomes. BMC Bioinformatics. 2008, 9: 386-
Abubucker S, Segata N, Goll J, Schubert A, Izard J, Cantarel BL, Rodriguez-Mueller B, Zucker J, Thiagarajan M, Henrissat B, White O, Kelley ST, Methe B, Schloss PD, Gevers D, Mitreva M, Huttenhower C: Scalable metabolic reconstruction for metagenomic data and the human microbiome. 19th Annual International Conference on Intelligent Systems for Molecular Biology; 17-19 July 2011: Vienna. 2011, International Society for Computational Biology
Paulson JN, Pop M, Corrada Bravo H: Metastats: an improved statistical method for analysis of metagenomic data. Genome Biol. 2011, 12 (Suppl 1): P17-
Abubucker S, Segata N, Goll J, Schubert AM, Izard J, Cantarel BL, Rodriguez-Mueller B, Zucker J, Thiagarajan M, Henrissat B, et al: Metabolic reconstruction for metagenomic data and its application to the human microbiome. PLoS Comput Biol. 2012, 8: e1002358-
Zerbino DR: Using the Velvet de novo assembler for short-read sequencing technologies. Curr Protoc Bioinform. 2010, Chapter 11: Unit 11.15
Zerbino DR, Birney E: Velvet: Algorithms for de novo short read assembly using de Bruijn graphs. Genome Res. 2008, 18: 821-829.
Chitsaz H, Yee-Greenbaum JL, Tesler G, Lombardo M-J, Dupont CL, Badger JH, Novotny M, Rusch DB, Fraser LJ, Gormley NA, Schulz-Trieglaff O, Smith GP, Evers DJ, Pevzner PA, Lasken RS: Efficient de novo assembly of single-cell bacterial genomes from short-read data sets. Nat Biotechnol. 2011, 29: 915-921.
Altschul SF, Gish W, Miller W, Myers EW, Lipman DJ: Basic local alignment search tool. J Mol Biol. 1990, 215: 403-410.
MacDonald NJ, Parks DH, Beiko RG: Rapid identification of high-confidence taxonomic assignments for metagenomic data. Nucleic Acids Res. 2012, 40: e111-
Eddy SR: Accelerated Profile HMM Searches. PLoS Comput Biol. 2011, 7: e1002195-
Rho M, Tang H, Ye Y: FragGeneScan: predicting genes in short and error-prone reads. Nucleic Acids Res. 2010, 38: e191-
Kelley DR, Liu BB, Delcher AL, Pop M, Salzberg SL: Gene prediction with Glimmer for metagenomic sequences augmented by classification and clustering. Nucleic Acids Res. 2012, 40: e9-
UniProt C: Reorganizing the protein space at the Universal Protein Resource (UniProt). Nucleic Acids Res. 2012, 40: D71-75.
Salzberg SL, Phillippy AM, Zimin AV, Puiu D, Magoc T, Koren S, Treangen T, Schatz MC, Delcher AL, Roberts M, Marcais G, Pop M, Yorke JA: GAGE: A critical evaluation of genome assemblies and assembly algorithms. Genome Res. 2012, 22: 557-567.
Treangen TJ, Darling AE, Achaz G, Ragan MA, Messeguer X, Rocha EP: A novel heuristic for local multiple alignment of interspersed DNA repeats. IEEE/ACM Trans Comput Biol Bioinform. 2009, 6: 180-189.
Wetzel J, Kingsford C, Pop M: Assessing the benefits of using mate-pairs to resolve repeats in de novo short-read prokaryotic assemblies. BMC Bioinformatics. 2011, 12: 95-
Kurtz S, Phillippy A, Delcher AL, Smoot M, Shumway M, Antonescu C, Salzberg SL: Versatile and open software for comparing large genomes. Genome Biol. 2004, 5: R12-
Human Microbiome Project Metagenomes Mock Pilot. [http://www.ncbi.nlm.nih.gov/bioproject/48475]
European Nucleotide Archive: Sample ERS006608. [http://www.ebi.ac.uk/ena/data/view/ERS006608]
Run accession ERR011181 Fastq file 1. [ftp://ftp.sra.ebi.ac.uk/vol1/fastq/ERR011/ERR011181/ERR011181_1.fastq.gz]
Run accession ERR011181 Fastq file 2. [ftp://ftp.sra.ebi.ac.uk/vol1/fastq/ERR011/ERR011181/ERR011181_2.fastq.gz]
European Nucleotide Archive: Sample ERS006507. [http://www.ebi.ac.uk/ena/data/view/ERS006507]
Run accession ERR011189 Fastq file 1. [ftp://ftp.sra.ebi.ac.uk/vol1/fastq/ERR011/ERR011189/ERR011189_1.fastq.gz]
Run accession ERR011189 Fastq file 2. [ftp://ftp.sra.ebi.ac.uk/vol1/fastq/ERR011/ERR011189/ERR011189_2.fastq.gz]
European Nucleotide Archive: Sample ERS006550. [http://www.ebi.ac.uk/ena/data/view/ERS006550]
Run accession ERR011209 Fastq file 1. [ftp://ftp.sra.ebi.ac.uk/vol1/fastq/ERR011/ERR011209/ERR011209_1.fastq.gz]
Run accession ERR011209 Fastq file 2. [ftp://ftp.sra.ebi.ac.uk/vol1/fastq/ERR011/ERR011209/ERR011209_2.fastq.gz]
European Nucleotide Archive: Sample ERS006553. [http://www.ebi.ac.uk/ena/data/view/ERS006553]
Run accession ERR011091 Fastq file 1. [ftp://ftp.sra.ebi.ac.uk/vol1/fastq/ERR011/ERR011091/ERR011091_1.fastq.gz]
Run accession ERR011091 Fastq file 2. [ftp://ftp.sra.ebi.ac.uk/vol1/fastq/ERR011/ERR011091/ERR011091_2.fastq.gz]
European Nucleotide Archive: Sample ERS006585. [http://www.ebi.ac.uk/ena/data/view/ERS006585]
Run accession ERR011149 Fastq file 1. [ftp://ftp.sra.ebi.ac.uk/vol1/fastq/ERR011/ERR011149/ERR011149_1.fastq.gz]
Run accession ERR011149 Fastq file 2. [ftp://ftp.sra.ebi.ac.uk/vol1/fastq/ERR011/ERR011149/ERR011149_2.fastq.gz]
European Nucleotide Archive: Sample ERS006555. [http://www.ebi.ac.uk/ena/data/view/ERS006555]
Run accession ERR011264 Fastq file 1. [ftp://ftp.sra.ebi.ac.uk/vol1/fastq/ERR011/ERR011264/ERR011264_1.fastq.gz]
Run accession ERR011264 Fastq file 2. [ftp://ftp.sra.ebi.ac.uk/vol1/fastq/ERR011/ERR011264/ERR011264_2.fastq.gz]
Perl Artistic License. [http://dev.perl.org/licenses/artistic.html]
Margulies M, Egholm M, Altman WE, Attiya S, Bader JS, Bemben LA, Berka J, Braverman MS, Chen Y-J, Chen Z, Dewell SB, Du L, Fierro JM, Gomes XV, Godwin BC, He W, Helgesen S, Ho CH, Irzyk GF, Jando SC, Alenquer ML, Jarvie TF, Jirage KB, Kim JB, Knight JR, Lanza JR, Leamon JH, Lefkowitz SM, Lei M, Li J, Lohman KL, et al: Genome sequencing in microfabricated high-density picolitre reactors. Nature. 2005, 437: 376-380.
Zhu W, Lomsadze A, Borodovsky M: Ab initio gene identification in metagenomic sequences. Nucleic Acids Research. 2010, 38: e132-
We would like to thank Eduardo PC Rocha for critical reading of the manuscript. This work was supported by NSF grant IIS-0812111, NIH grant R01-HG-04885 (MP), the Bill and Melinda Gates Foundation (Jim Nataro and O Colin Stine, subcontract to MP), and Agreement No. HSHQDC-07-C-00020 awarded by the US Department of Homeland Security for the management and operation of the National Biodefense Analysis and Countermeasures Center (NBACC), a Federally Funded Research and Development Center. The views and conclusions contained in this document are those of the authors and should not be interpreted as necessarily representing the official policies, either expressed or implied, of the US Department of Homeland Security. The Department of Homeland Security does not endorse any products or commercial services mentioned in this publication.
The authors declare that they have no competing interests.
MP, AP, SK, and TT conceived the project and designed the experiments and software. BO and AD contributed to the design of experiments and software. TT, SK, DS, BO, and AD implemented and tested the software. TT, SK, IA, BL, and AD performed the experiments. SK and TT collected and analyzed the results. MP, TT, SK and AP wrote the manuscript. All authors read and approved the final manuscript. SK and TT contributed equally to this work.
Todd J Treangen, Sergey Koren contributed equally to this work.
Electronic supplementary material
Authors’ original submitted files for images
Below are the links to the authors’ original submitted files for images.
About this article
Cite this article
Treangen, T.J., Koren, S., Sommer, D.D. et al. MetAMOS: a modular and open source metagenomic assembly and analysis pipeline. Genome Biol 14, R2 (2013). https://doi.org/10.1186/gb-2013-14-1-r2