getReadLength {seqsetvis} | R Documentation

## determine the most common read length for input bam_file. uses 50 randomly selected regions from query_gr. If fewer than 20 reads are present, loads all of query_gr.

### Description

determine the most common read length for input bam_file. uses 50 randomly selected regions from query_gr. If fewer than 20 reads are present, loads all of query_gr.

### Usage

    getReadLength(bam_file, query_gr)

### Arguments

`bam_file` | indexed bam file
`query_gr` | GRanges to read from bam file

### Value

numeric of most common read length.

[Package seqsetvis version 1.6.0 Index]