Skip to content

Develop a tool to facilitate genetic reporting of expressed variants

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

collaborativebioinformatics/snpReportR

Repository files navigation

expressed-variant-reporting

snpReportR

Contributors

Jenny Smith

Brandon Michael Blobner

Ahmad Al Khleifat

Goal

Develop a tool to facilitate genetic reporting, which takes as input a vcf file and gene name or id (optional) and produces a report file that informs the user of all genetic variants overlapping the gene, including any non-coding regulatory elements affecting expression of the gene.

The tool generates two reports, one is aimed for clinical use and the second aimed for researchers, informing the interpretation of genetic variants pertaining to the gene provided by the user.

Introduction

Producing sequencing data, whether it is whole genome sequencing (WGS), whole exome sequencing (WES) or targeted gene panels, is common practice for the study of genetic bases of biological processes. In biomedical research, NGS data are widely used to investigate the genetic causes of disease, allowing for the study of genomic variants including single nucleotide variations, small insertions or deletions of a few bases, as well as structural variants. There are several practical challenges when processing NGS data. For example, 40x WGS data for one sample produced on the Illumina Hiseq 2000, one of the most popular sequencers, is about 400 gigabytes in its raw format (fastq format). Such big files are not easy to handle for the average non-specialised scientist or lab, since they require sophisticated tools, bioinformatics skills and high-performance computing for their analysis. Furthermore, with the increasing availability of next-generation sequencing data, non-specialists, including health care professionals and patients, are obtaining their genomic information without a corresponding ability to analyse and interpret it as the relevance of novel or existing variants in genes of interest is not always apparent. In this context, research and medical workers, with different scientific backgrounds and levels of bioinformatics skills, deal with NGS data constantly. Here we describe SNP-ReprteR, an extremely fast, accurate and computationally light bioinformatics pipeline for the analysis, annotation and visualisation of DNA NGS data.


Installation

0. Configure gmailr package for sending emails via Google API. Links and instructions on found on in the wiki tab on this github repo.

install.packages(gmailr)

1. Install the package

devtools::install_github("collaborativebioinformatics/snpReportR")

2. Run the set-up R script.

Note: the quotes are necessary for counts and degs results, even if stored as data.frame objects in memory.

library(snpReportR)
snpReportR::setup(sample_names=sample_names, counts_results="counts_results",degs_results="degs_results", directory="my_reports")

The package includes the necessary data to produce 5 example HTML reports. The objects sample_names, counts_results, degs_results, and the associated VCF files for each of the samples is available to be examined.

class(DRR131561_dx.variants.HC_hard_cutoffs)
str(DRR131561_dx.variants.HC_hard_cutoffs) #large object
head(counts_results)
head(degs_results)

3. Results of set-up

Running snpReportR::setup() will produce a new directory (if it doesn't exist yet), and it will open a new R script with the pattern {DATE}_VCF_report_rendering.R where DATE is the current date in YYYY-MM-DD format. The R script is saved in the analysis directory you've provided in the the setup step.

my_reports
├── 2021-04-19_VCF_report_rendering.R

4. Run the {DATE}_VCF_report_rendering.R that opens in your editor (eg Rstudio if running interactively).

This will populate the HTML reports and the code that was used to generate it, in a R script. The current examples of the HTML output are in the reports directory here.

source(2021-04-19_VCF_report_rendering.R)

And the final output directory structure looks like this below:

my_reports
├── 2021-04-19_VCF_report_rendering.R
├── DRR131561_dx.variants.HC_hard_cutoffs_snpReport.html
├── DRR131564_dx.variants.HC_hard_cutoffs_snpReport.html
├── DRR131565_dx.variants.HC_hard_cutoffs_snpReport.html
├── DRR131587_dx.variants.HC_hard_cutoffs_snpReport.html
└── DRR131593_dx.variants.HC_hard_cutoffs_snpReport.html

The setup script will also generate HTML formatted emails using blastula R package, which are sent through gmail API application run by gmailr package. The HTML report will be sent as an attachment to the email. An example of the email message is below:


Methods

Implementation

The SNP-ReportR tool was developed to be implemented in a clinical setting to inform the interpretation of genetic variants. SNP-ReportR software is an open access, gene centric data browser for genetic analysis. SNP-ReportR is a package developed using R. After entering the gene name (HGNC, Ensembl gene (ENSG), or transcript SNP-ReportR will produce a comprehensive genetic report. SNP-ReportR output includes a summary of expressed variants found in the gene, RIN score, allowing both clinicians and researchers to assess the accuracy of the report. Furthermore, SNP-ReportR provides visualisation of associated haplotype, gene location, and the reported chromosomal abnormalities.

SNP-ReportR is available on GitHub(https://github.com/collaborativebioinformatics/expressed-variant-reporting). The repository provides detailed instructions for tool usage and installation.

Inputs

https://docs.google.com/spreadsheets/d/1pcB_bI_83B__sJ_Qw3tYDUhAYTz7Bh9SBvxjMzd8L4U/edit?usp=sharing

Outputs

Operation

SNP-ReportR requires a VCF file that includes all the variants that should be genotyped (Flow chart).

SNP-ReportR is a web page application and an overview of the method development is demonstrated in Figure 1. SNPReprter creates two reports. The first report is aimed at patients, non-specialist clinicians. The second report is aimed for genetic researchers.

After uploading the VCF file or entering the gene name (HGNC, Ensembl gene (ENSG), or transcript (ENST) identifier) in the search box on the homepage, you will be directed to the gene-specific page containing: 1) Gene-level summary which includes , 2) Links to the gene's page on OMIM, GTEx, gnomAD, 3) A dynamic table with the annotated variants overlapping the gene, 4) A graph with the distribution of the allele frequency for variants matched with OMIM, GTEx, gnomAD. The profile of the genetic variants to consider, such as type and size range, can be specified on the side bar. Each column in the dynamic table can be "searched" into or reordered dynamically. All data used by the app will be available for download in tab-delimited files. By default, allele frequency is reported based on dbVar and gnomAD genomes and exomes. Furthermore, SNP-ReportR utilises multiple database and links variants to genes and annotate gene impact, allele frequency, and the overlap with clinically-relevant SNVs, SVs and indels. All data, including are available for download in a tab-delimited file. Each variant has been extensively annotated and aggregated in a customizable table using OMIM/OMIA Variant, dbSNP - Variant Allele origin and allele frequency known or predicted RNA-editing site, Repeat family from UCSC Genome Browser Repeatmasker Annotations Homopolymer adjacency Entropy around the variant Splice adjacency FATHMM pathogenicity prediction COSM.

Flow Chart

Working flow chart link https://docs.google.com/presentation/d/1GwtkY6gtXj9l-k23cuZHhgFGPFtRZ0RkTLCqfZa2p-o/edit?usp=sharing

SNPReprter creates two reports. The first report is aimed at patients, non-specialist clinicians. The second report is aimed for genetic researchers.

Results

SNP-ReportR is a web page application. After uploading the VCF file or entering the gene name (HGNC, Ensembl gene (ENSG) in the search box on the homepage, you will be directed to the gene-specific page containing:

  1. Gene-level summary in addition to information about associated disease.
  2. Links to the gene's page on OMIM, GTEx, gnomAD.
  3. A dynamic table with the annotated variants overlapping the gene.
  4. A graph with showing summary of all the variants within the gene.
  5. Chromosome location.
  6. Table showing summary of gene expression analysis.
  7. Tissue specific gene expression summary table.
  8. Table with haplotype information, such as start, end and length.
  9. Haplotype visualisation.
  10. Link to 5 recent publications about the associated genes.
  11. SNPReprter creates two reports. The first report is aimed at patients, non-specialist clinicians. The second report is aimed for genetic researchers

First report Patients, non-specialist clinicians The report was designed to use a patient friendly language

Example clinical/patient report https://github.com/collaborativebioinformatics/expressed-variant-reporting/blob/main/Reports/genetic-report-3.pdf

References:

  • Smith RN, et al. InterMine: a flexible data warehouse system for the integration and analysis of heterogeneous biological data. Bioinformatics. 2012 Dec 1;28(23):3163-5.

  • Richards S, Aziz N, Bale S, et al. Standards and guidelines for the interpretation of sequence variants: a joint consensus recommendation of the American College of Medical Genetics and Genomics and the Association for Molecular Pathology. Genet Med. 2015;17(5):405-424. doi:10.1038/gim.2015.30

  • ACMG 59 Genes

About

Develop a tool to facilitate genetic reporting of expressed variants

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published