R/get_read_positions_from_BAM.R
get_read_positions_from_BAM.Rd
This functions extracts information about read position that cover positions of interest in a BAM-file.
get_read_positions_from_BAM(
bam_file_path,
chr,
genomic_pos,
reference_path,
batch_size = NULL
)
Path to BAM-file.
Vectors. Should specify the positions of interest (chr
= Chromosome, genomic_pos
= Position in chromosome)
Path to reference genome e.g. FASTA-file.
Number of positions to process at a time
data.frame()
. Each line describes a position in a read.