readSequence {ChIPsim}R Documentation

Convert read position into read sequence

Description

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

Usage

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


[Package ChIPsim version 1.36.0 Index]