Nuvs
Nuvs is a workflow that finds possible novel viral sequences in a sample library.
How does it work?
Pathoscope finds known viruses when it maps reads to reference sequences. Nuvs uses a different method. It assembles the reads that do not match the reference. Then it uses profile hidden Markov models (HMMs) to find viral domains in the assembled sequences. Thus, Nuvs can find divergent viral sequences that mapping or the Basic Local Alignment Search Tool (BLAST) possibly cannot find.
- Trim readsSkewer
Removed: Low-quality reads and bases, adapters, and short reads
- Remove reference readsBowtie 2
Removed: Reads that match the reference
- Remove host readsBowtie 2
Removed: Reads that match a subtraction
- Assemble contigsSPAdes
- Find ORFs
Removed: Contigs shorter than 300 bases or with no ORFs
- Compare ORFs with HMMsHMMER
First, Nuvs uses Skewer to trim the sample reads (Jiang et al., 2014). Skewer removes reads with an average quality score of less than 25. For paired libraries, it removes a pair only if the two reads both have an average quality score of less than 25.
Then Skewer removes Illumina adapter sequences from the reads. It also removes bases from the 3’ end of each read until it finds a base with a quality score of 20 or more.
Then Skewer removes reads that are too short. For paired libraries, if one read is too short, Skewer removes the two reads. The minimum length changes with the length of the longest read in the sample:
| Longest read | Minimum length |
|---|---|
| Less than 80 | 35 |
| 80 to 159 | 100 |
| 160 or more | 160 |
Pathoscope does not trim reads.
Next, Nuvs removes reads that match known OTUs or a host genome. First, it uses Bowtie 2 to map the reads to a Virtool reference and removes all reads that match. Then it uses Bowtie 2 to map the remaining reads to each host subtraction genome and removes the reads that match. For paired libraries, Nuvs keeps a read only if it also keeps the mate of that read.
Nuvs then uses SPAdes to assemble the remaining reads into contigs (Bankevich et al., 2012).
Next, Nuvs finds open reading frames (ORFs) in the contigs. It keeps only ORFs of 100 or more amino acids. It removes contigs shorter than 300 bases and contigs that have no ORFs. These contigs do not show in the results.
Finally, Nuvs compares the translated ORFs with the installed profile HMMs.
HMMs
Virtool uses profile HMMs to find possible novel viruses in sequencing data. The models find known viral motifs in translated open reading frames from sequencing data.
HMMER compares these models with translated ORFs (Eddy, 2011). The models come from clustered amino acid sequences in GenBank.
Virtool supplies an official set of models that come from the vFam project (Skewes-Cox et al., 2014). These models do not have biological annotations. Thus, Virtool also supplies annotations. Virtool calculates these annotations from the metadata of the amino acid sequences that are the source of the models.
To install and manage HMMs, see the HMMs guide.
Interpret results
An HMM match does not prove that a contig comes from a novel virus. To compare a contig with known sequences, use BLAST. To read and understand Nuvs results, see Interpret Nuvs in the analyses guide.
References
- Bankevich A, Nurk S, Antipov D, et al. (2012). SPAdes: a new genome assembly algorithm and its applications to single-cell sequencing. Journal of Computational Biology, 19(5), 455–477. doi:10.1089/cmb.2012.0021
- Eddy SR. (2011). Accelerated profile HMM searches. PLoS Computational Biology, 7(10), e1002195. doi:10.1371/journal.pcbi.1002195
- Jiang H, Lei R, Ding SW, et al. (2014). Skewer: a fast and accurate adapter trimmer for next-generation sequencing paired-end reads. BMC Bioinformatics, 15(1), 182. doi:10.1186/1471-2105-15-182
- Skewes-Cox P, Sharpton TJ, Pollard KS, et al. (2014). Profile hidden Markov models for the detection of viruses within metagenomic sequence data. PLoS ONE, 9(8), e105067. doi:10.1371/journal.pone.0105067