read_length: Heuristic to get the median read length from a BAM...

View source: R/align.R

read_lengthR Documentation

Heuristic to get the median read length from a BAM file.access

Description

Heuristic to get the median read length from a BAM file.access

Usage

read_length(bam_file, n = 100)

Arguments

bam_file

Path to a bam file.

n

How many alignments to use.

Value

The median read length in the file.


Gibbons-Lab/mbtools documentation built on Jan. 28, 2024, 11:08 a.m.