Vipie: web pipeline for parallel characterization of viral populations from multiple NGS samples
Abstract
BioMed Central open access
Full text
SOFTWARE Open Access Vipie: web pipeline for parallel characterization of viral populations from multiple NGS samples Jake Lin 1 , Lenka Kramna 2 , Reija Autio 3 , Heikki Hyöty 1,4* , Matti Nykter 1* and Ondrej Cinek 2* Abstract Background: Next generation sequencing (NGS) technology allows laboratories to investigate virome composition in clinical and environmental samples in a culture-independent way. There is a need for bioinformatic tools capable of parallel processing of virome sequencing data by exactly identical methods: this is especially important in studies of multifactorial diseases, or in parallel comparison of laboratory protocols. Results: We have developed a web-based application allowing direct upload of sequences from multiple virome samples using custom parameters. The samples are then processed in parallel using an identical protocol, and can be easily reanalyzed. The pipeline performs de-novo assembly, taxonomic classification of viruses as well as sample analyses based on user-defined grouping categories. Tables of virus abundance are produced from cross-validation by remapping the sequencing reads to a union of all observed reference viruses. In addition, read sets and reports are created after processing unmapped reads against known human and bacterial ribosome references. Secured interactive results are dynamically plotted with population and diversity charts, clustered heatmaps and a sortable and searchable abundance table. Conclusions: The Vipie web application is a unique tool for multi-sample metagenomic analysis of viral data, producing searchable hits tables, interactive population maps, alpha diversity measures and clustered heatmaps that are grouped in applicable custom sample categories. Known references such as human genome and bacterial ribosomal genes are optionally removed from unmapped (‘dark matter’) reads. Secured results are accessible and shareable on modern browsers. Vipie is a freely available web-based tool whose code is open source. Keywords: Metagenomics, Viromes, Virus, Assembly, NGS analysis, Visualization, Parallel processing, Viral dark matter Background The use of virome metagenomics has been growing rapidly due to the increasing demands to study the whole virome in clinical samples and to evaluate the evolution of viral quasispecies during acute and chronic infections. The application of virome sequencing techniques become useful not only in infectious disease research, but also in association studies of primarily non-infectious conditions, i.e. in diseases where the agent is presumed to modify the risk of the disease, which effect is detectable upon investigation of a large number of subjects only. These applications require an approximation of virus quantity, similar to what has long been utilized in bacteriome profiling. As viruses lack a common sequence signature, metagenomics sequencing of random viral libraries remains the only feasible way of an unbiased assessment of the whole virome. Presently, the need for accurate quantification and interpretation of viral population metrics across a set of samples creates a substantial challenge for this kind of metagenomics studies. Prime obstacles for virome investigators are the large genetic heterogeneity and also that the majority of bioinformatic tools are command line based and overtly technical, being computationally demanding, with complicated dependencies, * Correspondence: [email protected];matti.nykte[email protected]; [email protected] 1 BioMediTech and Faculty of Medicine and Life Sciences, University of Tampere, PB 100FI-33014 Tampere, Finland 2 Department of Pediatrics, 2nd Faculty of Medicine, Charles University and University Hospital Motol, V Úvalu 84, 150 06 Praha 5, Czech Republic Full list of author information is available at the end of the article © The Author(s). 2017 Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated. Lin et al. BMC Genomics (2017) 18:378 DOI 10.1186/s12864-017-3721-7
and producing text based outputs that are not easily interpretable [1–5]. Recently released web based applications Taxonomer [6], VirusTAP [7], Virome [8] and Metavir [9, 10] have addressed some of the issues (especially those of user interaction), but mostly operate only on single sample experiments with different workflows. Requiring local dependencies and installation, ViromeScan [11] and MetaShot [12] works on multiple samples. Some of these tools were designed for long (>300) reads or assembled contigs [8–10], which is limiting as modern metagenomics projects including Human Microbiome Project (HMP) [1, 2] produce mostly high-throughput short paired reads. Table 1 provides an overview of the primary features and strategies of these different tools, including our work. We aimed to open the possibility of creating a table of viral quantities of multiple samples assessed in parallel by exactly identical processes. Here we introduce Vipie, a web based viral diversity population tool accepting as input a set of files from virome metagenomics NGS analyses of multiple samples. Here we present the workflow and results using NGS samples from Human Microbiome Project and other metagenomics studies. Functional on all modern browsers, the high performance pipeline is freely available for academic usage. Implementation Our pipeline processes de-multiplexed paired FASTQ files, the most typical product of metagenomics sequencing. Several steps are then performed in parallel for all samples: quality control (QC), de-novo assembly of putative genomic contigs, taxonomic classification of the assembled contigs and orphan singleton reads by performing Blast queries against a local custom virus database derived from Genbank, and finally remapping of the sequencing reads onto reference sequences identified by this taxonomic classification. Default analysis parameters can be easily modified (e.g. the QC stringency, or the de novo assembly algorithm). Depicted in Fig. 1, Vipie pipeline uses multi processor architecture with integration of PostgreSQL for performance and data management while providing secured interactive results and allowing web form parameters for QC, assembly and scoring. The individual parameters and its default values are listed in the user guide. Trimming and quality control are parameter based applying Galaxy project utilities [13, 14]. We have integrated leading de-novo assembly tools - Velvet [15], MetaVelvet [16], IDBA [17] and MEGAHIT (SOAPDENOVO) [18] and ABySS [19]; these methods and tools are further described and reviewed [5, 20–22]. Taxonomic identification is performed using BLAST [23] against a local NCBI database restricted to whole virus genomes. The final step of the parallel analysis remaps the raw reads using BWA [24] onto a list of best matches from the BLAST queries, and lists the count of original reads matching to each of these references. In cases where reads match equally well to multiple viruses, the score is divided among such best matches to express importantly the ambiguity in assignation of the motifs shared among viral taxa, and the uncertainty of the presently available classification. De-novo contigs and reads that do not match to any currently known virus, optionally filtered for human genome and known ribosomal DNA, can be retrieved for further analysis as this ‘dark matter’of the virome presumably containing novel viruses. Our pipeline allows a direct export of these unmapped reads owing to three-step filtering strategy. Reads unmatched to known viruses are first deprived of sequences that match to ribosomal DNA of bacterial, archeal and fungal origin. This is performed by remapping the reads by the BWA program to databases of 16S, 23S and 5S rDNA (a copy of ftp.ncbi.nlm.nih.gov/genomes/TARGET, and a reduced database of 5S rDNA http://www.combio.pl/rrna/) [25]. The next step remaps the reduced set of reads to the human genome. This step yields the potential dark matter of the human genome, mixed with a small proportion of bacterial genomic DNA. Our pipeline does not filter out these bacterial genomic reads, as they may contain novel lysogenic (dormant) phages. VIPIE’s reference virus database was built from three sources and clustering the sequences to the 97% level of identity further reduced the complexity. First, all viruses were downloaded from the refseq database at the NCBI (https://ftp.ncbi.nih.gov/refseq/release/viral/), and reduced to 97% identity by using the CD-HIT program (https:// github.com/weizhongli/cdhit/[26]). Then, all virus sequences labeled as “complete”,withthe“txid10239” (superkingdom Viruses) in the “Orgn”field were retrieved from Genbank. The query retrieved approximately 80,000 sequences from the database, which were subsequently reduced to the 97% similarity by using the CD-HIT program. Finally, similarly to previous two databases, phages were merged and clustered from the European Bioinformatics Institute (EBI) repository (ftp.ebi.ac.uk/ pub/databases/fastafiles/embl_genomes/genomes/Phage/). The web form, interface dialogs and results are programmed to HTML5 standards and using JavaScript and modern, open source JavaScript libraries (https:// jquery.org, https://datatables.net) for browser compatibility. Biopython [27] is used for sequencing parsing and formatting. Parallel processing is achieved via python (https://www.python.org) subprocess module implementation and uses PostgreSQL (https://www.postgresql.org) schema for job tracking and results merging. Standard SMTP library is used for notification, hence the email registration requirement. Clustered heatmaps are implemented Lin et al. BMC Genomics (2017) 18:378 Page 2 of 11
Table 1 Comparison of the existing virome pipelines tools Pipeline Tool Vipie ViromeScan [11] VirusTAP [8] Virome [16] Metavir [14] Taxonomer [6] MetaShot [12] Primary goal Parallel analysis of multiple viral metagenomes from web and suited for molecular epidemiology studies. To profile viromes using databases of existing eukaryotic viruses without assembly. Identification of viruses in a sample, after a thorough elimination of known non-viral sequences. Classification of all putative ORF found in a viral metagenome, characterization of viral communities. Analysis of virome, diversity metrics and marker gene phylogenies. Ultra fast metagenomics analysis focusing on detection of microorganisms, including virus and bacterial. Highly accurate and comprehensive workflow for host-associate microbiome classification on multiple samples. Web based Yes. No. Yes. Yes (Flash required). Yes. Yes. No. Outputs Interactive table, plots and raw downloads. Clustered heatmaps with dynamic group assignment re-plots. Static population pie charts. Sample based clustered heatmaps. Contig based hits and seamless web BLAST interface. Rich collection of sample source virome ORF and sequence categories. Comparative analysis of viromes and annotations including networks, nonmetric distance and tree maps. Interactive pie charts with kingdoms in bins and also impressive sunburst flare sub classifiers. A Krona graph and Interactive Taxonomy HTML table along with csv file. Source data Paired-end reads; fastq format. Sinle-end or paired-end reads; fastq format. Paired-end reads. Accepts also single-end reads; fastq format. sff, or fastq; intended for the 454-generated metagenomes. Reads (>300 bases) or assembled contigs. Paired-end reads in fastq and fasta formats. Paired-end reads in fastq format. Trimming and filtering YES, as the first step. YES, after selection of viral reads, at the level of a bam file. YES, as the first step. YES: quality based; duplicate filtering; contamination Not specified. Not specified. YES, as the first step. De-novo assembly YES, a choice of assemblers. No. YES, a choice of assemblers; done after subtraction steps. No. No. No. No. Subtraction of human ref. and bacterial ribosomal sequences Optional, only for the output of dark matter sequences. YES, using Human Best Match Tagger. No for ribosomal. YES, also other host databases available (mouse etc.). Not specified for human. Ribosome is removed using BLAST against rDNA db. Not specified. Not subtracted but reported as part of detection. Yes, reports identification of human host reads and bacterial mappings. Means of virus identification (a) BLAST against a pan-viral database. (b) Remapping of original reads to the identified candidates. Mapping to the members of the virus database using bowtie2 [24]. BLAST search against the NCBI nt database. Protein BLASTP upon two databases. Several tiers of classification of the ORFs. Not specified. Taxonomer Binner DB with 21 bp kmers unique identifiers to known viruses. Custom similarity workflow with hamming distance. Virus database for identification A custom database containing 20759 human, animal, plant and bacterial viruses. Eukaryotic viruses only. Four custom databases available for download. Specificity is maintained by the subtraction steps prior to assembly and BLAST search. UniRef 100 peptide database, five annotated protein databases, MetaGenomes On-line. GAAS tool (https:// sourceforge.net/ projects/gaas/). Binner DB needs to be built using KAnalyze [42](https://sourceforge. net/projects/kanalyze/files/). TANGO [43]and NCBI Taxonomy [44]. Action when a read maps to different viruses Score is split among the hit reference sequences. Not specified. Not specified. Not specified. Not specified. Assigns as ambiguous. Parsed for human endogenous retrovirus otherwise classify as ambiguous and discarded. Most tools use BLAST [23] for initial detection of known references. Vipie uniquely allows web parallel analysis of multi-samples and accounts read hits to multiple viral references for comprehensive population profiling Lin et al. BMC Genomics (2017) 18:378 Page 3 of 11
with R ggplot2 [28] while other summary and alpha diversity statistics are computed using custom python scripts. Population maps and read distribution count summary charts are created using highcharts.js (https://www.highcharts.com) and custom event handlers for interactivity. Vipie is an ongoing open sourced project and available at https://sourceforge.net/projects/vipie. Results Input samples and interactive results The pipeline utility is here demonstrated on set of 11 samples where the input and results are available to all users. The sample set consists of (a) blood, nasal, stool and vagina data from Human Metagenome Project (HMP), (b) diarrhea sample from gastroenteritis outbreak (DRA004165 DNA Data Bank Japan [29, 30]) used in VirusTAP and (c) stool data from in-house ongoing African metagenomics project [31, 32]. Table 2 lists relevant accession identifiers, sources and number of reads along with result links. As the compressed archived exceeds 1.2 gigabytes, a smaller subsampled archive consisting of 20% is available for download on the homepage and the original compressed FASTQ archived is available on https://sourceforge.net/projects/vipie/files/ data [33]. End-to-end processing of the 11 samples took 82 min, processing 29,778,980 reads that includes assembly, scoring, and clustering and removal of human reference and known ribosomal references. The performance time was measured after the archive was uploaded as file upload depends fully on local network speed. The interactive results, with population profile maps and filterable viral hit tables are accessible at: https://binf.uta.fi/vipie/results.html?key=eLZPuObVoU. Result links are accessible without registration and designed to be shared among collaborators whereas job history and active jobs are visible only to registered investigators. The results are divided into panels of Population profile & group assignment, QC & Dark matter report, Summary & alpha diversity, and Viral hits table. Raw results, including unmapped dark matter reads that to not match to any known virus can be also downloaded. Figure 2 shows group-based population pie charts and alpha diversity as measured by Shannon entropy [34]. The population pie chart sizes are relative to total number of hits and their slices are fully interactive as clicking on the slices traverses the taxonomy levels. The tool found 167 unique accessions across the samples and an easy to use searchable and sortable sample hits table is provided and best experienced from the browser, where the table can be collapsed based on taxonomy and sample viral hits can be downloaded as a text file ready for Excel import. Our user guide provides screenshots and directions on filtering the sample hits table and using the filtering function, we found Human Herpes hits on a HMP blood sample SRS072276, where herpes in hematological samples have been reported in a prior microbiome and hematopoiesis report [35]. Our results showed that virus population profiles are unique across body sites, reported also in ViromeScan and visually shown Fig. 1 Vipie web flow chart. For efficiency, sample based paired FASTQ files are uploaded as a zipped archive with optional mapping file. Illumina BaseSpace archive downloads can be used without changes. All pipeline parameters can be entered using the web form. The default values and use case are listed in the user guide available at home page along with example multi-sample archive input Lin et al. BMC Genomics (2017) 18:378 Page 4 of 11
in the clustered maps. Interestingly, in the stool sample SRS012902, crAssphage [36] was by far the highest virus detected. Figure 3 shows the clustered heatmap generated in R, and it correctly clustered healthy HMP sample types together [11] while Japanese gastroenteritis and African samples showed profoundly different signatures. Comparisons We first compared our performance to that of ViromeScan. While ViromeScan states that it supports multiple samples, it requires local installation with 50+ gigabytes of database requirements. The 20 HMP samples used for its validation, only the stool samples passed QC [37] and likely due to timing, the other sample types were not available on HMP download page. Our summary and cluster findings of stool samples and retroauricular, with the highest diversity, samples agree with ViromeScan and other HMP findings of ~5.5 genera per sample [38]. We were unable to reproduce the herpes associations reported with vagina samples as those samples are no longer available. Input parameters, interactive maps, QC report (Fig. 4a) and viral hits of the 11 samples are accessible at https://binf.uta.fi/vipie/results.html?key=eLZ PuObVoU and Table 2 contains accession ids along with sample read sizes. Then performance of Vipie was compared to VirusTAP. Its web based de novo assembly dedicated pipeline required 17 min to process the DRA004165 sample from a study of gastroenteritis [29] in Japan. VirusTAP capably detected 11 Human rotaviruses where this result is cited and also available as its example results. Vipie using the same input detected similar findings of 14 Human rotaviruses strains (shown in Additional file 1: User guide Figure 10B) and also interestingly Streptococcus phage strains. Using the same sample, our pipeline required 32 min due to post assembly remapping with custom scoring and then unmapped origin filtering. Because of Vipie’s parallel computing design, the archive of 11 samples and more than 10 times the amount of reads, took just 82 min. The more comprehensive findings also highlight the scoring split strategy on read hits on multiple viruses and investigation of unmapped viral read origins shown in Fig. 4b. Furthermore, benchmarking was assessed and compared with the recently published MetaShot, using its simulated artificial dataset with a very high share of human sequences mixed with low amounts of many different viral sequences. Table 3 below shows the similar precision and recall results of the two tools. Vipie has a slightly higher percentage of unclassified viral reads likely due to subsampling of the initial dataset, and due to the fact that we optimized the virus BLAST database by removing sequences that were less distant than 3% from its closest relative; similar reduction of taxonomic complexity is known from e.g. bacteriome profiling. The script and Vipie results used for computing this statistics are available with README in Vipie project page on SourceForge. We are grateful to MetaShot authors for permission to use their simulated data, constructed using ART [39]. Table 2 NGS samples used in Vipie validation from Human Microbiome Project, Africa study, and diarrhea sample sourced in Japan gastroenteritis outbreak. ViromeScan listed 20 HMP samples but only Stool types of 4 samples passed QC AccessionId Source Sample Type Number of Reads a Sample used in Vipie-ViromeScan-VirusTAP validation Vipie Results b SRS072276 HMP Blood 438,879 Yes-No-No 1,2 SRS072318 HMP Blood 753,994 Yes-No-No 1,2 SRS019033 HMP Retroauricular 1,285,003 Yes-No-No 1 SRS016944 HMP Retroauricular 1,619,439 Yes-No-No 1 SRS012902 HMP Stool 2,039,473 Yes-Yes-No 1 SRS014923 HMP Stool 2,009,179 Yes-Yes-No 1 SRS014466 HMP Vagina 367,077 Yes-No-No 1,2 SRS015072 HMP Vagina 495,256 Yes-No-No 1,2 SRS072313 HMP Nasal 320,672 Yes-No-No 2 SRS072261 HMP Nasal 367,384 Yes-No-No 2 SRS072366 HMP Nasal 114,414 Yes-No-No 2 S11 Africa Stool 1,634,821 Yes-No-No 2 S12 Africa Stool 1,191,427 Yes-No-No 2 S14 Africa Stool 1,143,784 Yes-No-No 2 DRA004165 Japan Diarrheal 1,108,688 Yes-No-Yes 2 In addition to those stool samples, Vipie test archive includes 4 other HMP sample types. Result links with performance time are also provided a Input archive of Result 2 samples (subsampled 20% 225 MB) available at: https://binf.uta.fi/vipie/data/vipie_archive_ssampled.zip b Results 1: https://binf.uta.fi/vipie/results.html?key=2HSPXukkDS (66 min) Results 2: https://binf.uta.fi/vipie/results.html?key=eLZPuObVoU (82 min) Lin et al. BMC Genomics (2017) 18:378 Page 5 of 11
Discussion Vipie interface is implemented with HTML5 standards and utilizes open source JavaScript libraries. Unlike older and Adobe Flash based applications, Vipie does not require additional installations and supports all modern HTML5 compliant browsers while offering a consistent user experience. The input parameter form is designed to be clean and to group into processed components where each element has custom validation rules. The component details and rules are listed in the user guide. Secured and interactive analysis results are accessed with encrypted links and to promote collaboration, can be shared without registration. Sample based alpha diversity is provided, using Shannon entropy index [34] (Fig. 2) as a representative of diversity methods [35]. Vipie intuitively offers web based, form or file upload sample group Shannon entro py index Unique accessories (log) Alpha diversity Nasal Vagina Africa Blood VirusTAP -0.5 0 0.5 1 1.5 2 2.5 3 3.5 0 1 2 3 4 5 A B Fig. 2 Interactive population profile maps and diversity. Vipie results are securely accessed and browser based. aPopulation chart slices are clickable and their sizes represent relative percentage of relevant taxonomy level. Diarrheal sample is dominated by dsRNA (orange) Rotavirus while African stool samples contain ssRNA (green) and dsDNA viruses. bAlpha diversity is calculated using Shannon entropy. Vipie charts are interactive and can be saved as multiple image formats Lin et al. BMC Genomics (2017) 18:378 Page 6 of 11
S14 S11 SRS015072 SRS014466 SRS072261 SRS072366 SRS072313 S12 SRS072276 SRS072318 Diarrhea KF812551.1 NC_011222.1 NC_016770.1 KF726049.1 KJ870912.1 AY843304.1 KU355273.1 JQ173883.1 KP887098.1 KF726046.1 KF371693.1 KJ870927.1 DQ005111.1 KJ870919.1 KF726047.1 KR093640.1 KP343683.1 KF726054.1 KF371836.1 JX169867.1 JX169866.1 FJ647224.1 AC_000192.1 FJ647223.1 JF792616.1 KP266574.1 AY302543.1 AY302554.1 AY843298.1 NC_009514.1 AF324493.2 JX904130.1 KF726053.1 NC_019782.1 NC_011801.1 NC_008168.1 KT336321.1 NC_023503.1 KT336320.1 KP343840.1 NC_014094.1 KR093631.1 NC_025726.1 NC_019710.1 CP000711.1 AY208746.1 NC_022518.1 KJ716849.1 NC_014080.1 NC_027398.1 NC_018285.1 NC_005344.1 DQ902712.1 KP343864.1 KP343854.1 NC_002730.1 KP343844.1 NC_023984.1 JQ347801.1 KP343843.1 JN980171.1 AY184221.1 NC_014075.1 EU078592.1 KP343824.1 NC_014089.1 KP869108.1 NC_019716.1 HQ188292.1 NC_009225.1 AY302547.1 KP289439.1 DQ246620.1 EF174468.1 KF878966.1 KP290111.1 AY302556.1 KP289437.1 JX976771.1 KF042343.1 FJ357838.1 AY302544.1 EF174469.1 KC897073.1 JQ041368.1 AY302546.1 KP266575.1 KT353721.1 JX898907.1 JX476161.2 AY556070.1 KX810066.1 KR107057.1 EF634316.1 DQ534205.1 AY302542.1 AY673831.1 AY302553.1 JN596587.1 JQ729993.1 KF781525.1 AY843300.1 AY843306.1 JX476169.2 AY302548.1 JX476166.2 AF268065.1 Sample Viral Hits 310 1 2 3 Row Z Score Color Key Nasal Vagina Africa Blood VirusTAP Fig. 3 (See legend on next page.) Lin et al. BMC Genomics (2017) 18:378 Page 7 of 11
(See figure on previous page.) Fig. 3 Clustered heatmap of HMP, African and Japanese diarrheal samples. Public NGS data from different consortiums provide opportunities for advanced comparative virome analysis. Healthy HMP sample types clustered correctly (nasal, vaginal, blood samples) while a Japanese sample (gastroenteritis dataset from the VirusTAP report) and African samples (known to be positive for multiple viruses) showed different signatures. HMP samples can be identified using the legend on upper right, with olive green for nasal, yellow for vagina and blue for blood. Samples from rural Africa and VirusTAP (Japan) are marked in colors brick and red A B Fig. 4 QC and distribution of reads including dark viral matter. aThe chart shows the number of NGS reads retained per sample through QC, interlacing and de novo assembly. bSample reads, along the x-axis and their aligned origins are shown as stacked bars. Shown in black, unmapped viral ‘dark matter’is of high interest across virology studies. Blue bars represent bacterial ribosome, green for human while red is for known viral matches Lin et al. BMC Genomics (2017) 18:378 Page 8 of 11
reassignment where population and clustered maps are reanalyzed and dynamically redrawn. The pipeline produces a cross tabulation similar to the operational taxonomic unit (OTU) tables from bacteriome profiling, additional statistics is doable with advance R packages such as phyloseq [40] and deseq2 [41]. Often, published pipelines emphasize that their performance is by orders of magnitude faster than existing strategies [7, 8] and that the tasks can be completed in the order of minutes to single hours in a situation where existing viruses account only for a minor fraction of the total read count. We believe that the present Vipie pipeline offers fast data processing for most relevant applications, including real-time assessment of viral repertoire in clinical samples. For comparison, VirusTAP processing, up to assembly with 1 sample (~2 million reads, 172 MBs) took 17 min (Input upload time is not included as it is dependent completely on local network speed.). Vipie process the same sample in 32 min including assembly, cross validation scoring/remapping, known reference filtering and viral dark matter processing. Parallel implementation is ideal for multi-sample processing and input set of 11 samples (Table 2), consisting of ~30 million reads, 1.22 GBs compressed and processed in 82 min. There is no concurrent limit on the number of samples eligible for processing other than a small database overhead. Job completion time has a direct relationship to the sample with the highest read depth and it is well known that interlacing and assembly are high memory tasks. The de novo assembly step implements random subsampling on user defined read percentage, default of 75% with a maximum of 1,000,000 NGS reads per sample. Very large archives can suffer from network timeouts on file upload. In overcoming this scenario, we have successfully deployed Vipie on cluster computing environment and analyze thousands of samples consisting of terabytes of data using SLURM, the default utility for Linux high performance computing. We believe that our strategy offers a good balance between bearable algorithm speed on most machines, and availability of multiple sample processing. Importantly, the pipeline offers a set of files with bacterial, human, and unknown sequences (the “dark matter”of the virome). Dark matter reads are the remaining unmapped reads after filtering for human and bacterial ribosomes. It has been long known that the unknown dark matter is extremely valuable in virome analysis [9] and in focus with the recent discovery of new bacteriophage virus crAssphage while its bacterial host still unknown [36]. Many components of this “dark matter” of the virome have been observed across studies, and are likely to represent existing viruses, yet their taxonomy is presently unknown. The lack of taxonomic classification however should not preclude their use as provisional entities, exposures that are testable and quantifiable in epidemiological studies. Figure 4b shows an interactive sample based chart consisting of stacked bars representing the percentage of reads mapped to human, bacterial ribosomes, known viruses and dark matter. It is apparent that these unmapped reads dominated these NGS samples and deeper advanced analyses are necessary. As such, viral dark matter raw reads are part of downloads. An often-overlooked aspect is the uncertainty in virus identification. The Genbank database contains many similar isolates of almost every relevant virus serotype. This means that most reads or contigs would map to multiple different sequenced virus isolates. In single sample studies this does not pose any problem - the taxonomy is concluded as the highest scoring hit, or the first of a set of similarly high scoring organisms. This however cannot be done when a pipeline processes multiple samples at the same time: due to the known intrinsic variability of the viruses, even a single subject may produce two different samples where different virus quasi-species may prevail that will preferentially map to two different virus reference sequences. There are two possible solutions to the problem: the ViromeScan pipeline employed one where the databases are smaller with a limited scope. Unfortunately, the strategy towards their Table 3 (A) Read assignment benchmark assessment of MetaShot and Vipie on simulated dataset a consisting of 19 582 500 human (94.5%), 986 114 bacterial (4.8%) and 146 886 viral (0.7%) reads. Vipie percentages are based on random subsampling of 1 000 000 reads and bacterial statistics are not reported as Vipie reports information on bacterial ribosome only (the bacterial genomic DNA is not filtered out, as it might lead to loss of dormant phage sequences). (B) Precision, Recall and F-measure are calculated on the same data. Input reads and assessment script are available on SourceForge b A Assigned % c Correctly Assigned % d MetaShot Vipie MetaShot Vipie Human (host) 99.18 99.27 99.99 99.27 Viruses Family 97.74 99.98 98.53 93.39 Genus 97.39 98.99 99.75 93.33 Species 97.81 93.66 96.70 92.97 B Human (host) Virus MetaShot Vipie MetaShot Vipie Precision (%) 100.00 100.00 98.30 96.85 Recall (%) 99.97 99.96 98.19 95.36 F-measure (%) 100.00 99.98 98.07 96.08 Unclassified (%) 1.04 0.73 3.94 6.73 a https://recascloud.ba.infn.it/index.php/s/nw4s9hqnF8QkBsK b https://sourceforge.net/projects/vipie/files/validation/k c The percentage refers to the total number of reads assignable to the specific taxonomic rank d The percentage refers to the relevant assigned reads Lin et al. BMC Genomics (2017) 18:378 Page 9 of 11