gettRNAstructureGRanges | R Documentation |
gettRNAstructureGRanges
returns a list of GRanges describing the
boundaries of tRNA structures as extracted from the dot bracket annotation.
The dot bracket annotation is parsed using gettRNABasePairing
, which
internally uses getBasePairing
.
gettRNAstructureSeq
returns split or partial tRNA sequences based on
the structure information. Variations in the ength of structure features can
be padded to retrieve sequences of equal length. If sequences are joined by
setting joinCompletely = FALSE
, the boundaries of the tRNA structure
are stored in the result as metadata. They can be accessesed as an IRanges
object by using metadata(seq)[["tRNA_structures"]]
.
gettRNAstructureGRanges(x, structure = "")
gettRNAstructureSeqs(
x,
structure = "",
joinCompletely = FALSE,
joinFeatures = FALSE,
padSequences = TRUE
)
## S4 method for signature 'GRanges'
gettRNAstructureSeqs(
x,
structure = "",
joinCompletely = FALSE,
joinFeatures = FALSE,
padSequences = TRUE
)
## S4 method for signature 'GRanges'
gettRNAstructureGRanges(x, structure = "")
x |
a GRanges object with tRNA information. It has to pass the
|
structure |
optional parameter for returning just partial sequences.
The following values are accepted:
|
joinCompletely |
Should the sequence parts, which are to be returned, be
joined into one sequence? (default: |
joinFeatures |
Should the sequence parts, which are to be returned and
are from the same structure type, be joined into one sequence?
(default: |
padSequences |
parameter whether sequences of the same type
should be returned with the same length. For stems missing positions will be
filled up in the middle, for loops at the ends.
(default: |
a list of GRanges
or DNAStringSet
objects. In case
joinCompletly is set to TRUE a single DNAStringSet
is returned.
data("gr", package = "tRNA")
gettRNAstructureGRanges(gr, structure = "anticodonLoop")
gettRNAstructureSeqs(gr, structure = "anticodonLoop")
gettRNABasePairing(gr[1:10])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.