VariantCaller / exomeVarScore

WES pipeline with customizable scoring system based on 10 criteria.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

exomeVarScore

ExomeVarScore is a powerful pipeline that processes whole exome sequencing (WES) data, transforming Sequence Read Archive (SRA) data to VCF format and adding annotations using SnpEff/SnpSift. The pipeline also includes a variant scoring algorithm that assigns weights to variants based on ten different criteria.

Getting Started

Note: Before beginning, be sure to check that you have downloaded the necessary programs and databases. This information, along with directions for download are provided in Programs&Databases.md

  • Once you have the programs/databases downloaded and functioning, update the config.txt file with appropriate paths.
    • Also include desired settings for variant calling.

Step 1: Download the SRA Accession List

  • Download the desired SRA accession list from the NIH website. The NIH provides publicly available genomic data for download. You can search through various projects that include human WES files for use with this repository. In this example, we are using the following:
  • This BioProject contains WES data from 32 patients with diffuse cutaneous systemic sclerosis (dcSSc) and was submitted on 25/Mar/2016 from the University of California San Francisco

To download the SRA accession list from the NIH website, follow these steps:

  1. Find the desired BioProject or use the example from the above link
  2. Click SRA in the top right, which will take you to a page with links to each individual SRA from the BioProject.
  3. Click the following: Send to: > File > (under Format select Accession List) > Create File
    • This will download a .csv file containing all SRA IDs under the header "acc". The file should be named "SraAccList.csv".
  4. Place the SraAccList.csv file in the directory where you will be running the rest of the scripts.

Step 2: Download the FASTQ Files

To download the FASTQ files, run the following command:

python sradownload.py

  • This script will create a folder named SRA containing all the paired FASTQ.gz files. Depending on the number of SRA IDs and dedicated threads (see config.txt), this script may take a long time, approximately 0.5 to 1 hour per ID.

Step 3: Convert FASTQ.gz to BAM files

To convert the FASTQ.gz files to VCF format, run the following command:

python fastqtobam.py

  • This will create a folder named BAM with associated BAM files.

Step 4: Convert BAM files to VCF

To convert the BAM files to VCF format, run the following command:

python bamtovcf.py

  • This will create a folder named VCF with associated BAM files.
  • The comman uses parallel processing using the number of cores set in config.txt.

Step 5: Annotate VCF Files

To annotate the VCF files with dbSNP, dbNSFP, and ClinVar, run the following command:

python annotate.py

  • For directions on how to download these databases, see the programs.txt file.

Step 6: Process the Annotated VCF Files

Use the following commands in this order to process the annotated VCF files:

python filter.py

  • This extracts information from the VCF files used in the scoring algorithm.

python scoring.py

  • This applies the scoring algorithm to each variant and creates a .txt file with each variant. It also creates an additional .txt file with summed SNP scores located on the same gene.

python matchtodiseases.py

  • This matches each gene with an associated disease and organ system from the provided DiseaseDatabases files. For genes related to the same disease, gene scores are summed to result in a final disease score.
  • Disease and organ system vocabularies are derived from KEGG Diseases1.
  • Two different database files are provided. One with diseases from DisGeNET V7.02 and another from both DisGeNET2 and the Human Phenotype Ontology (HPO)3.

1. Kanehisa M, Furumichi M, Tanabe M, Sato Y, Morishima K. KEGG: new perspectives on genomes, pathways, diseases and drugs. Nucleic Acids Res. 2017 Jan 4;45(D1):D353-D361. doi: 10.1093/nar/gkw1092. Epub 2016 Nov 28. PMID: 27899662; PMCID: PMC5210567.

2. Janet Piñero, Juan Manuel Ramírez-Anguita, Josep Saüch-Pitarch, Francesco Ronzano, Emilio Centeno, Ferran Sanz, Laura I Furlong. The DisGeNET knowledge platform for disease genomics: 2019 update. Nucl. Acids Res. (2019) doi:10.1093/nar/gkz1021

3. Sebastian Köhler, Michael Gargano, Nicolas Matentzoglu, Leigh C Carmody, David Lewis-Smith, Nicole A Vasilevsky, Daniel Danis, Ganna Balagura, Gareth Baynam, Amy M Brower, Tiffany J Callahan, Christopher G Chute, Johanna L Est, Peter D Galer, Shiva Ganesan, Matthias Griese, Matthias Haimel, Julia Pazmandi, Marc Hanauer, Nomi L Harris, Michael J Hartnett, Maximilian Hastreiter, Fabian Hauck, Yongqun He, Tim Jeske, Hugh Kearney, Gerhard Kindle, Christoph Klein, Katrin Knoflach, Roland Krause, David Lagorce, Julie A McMurry, Jillian A Miller, Monica C Munoz-Torres, Rebecca L Peters, Christina K Rapp, Ana M Rath, Shahmir A Rind, Avi Z Rosenberg, Michael M Segal, Markus G Seidel, Damian Smedley, Tomer Talmy, Yarlalu Thomas, Samuel A Wiafe, Julie Xian, Zafer Yüksel, Ingo Helbig, Christopher J Mungall, Melissa A Haendel, Peter N Robinson, The Human Phenotype Ontology in 2021, Nucleic Acids Research, Volume 49, Issue D1, 8 January 2021, Pages D1207–D1217, https://doi.org/10.1093/nar/gkaa1043

About

WES pipeline with customizable scoring system based on 10 criteria.

License:MIT License


Languages

Language:Python 100.0%