read.bam.tags: Read BAM alignment file

Description Usage Arguments Value

View source: R/zroutines.R

Description

Reads in aligned reads from BAM file. Note: no split (non-unique) alignemnts should be reported in the BAM file.

Usage

1
read.bam.tags(filename, read.tag.names = F, fix.chromosome.names = F)

Arguments

filename

BAM file

read.tag.names

Whether the tag names should be read in

fix.chromosome.names

Whether to remove ".fa" from the end of the sequence names

Value

tags

A vector of 5' tag coordinates, with negative values corresponding to tags mapped to the negative strand.

quality

Number of mismatches

names

Tag names, if read.tag.names was set


hms-dbmi/spp documentation built on Sept. 20, 2020, 7 p.m.