predictVariantEffects(sgv, tx, genome, fix_start_codon = TRUE,
output = c("short", "full"), cores = 1)SGVariants objectTxDb object, or GRangesList of exons
grouped by transcript with metadata columns txName,
geneName, cdsStart and cdsEnd
(by convention, cdsStart < cdsEnd for both strands).
For import from GFF format, use function importTranscripts.BSgenome objectdata.frame with rows corresponding to a
variant-transcript pair. The output includes columns for variant
identifier, transcript name, gene name, type of alteration at the
RNA and protein level, and variant description at the RNA and
protein level in HGVS notation. For output = "full"
additional columns are returned. These include the full-length RNA
and protein sequence for the reference and variant transcript.
Event start and end coordinates in the full output are 0- and
1-based, respectively (to allow for description of deletions).
Coordinates for the last junction in a transcript refer to the
last base of the second-to-last exon.require(BSgenome.Hsapiens.UCSC.hg19)
seqlevelsStyle(Hsapiens) <- "NCBI"
predictVariantEffects(sgv_pred, tx, Hsapiens)Run the code above in your browser using DataLab