Skip to content

Latest commit

 

History

106 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eggd_optimised_filtering

This app takes an annotated VCF (output of eggd_VEP) and adds MOI info to VCF and filters according to the provided bcftools string.

Usage

To run the app:

dx run app-GZ9FZ78457v7qjBXPXqGByyP \
    -iinput_vcf=[annotated vcf] \
    -ifilter_string=[filter string] \
    -ipanel_string=[panel string] \
    -igenepanels=[genepanels tsv] \
    -ipanel_dump=[panelapp dump json] \
    --destination=/path/to/output/dir -y

# example with WES vcf (see bottom of page for example $filter)
dx run app-GZ9FZ78457v7qjBXPXqGByyP \
    -iinput_vcf=file-GVyyBg844vXGvyY77k9qGVyY \
    -ifilter_string="$filter" \
    -ipanel_string="R149.1_Severe early-onset obesity_P" \
    -igenepanels=file-GY4QyKj4p65jx1xJqZKXBV79 \
    -ipanel_dump=file-GY4QxJ04p65zJf3937y01XBP \
    --destination=/output/wes_vcf -y

Local Tool README

optimised_filtering

Optimised filtering is a tool used to add MOI info, and perform filtering with bcftools.

Description

INFO fields will be added (named 'MOI') to display the PanelApp Mode of Inheritance, simplified to the following categories:

  • BIALLELIC
  • MONOALLELIC
  • BOTH
  • XLR (X-Linked Recessive)
  • XLD (X-Linked Dominant)
  • MITOCHONDRIAL
  • OTHER
  • UNKNOWN
  • NONE

Optimised filtering uses:

Requirements

  • bcftools
    • bcftools +split-vep

Example filter string is below:

filter="bcftools filter --soft-filter \"EXCLUDE\" -m + -e '(CSQ_Consequence~\"synonymous_variant\" | CSQ_Consequence~\"intron_variant\" | CSQ_Consequence~\"upstream_gene_variant\" | CSQ_Consequence~\"downstream_gene_variant\" | CSQ_Consequence~\"intergenic_variant\" | CSQ_Consequence~\"5_prime_UTR_variant\" | CSQ_Consequence~\"3_prime_UTR_variant\" | CSQ_gnomADe_AF>0.01 | CSQ_gnomADg_AF>0.01 | CSQ_TWE_AF>0.05) & CSQ_ClinVar_CLNSIGCONF\!~ \"pathogenic\\/i\" & (CSQ_SpliceAI_pred_DS_AG<0.2 | CSQ_SpliceAI_pred_DS_AG==\".\") & (CSQ_SpliceAI_pred_DS_AL<0.2 | CSQ_SpliceAI_pred_DS_AL==\".\") & (CSQ_SpliceAI_pred_DS_DG<0.2 | CSQ_SpliceAI_pred_DS_DG==\".\") & (CSQ_SpliceAI_pred_DS_DL<0.2 | CSQ_SpliceAI_pred_DS_DL==\".\") | (MOI=\"BIALLELIC\" & (CSQ_gnomADg_AF>0.005 | CSQ_gnomADe_AF>0.005))'"

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages