File: breakendRanges.Rd

package info (click to toggle)
r-bioc-structuralvariantannotation 1.22.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,576 kB
  • sloc: makefile: 2
file content (46 lines) | stat: -rw-r--r-- 1,499 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/extensions-VCF.R
\name{breakendRanges}
\alias{breakendRanges}
\alias{breakendRanges,VCF-method}
\title{Extracting unpartnered breakend structural variants as a GRanges}
\usage{
breakendRanges(x, ...)

\S4method{breakendRanges}{VCF}(x, ...)
}
\arguments{
\item{x}{A VCF object.}

\item{...}{Parameters of \code{.breakpointRanges()}. See breakpointRanges for
more details.}
}
\value{
A GRanges object of SVs.
}
\description{
Extracting unpartnered breakend structural variants as a GRanges
}
\details{
The VCF standard supports single breakends where a breakend is not part of a
novel adjacency and lacks a mate. This function supports parsing single
breakends to GRanges, where a dot symbol is used in the ALT field to annotate
the directional information. Single breakends provide insights to situations
when one side of the structural variant is not observed, due to e.g. low
mappability, non-reference contigs, complex multi-break operations, etc.
See Section 5.4.9 of \url{https://samtools.github.io/hts-specs/VCFv4.3.pdf}
for details of single breakends.
}
\section{Methods (by class)}{
\itemize{
\item \code{VCF}: Extracting unpartnered structural variants as 
GRanges.
}}

\examples{
vcf.file <- system.file("extdata", "gridss.vcf",
                         package = "StructuralVariantAnnotation")
vcf <- VariantAnnotation::readVcf(vcf.file, "hg19")
breakendRanges(vcf)
breakendRanges(vcf, nominalPosition=TRUE)
}