generateRead: Generate a noisy read from a true sequence.

Description Usage Arguments Examples

Description

generateRead returns a list with the noisy read, the true sequence, the path, and the phred quality score.

Usage

1
2
generateRead(seq = "ATGCGGATCG", qv = NULL, seed = NULL,
  paramgphmm = initializeGphmm())

Arguments

seq

- character vector of true sequence.

qv

- integer, wanted phred quality score for the read.

seed

- integer, seed for reproducibility.

paramgphmm

- list of parameters.

Examples

1
2
generateRead('ACGTGCA')
generateRead('ACGTGCA', qv = 10, seed = 1416)

fperraudeau/gphmm documentation built on May 30, 2019, 6:55 p.m.