bam2ranges: Import BAM file into GRanges

Description Usage Arguments Author(s)

Description

Import aligned reads from a BAM file into a GRanges object.

Usage

1
2
bam2ranges(file, bamindex = file, min.mapq = 10, pairedEndReads = FALSE,
  chromosomes = NULL)

Arguments

file

Bamfile with aligned reads.

bamindex

Bam-index file with or without the .bai ending. If this file does not exist it will be created and a warning is issued.

min.mapq

Minimum mapping quality when importing from BAM files.

pairedEndReads

Set to TRUE if you have paired-end reads in your file.

Author(s)

David Porubsky


friendsofstrandseq/MaRyam documentation built on May 28, 2019, 8:40 p.m.