getSRPartitionScores: Get a score for each shortread in a bam file on specific...

Description Usage Arguments Details Value Examples

Description

Get a score for each shortread in a bam file on specific positions. Scores based on a consensus matrix of longreads.

Usage

1
getSRPartitionScores(bamfile, mats, ...)

Arguments

bamfile

BAM file path.

mats

Consensus matrix from longread clustering at positions in ppos.

Details

Returns a srpartition object: A list with slots:

bamfile

<character>; Path to the bam file used to construct the pileup

ppos

<numeric>; Positions used for scoring

srpartition

A data.frame with colums:

read

<character>; The read name

pos

<integer>; Genomic position of base

Haplotype

<character>; Haplotype

prob

<integer>; probability for a base at a position

consmat

Consensus matrix

Value

A srpatition object. See Details.

Examples

1
###

gschofl/DR2S documentation built on May 17, 2019, 8:40 a.m.