readSequence: Convert read position into read sequence

Description Usage Arguments Value Author(s) See Also

View source: R/nucSim.R

Description

Given a read position, a reference sequence, a strand and a read length this function returns the read sequence.

Usage

1
readSequence(readPos, sequence, strand, readLen = 36)

Arguments

readPos

Numeric value indicating the start position on the chromosome.

sequence

Chromosome sequence (a DNAString)

strand

Strand indicator (+1 / -1)

readLen

Length of read.

Value

Read sequence.

Author(s)

Peter Humburg

See Also

readError, writeReads


ChIPsim documentation built on Nov. 8, 2020, 8:09 p.m.