annotate_igh_breakpoints.Rd
Add annotation to IGH breakpoints to infer mechanism based on location within IGH.
annotate_igh_breakpoints(annotated_df, genome_build = "grch37")
Previously annotated data frame of SVs.
Version of reference build to be used, only grch37 currently accepted.
A slightly modified bedpe with added columns.
Returns a modified bedpe with additional columns. The most useful columns that are added are mechanism (one of CSR, AID, VDJ) and label (NA if unmatched, otherwise one of Emu, Smu, one of the J segments or switch regions).
manta_sv = get_manta_sv(verbose = FALSE)
#> WARNING! No SV calls found in flat-file for: 171116-PL02
#> WARNING! No SV calls found in flat-file for: 171447-PL01
#> WARNING! No SV calls found in flat-file for: 171451-PL01
all_annotated = annotate_sv(sv_data = manta_sv)
ig_annotated = annotate_igh_breakpoints(all_annotated)