rmskAnnotate | R Documentation |
Extracts REF/ALT sequence from a VCF, runs RepeatMasker to annotate transposable elements and simple repeats, and annotates the original variants.
rmskAnnotate(svs.gr, nb.cores = 1, species = "human", docker.image = NULL)
svs.gr |
SVs. A GRanges or the path to a VCF file. |
nb.cores |
the number of cores that RepeatMasker should use. Default:1. |
species |
the species to use in RepeatMasker. Default: human. |
docker.image |
docker image with RepeatMasker. Default is NULL. |
This is a simple annotation where only the main repeat class is retrieved for each variant (covering most of the sequence).
RepeatMasker must be installed.
an updated GRanges with new columns 'rmsk.name', 'rmsk.classfam' and 'rmsk.cov'.
Jean Monlong
## Not run:
svs.gr = readSVvcf('calls.vcf', keep.ins.seq=TRUE, keep.ref.seq=TRUE)
svs.gr = rmskAnnotate(svs.gr)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.