parse_realignment: parse_realignment

View source: R/loosereads.R

parse_realignmentR Documentation

parse_realignment

Description

takes two BAMs, one with all reads and mates, and one with realignments and merges them, marking reads which did not realign uniquely to the reference

Usage

parse_realignment(reads, aln_bam, filter = FALSE, verbose = FALSE)

Arguments

reads

(GRanges) reads from .sample_spec

aln_bam

(character) bam realigned to reference

filter

(logical) default FALSE

verbose

(logical) default FALSE

Value

data.table of realigned reads


mskilab/loosends documentation built on Aug. 24, 2023, 8:08 a.m.