VIRify is a recently developed pipeline for the detection, annotation, and taxonomic classification of viral contigs in metagenomic and metatranscriptomic assemblies. The pipeline is part of the repertoire of analysis services offered by MGnify. VIRify’s taxonomic classification relies on the detection of taxon-specific profile hidden Markov models (HMMs), built upon a set of 22,014 orthologous protein domains and referred to as ViPhOGs.
VIRify was implemented in CWL.
The current implementation uses CWL version 1.2 dev+2. It was tested using Toil version 4.10 as the workflow engine and conda to manage the software dependencies.
conda env create -f cwl/requirements/conda_env.yml conda activate viral_pipeline
cd cwl/ virify.sh -h
Although VIRify has been benchmarked and validated with metagenomic data in mind, it is also possible to use this tool to detect RNA viruses in metatranscriptome assemblies (e.g. SARS-CoV-2). However, some additional considerations for this purpose are outlined below:
1. Quality control: As for metagenomic data, a thorough quality control of the FASTQ sequence reads to remove low-quality bases, adapters and host contamination (if appropriate) is required prior to assembly. This is especially important for metatranscriptomes as small errors can further decrease the quality and contiguity of the assembly obtained. We have used TrimGalore for this purpose.
2. Assembly: There are many assemblers available that are appropriate for either metagenomic or single-species transcriptomic data. However, to our knowledge, there is no assembler currently available specifically for metatranscriptomic data. From our preliminary investigations, we have found that transcriptome-specific assemblers (e.g. rnaSPAdes) generate more contiguous and complete metatranscriptome assemblies compared to metagenomic alternatives (e.g. MEGAHIT and metaSPAdes).
3. Post-processing: Metatranscriptomes generate highly fragmented assemblies. Therefore, filtering contigs based on a set minimum length has a substantial impact in the number of contigs processed in VIRify. It has also been observed that the number of false-positive detections of VirFinder (one of the tools included in VIRify) is lower among larger contigs. The choice of a length threshold will depend on the complexity of the sample and the sequencing technology used, but in our experience any contigs <2 kb should be analysed with caution.
4. Classification: The classification module of VIRify depends on the presence of a minimum number and proportion of phylogenetically-informative genes within each contig in order to confidently assign a taxonomic lineage. Therefore, short contigs typically obtained from metatranscriptome assemblies remain generally unclassified. For targeted classification of RNA viruses (for instance, to search for Coronavirus-related sequences), alternative DNA- or protein-based classification methods can be used. Two of the possible options are: (i) using MashMap to screen the VIRify contigs against a database of RNA viruses (e.g. Coronaviridae) or (ii) using hmmsearch to screen the proteins obtained in the VIRify contigs against marker genes of the taxon of interest.
Contact usMGnify helpdesk
|virsorter_virome||n/a||Set this parameter if the input fasta is mostly viral. See: https://github.com/simroux/VirSorter/issues/50||
|virsorter_data_dir||n/a||VirSorter supporting database files.||
|add_hmms_tsv||n/a||Additonal metadata tsv||
|hmmscan_database_dir||n/a||HMMScan Viral HMM (databases/vpHMM/vpHMM_database). NOTE: it needs to be a full path.||
|ncbi_tax_db_file||n/a||ete3 NCBITaxa db https://github.com/etetoolkit/ete/blob/master/ete3/ncbi_taxonomy/ncbiquery.py http://etetoolkit.org/docs/latest/tutorial/tutorial_ncbitaxonomy.html This file was manually built and placed in the corresponding path (on databases)||
|img_blast_database_dir||n/a||Downloaded from: https://genome.jgi.doe.gov/portal/IMG_VR/IMG_VR.home.html||
|mashmap_reference_file||n/a||MashMap Reference file. Use MashMap to||
|pprmeta_simg||n/a||PPR-Meta singularity simg file||
|length_filter||Filter contigs||Default lenght 1kb https://github.com/EBI-Metagenomics/emg-virify-scripts/issues/6|
|ratio_evalue||ratio evalue ViPhOG||n/a|
|fasta_restore_name_hc||Restore fasta names||n/a|
|fasta_restore_name_lc||Restore fasta names||n/a|
|fasta_restore_name_pp||Restore fasta names||n/a|
|imgvr_blast||Blast in a database of viral sequences including metagenomes||n/a|
Views: 2383 Downloads: 70
Created: 8th Jun 2020 at 11:21
Last updated: 8th Mar 2021 at 21:38
Last used: 27th Jun 2022 at 14:16