dot-trimORF: Trim ORF

.trimORFR Documentation

Trim ORF

Description

Trim ORF from both ends. If the trimmed length is longer than one CDS, that whole CDS will be removed and the trimming will continue on the next CDS using the remaining trimming length. For example, given an ORF and the first CDS is 3bp, if trimStart is 6bp, then the first CDS will be removed and the second CDS will be trimmed 3bp.

Usage

.trimORF(orfGRL, trimStart, trimEnd)

Arguments

orfGRL

A GRangesList object of the ORFs.

trimStart

A numeric variable indicating how many bases to trim for ORF start.

trimEnd

A numeric variable indicating how many bases to trim for ORF end.

Value

a GRangesList object of trimmed ORFs.


nzhang89/RiboSeeker documentation built on April 15, 2022, 10:18 a.m.