adjustedCADD.annotation.indels {Ravages}R Documentation

Indels annotation with adjusted CADD scores

Description

Annotate Indels with the adjusted CADD scores (CADD PHRED scores for coding, regulatory and intergenic regions)

Usage

adjustedCADD.annotation.indels(x, variant.scores = NULL, 
			       cores = 10, verbose = T, path.data)

Arguments

x

A bed.matrix annotated with CADD regions using set.CADDregions

variant.scores

A dataframe containing the CADD PHREDv1.4 scores of the indels

cores

How many cores to use, set at 10 by default

verbose

Whether to display information about the function actions

path.data

The repository where data for RAVA-FIRST are or will be downloaded from https://lysine.univ-brest.fr/RAVA-FIRST/

Details

Indels are directly annotated with the adjusted CADD scores in the function using the file "AdjustedCADD_v1.4_202204_indels.tsv.gz" downloaded from https://lysine.univ-brest.fr/RAVA-FIRST/ in the repository of the package Ravages.

The adjusted CADD scores in "AdjustedCADD_v1.4_202204_indels.tsv.gz" have been computed using a set of 48M indels already annotated in the CADD website. If indels not present in this set are to be annotated, they will be given the same adjusted score as the indel with the nearest PHRED score v1.4 provided in variant.scores which should contain the chromosome ('chr'), position ('pos'), reference allele ('A1'), alternative allele ('A2') and PHRED CADD scores v1.4 ('PHRED_1.4').

Those adjusted scores are used in the RAVA.FIRST() pipeline to filter rare variants.

As this function can take time when a large number of SNVs are present, it is recommended to use this function chromosome by chromosome for large datasets or to fitler the bed matrix before the annotation.

Value

The bed matrix x with adjusted CADD scores in adjCADD.

Source

https://lysine.univ-brest.fr/RAVA-FIRST/

See Also

adjustedCADD.annotation, adjustedCADD.annotation.SNVs, RAVA.FIRST, filter.adjustedCADD


[Package Ravages version 1.1.3 Index]