Skip to main content
Bioinformatics logoLink to Bioinformatics
. 2023 Apr 3;39(4):btad152. doi: 10.1093/bioinformatics/btad152

DNAscan2: a versatile, scalable, and user-friendly analysis pipeline for human next-generation sequencing data

Heather Marriott 1,2, Renata Kabiljo 3,4, Ahmad Al Khleifat 5, Richard J Dobson 6,7,8, Ammar Al-Chalabi 9,10, Alfredo Iacoangeli 11,12,13,
Editor: Can Alkan
PMCID: PMC10112953  PMID: 37010501

Abstract

Summary

The current widespread adoption of next-generation sequencing (NGS) in all branches of basic research and clinical genetics fields means that users with highly variable informatics skills, computing facilities and application purposes need to process, analyse, and interpret NGS data. In this landscape, versatility, scalability, and user-friendliness are key characteristics for an NGS analysis software. We developed DNAscan2, a highly flexible, end-to-end pipeline for the analysis of NGS data, which (i) can be used for the detection of multiple variant types, including SNVs, small indels, transposable elements, short tandem repeats, and other large structural variants; (ii) covers all standard steps of NGS analysis, from quality control of raw data and genome alignment to variant calling, annotation, and generation of reports for the interpretation and prioritization of results; (iii) is highly adaptable as it can be deployed and run via either a graphic user interface for non-bioinformaticians and a command line tool for personal computer usage; (iv) is scalable as it can be executed in parallel as a Snakemake workflow, and; (v) is computationally efficient by minimizing RAM and CPU time requirements.

Availability and implementation

DNAscan2 is implemented in Python3 and is available at https://github.com/KHP-Informatics/DNAscanv2.

1 Introduction

Thanks to its growing accessibility and affordability, next-generation sequencing (NGS) is now being adopted in all fields of clinical and biomedical genetics. As a consequence, a broad audience of users require flexible and easy-to-use bioinformatics software able to adapt to their informatics proficiency, computing infrastructure, and study objectives. Current publicly available NGS pipelines normally focus on the analysis of specific types of genetic variants, e.g. only SNVs and small indels, or only structural variants, do not cover the whole analysis process (i.e. they are not end-to-end), and are not suitable for users with limited informatics skill (DePristo et al. 2011; Chiang et al. 2015; Collins et al. 2020; Zarate et al. 2020). Although tools that focus on solving some of these factors exist, e.g. being end-to-end (Causey et al. 2018) or user-friendly (Blankenberg et al. 2010), to our knowledge, only commercial bioinformatics solutions which are not accessible to the majority of NGS users, cover all of these aspects (Miller et al. 2015). On such a basis, we developed DNAscan2.

2 Results and implementation

DNAscan2 is written in Python3 and is an open-source software tool available to download from GitHub (https://github.com/KHP-Informatics/DNAscanv2). The installation of its software and database dependencies (Supplementary Table S1) can be performed manually, with a bash helper script or via a GUI. An Anaconda (Anaconda Software Distribution (2022), Web: https://anaconda.com) environment file of available binary dependencies is also provided for those who want to install software without package conflicts. The full list of dependencies with their installation specifics are shown in Supplementary Table S2.

2.1 New and upgraded features

DNAscan2 presents substantial improvements with respect to DNAscan (Iacoangeli et al. 2019a) in all phases of the analysis (see sections below). Unlike in DNAscan, where users could select one of three modes (fast, normal, and intensive) to tailor the computational requirements to their availability, DNAscan2 implements a single protocol that automatically tailors itself according to the type of variants the user is interested in by default (see Supplementary Fig. S1 and Supplementary Table S2), and it allows the selection of a fast mode which does not perform computationally intensive steps for users with limited RAM and/or CPU time constraints. Descriptions of the benchmarking procedure and detailed results are available in the Supplementary Information.

2.1.1 SNV and indel calling

The Strelka2 small variant caller (Kim et al. 2019) has replaced Freebayes (Garrison and Marth, 2012) and GATK Haplotype Caller (Poplin et al. 2018) for both SNV and indel calling (Supplementary Fig. S1A), as it has a similar performance for SNVs and consistently demonstrates a higher precision and F-measure for indel detection on both NA12878 WES and HG002 WGS samples for both standard calls (Supplementary Figs S2 and 3A) and medically relevant genetic variants in challenging regions (Supplementary Fig. S3B).

2.1.2 Structural variant calling

An enhanced structural variant calling protocol was developed via the addition of Delly (Rausch et al. 2012) to call inversion and deletion variants as well as tandem duplications and translocation events. Delly exhibits a 28–35% higher F-measure for small (50–1000 bp) and medium (1001–10 000 bp) deletions (Supplementary Fig. S4A) on BWA-mem and HISAT2 aligned HG002 WGS reads generated with DNAscan, in addition to a 35% increase in precision for small (101–1000 bp) haplotype-resolved inversion calls (Sudmant et al. 2015) on simulated NA12878 WGS reads (Supplementary Fig. S5A). Furthermore, almost all true positive deletion and inversion calls for both datasets are exclusive to Delly or shared by both Manta and Delly (Supplementary Figs S4B and S5B). This improved calling comes at the expense of increased runtime, with DNAscan2 taking ∼24-30 hours longer to run (Supplementary Table S4). Structural variant calling with Delly is not performed in fast mode.

2.1.3 Transposable element and short tandem repeat discovery

The protocol for the detection of mobile element insertions (Alu, SVA and LINE1) and tandem repeats has been substantially improved with the addition of new state-of-the-art tools. Mobile elements can now be discovered and genotyped via MELT (Gardner et al. 2017) and a genome-wide non-reference short tandem repeat loci profile with details of the motif composition and estimated repeat size of each identified repeat can be generated using ExpansionHunter Denovo (Dolzhenko et al. 2020). Users also have the option to convert the repeat loci into a catalog format compatible with ExpansionHunter (using a conversion script available at https://github.com/francesca-lucas/ehdn-to-eh) to undergo repeat size estimation and genotyping (Supplementary Fig. S1A). Short tandem repeat genotyping is not performed in fast mode.

2.1.4 Variant annotation and report generation

The spectrum of variants that can now be annotated has been extended to include structural and transposable elements (Supplementary Fig. S1A) with the incorporation of AnnotSV (Geoffroy et al. 2018), in addition to known and novel repeat expansions using user-defined ANNOVAR databases. Additionally, an HTML report of variants annotated with AnnotSV produced with the knotAnnotSV program (Geoffroy et al. 2021), and a generalized annotation report giving type, genomic location, overlapping genes and population variant frequency of all identified variants are created for the user’s convenience (Supplementary Fig. S6).

2.2 Snakemake and GUI accessibility

To expand the accessibility of DNAscan2, both a graphical user interface (Supplementary Fig. S1B–D) and a Snakemake workflow (available at https://github.com/KHP-Informatics/DNAscanv2_snakemake) have been developed. This renders DNAscan2 available as both an easy-to-use, end-to-end program via its GUI and as a highly scalable command line tool which can be executed on high-performance computing facilities.

2.3 Computational performance

DNAscan2 is optimized to minimize the computational resources necessary for its use. The average memory usage in the SNV and indel calling stage for WGS is approximately 1 Gb (Supplementary Table S4, Supplementary Fig. S7); an improvement of 97% compared with DNAscan. DNAscan2 can complete the full protocol, including alignment, full SV calling and annotation, on WGS data in ∼50 hours using 4 CPUs and ∼15 Gb RAM (Supplementary Table S4, Supplementary Figs S7 and S8), which is reduced to ∼20 h when fast mode is implemented, generally within the hardware specifications of a midrange personal computer.

3 Conclusions

DNAscan2 adapts to the heterogenic needs of a wide audience that uses NGS data nowadays. It shows potential to be of great value for a broad range of users and applications, e.g. clinical geneticists focusing on disease diagnostics (Iacoangeli et al. 2019b; Supplementary Fig. S9, Supplementary Table S5), as well as biomedical researchers working on large-scale genomic studies.

Supplementary Material

btad152_Supplementary_Data

Acknowledgements

The authors acknowledge use of the research computing facility at King’s College London, Rosalind (https://rosalind.kcl.ac.uk).

Contributor Information

Heather Marriott, Department of Basic and Clinical Neuroscience, King’s College London, London, United Kingdom; Department of Biostatistics and Health Informatics, King’s College London, London, United Kingdom.

Renata Kabiljo, Department of Basic and Clinical Neuroscience, King’s College London, London, United Kingdom; Department of Biostatistics and Health Informatics, King’s College London, London, United Kingdom.

Ahmad Al Khleifat, Department of Basic and Clinical Neuroscience, King’s College London, London, United Kingdom.

Richard J Dobson, Department of Biostatistics and Health Informatics, King’s College London, London, United Kingdom; NIHR BRC SLAM NHS Foundation Trust, London, United Kingdom; Institute of Health Informatics and NIHR BRC at University College London Hospitals NHS Foundation Trust, London, United Kingdom.

Ammar Al-Chalabi, Department of Basic and Clinical Neuroscience, King’s College London, London, United Kingdom; King’s College Hospital, London, United Kingdom.

Alfredo Iacoangeli, Department of Basic and Clinical Neuroscience, King’s College London, London, United Kingdom; Department of Biostatistics and Health Informatics, King’s College London, London, United Kingdom; NIHR BRC SLAM NHS Foundation Trust, London, United Kingdom.

Supplementary data

Supplementary data is available at Bioinformatics online.

Funding

This work was supported by GlaxoSmithKline and the KCL Funded Centre for Doctoral Training (CDT) in Data-Driven Health to H.M. The authors receive funding from ALS Association Milton Safenowitz Research Fellowship, The Motor Neurone Disease Association, The Darby Rimmer Foundation, MND Scotland, Rosetrees Trust, The NIHR Maudsley Biomedical Research Centre at South London and Maudsley NHS Foundation Trust, an EU Joint Programme—Neurodegenerative Disease Research (JPND) project, Medical Research Council, Economic and Social Research Council, My Name’5 Doddie Foundation, and Alan Davidson Foundation.

Conflict of Interest: none declared.

Data availability

The data presented in this article are available in the article, in its online supplementary material, or by contacting the corresponding author.

References

  1. Blankenberg D et al. Galaxy: a web-based genome analysis tool for experimentalists. Curr Protoc Mol Biol 2010; Chapter 19, Unit 19.10.1–21. [DOI] [PMC free article] [PubMed] [Google Scholar]
  2. Causey JL, Ashby C, Walker K. et al. DNAp: a pipeline for DNA-seq data analysis. Sci Rep 2018;8:6793. [DOI] [PMC free article] [PubMed] [Google Scholar]
  3. Chiang C, Layer RM, Faust GG. et al. SpeedSeq: ultra-fast personal genome analysis and interpretation. Nat Methods 2015;12:966–8. [DOI] [PMC free article] [PubMed] [Google Scholar]
  4. Collins RL, Brand H, Karczewski KJ, et al. ; Genome Aggregation Database Production Team. A structural variation reference for medical and population genetics. Nature 2020;581:444–51. [DOI] [PMC free article] [PubMed] [Google Scholar]
  5. DePristo MA, Banks E, Poplin R. et al. A framework for variation discovery and genotyping using next-generation DNA sequencing data. Nat Genet 2011;43:491–8. [DOI] [PMC free article] [PubMed] [Google Scholar]
  6. Dolzhenko E, Bennett MF, Richmond PA. et al. ExpansionHunter denovo: a computational method for locating known and novel repeat expansions in short-read sequencing data. Genome Biol 2020;21:102. [DOI] [PMC free article] [PubMed] [Google Scholar]
  7. Gardner EJ, Lam VK, Harris DN, et al. ; The 1000 Genomes Project Consortium. The mobile element locator tool (MELT): population-scale mobile element discovery and biology. Genome Res 2017;27:1916–29. [DOI] [PMC free article] [PubMed] [Google Scholar]
  8. Garrison E, Marth G. Haplotype-based variant detection from short-read sequencing. arXiv, arXiv:1207.3907 [q-Bio], 2012, preprint: not peer reviewed.
  9. Geoffroy V, Herenger Y, Kress A. et al. AnnotSV: an integrated tool for structural variations annotation. Bioinformatics 2018;34:3572–4. [DOI] [PubMed] [Google Scholar]
  10. Geoffroy V, Guignard T, Kress A. et al. AnnotSV and knotAnnotSV: a web server for human structural variations annotations, ranking and analysis. Nucleic Acids Res 2021;49:W21–8. [DOI] [PMC free article] [PubMed] [Google Scholar]
  11. Iacoangeli A, Al Khleifat A, Sproviero W. et al. DNAscan: personal computer compatible NGS analysis, annotation and visualisation. BMC Bioinformatics 2019a;20. [DOI] [PMC free article] [PubMed] [Google Scholar]
  12. Iacoangeli A, Al Khleifat A, Sproviero W. et al. ALSgeneScanner: a pipeline for the analysis and interpretation of DNA sequencing data of ALS patients. Amyotroph Lateral Scler Frontotemporal Degener 2019b;20:207–15. [DOI] [PMC free article] [PubMed] [Google Scholar]
  13. Kim D, Paggi JM, Park C. et al. Graph-based genome alignment and genotyping with HISAT2 and HISAT-genotype. Nat Biotechnol 2019;37:907–15. [DOI] [PMC free article] [PubMed] [Google Scholar]
  14. Kim S, Scheffler K, Halpern AL. et al. Strelka2: fast and accurate calling of germline and somatic variants. Nat Methods 2018;15:591–4. [DOI] [PubMed] [Google Scholar]
  15. Li H. Aligning sequence reads, clone sequences and assembly contigs with BWA-MEM. arXiv, arXiv:1303.3997 [q-Bio], 2013, preprint: not peer reviewed.
  16. Miller NA, Farrow EG, Gibson M. et al. A 26-hour system of highly sensitive whole genome sequencing for emergency management of genetic diseases. Genome Med 2015;7:100. [DOI] [PMC free article] [PubMed] [Google Scholar]
  17. Poplin R et al. Scaling accurate genetic variant discovery to tens of thousands of samples. biorXiv, 2018, 201178, preprint: not peer reviewed.
  18. Rausch T, Zichner T, Schlattl A. et al. DELLY: structural variant discovery by integrated paired-end and split-read analysis. Bioinformatics 2012;28:i333–9. [DOI] [PMC free article] [PubMed] [Google Scholar]
  19. Sudmant PH, Rausch T, Gardner EJ, et al. ; 1000 Genomes Project Consortium. An integrated map of structural variation in 2,504 human genomes. Nature 2015;526:75–81. [DOI] [PMC free article] [PubMed] [Google Scholar]
  20. Zarate S, Carroll A, Mahmoud M. et al. Parliament2: accurate structural variant calling at scale. Gigascience 2020;9:1–9. [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

btad152_Supplementary_Data

Data Availability Statement

The data presented in this article are available in the article, in its online supplementary material, or by contacting the corresponding author.


Articles from Bioinformatics are provided here courtesy of Oxford University Press

RESOURCES