Description Usage Arguments Value Examples
Add sequence context and transcript information to an in-memory ID VCF
1 2 3 4 5 6 | AnnotateIDVCFsWithTransRanges(
ID.vcfs,
ref.genome,
trans.ranges = NULL,
vcf.names = NULL
)
|
ID.vcfs |
A list of in-memory ID VCF as a |
ref.genome |
A |
trans.ranges |
Optional. If
then the function will infer |
vcf.names |
list of names of the vcfs |
A list of in-memory ID VCFs each a data.table
. These have been annotated
with the sequence context (column name seq.context
) and with
transcript information in the form of a gene symbol (e.g. "TP53"
)
and transcript strand. This information is in the columns
trans.start.pos
, trans.end.pos
, trans.strand
,
trans.Ensembl.gene.ID
and trans.gene.symbol
in the output.
These columns are not added if is.null(trans.ranges)
.
1 2 3 4 5 6 7 8 | file <- c(system.file("extdata/Strelka-ID-vcf",
"Strelka.ID.GRCh37.s1.vcf",
package = "ICAMSxtra"))
list.of.vcfs <- ICAMS::ReadAndSplitVCFs(file, variant.caller = "strelka")$ID
if (requireNamespace("BSgenome.Hsapiens.1000genomes.hs37d5", quietly = TRUE)) {
annotated.ID.vcfs <- AnnotateIDVCFsWithTransRanges(list.of.vcfs, ref.genome = "hg19",
trans.ranges = ICAMS::trans.ranges.GRCh37)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.