calculateReferenceHomology: Calculates the length of inexact homology between the...

Description Usage Arguments Value

View source: R/BreakpointGRanges.R

Description

Calculates the length of inexact homology between the breakpoint sequence and the reference

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
calculateReferenceHomology(
  gr,
  ref,
  anchorLength = 300,
  margin = 5,
  match = 2,
  mismatch = -6,
  gapOpening = 5,
  gapExtension = 3
)

Arguments

gr

reakpoint GRanges

ref

reference BSgenome

anchorLength

Number of bases to consider for homology

margin

Number of additional reference bases include. This allows for inexact homology to be detected even in the presence of indels.

match

see Biostrings::pairwiseAlignment

mismatch

see Biostrings::pairwiseAlignment

gapOpening

see Biostrings::pairwiseAlignment

gapExtension

see Biostrings::pairwiseAlignment

Value

A dataframe containing the length of inexact homology between the breakpoint sequence and the reference.


StructuralVariantAnnotation documentation built on Nov. 8, 2020, 5:43 p.m.