extractTranscriptsFromGenome extracts the transcript
sequences from a BSgenome data package using the transcript
information (exon boundaries) stored in a TxDb
or GRangesList object.
DEFUNCT. Please use extractTranscriptSeqs instead.
extractTranscripts extracts a set of transcripts
from a single DNA sequence.
DEFUNCT. Please use extractTranscriptSeqs instead.
Related utility:
sortExonsByRank orders (or reorders) by rank the exons
stored in a GRangesList object containing
exons grouped by transcript.
DEPRECATED. No replacement.
# DEFUNCT. Please use extractTranscriptSeqs() instead.
extractTranscriptsFromGenome(genome, txdb, decreasing.rank.on.minus.strand=FALSE, use.names=TRUE)
# DEFUNCT. Please use extractTranscriptSeqs() instead.
extractTranscripts(x, exonStarts=list(), exonEnds=list(), strand=character(0), decreasing.rank.on.minus.strand=FALSE)
# DEPRECATED. No replacement.
sortExonsByRank(x, decreasing.rank.on.minus.strand=FALSE)available.genomes function
in the BSgenome package for how to install a genome.
TRUE or FALSE.
Describes the order of exons in transcripts located on the minus strand:
are they ordered by increasing (default) or decreasing rank?
For all the functions described in this man page (except
sortExonsByRank), this argument describes the input.
For sortExonsByRank, it describes how exons should be ordered in
the output.
TRUE or FALSE. Ignored if txdb is not
a TxDb object.
If TRUE (the default), the returned sequences are named
with the transcript names.
If FALSE, they are named with the transcript internal ids.
Note that, unlike the transcript internal ids, the transcript names
are not guaranteed to be unique or even defined (they could be all
NAs). A warning is issued when this happens.
extractTranscripts. A GRangesList object for sortExonsByRank,
typically coming from exonsBy(... , by="tx").
Each argument can be a list of integer vectors,
an IntegerList object,
or a character vector where each element is a
comma-separated list of integers.
In addition, the lists represented by exonStarts
and exonEnds must have the same shape i.e.
have the same lengths and have elements of the same lengths.
The length of exonStarts and exonEnds
is the number of transcripts.
exonStarts and
exonEnds specifying the strand ("+" or "-")
from which the transcript is coming.
extractTranscriptsFromGenome: A named
DNAStringSet object with one element per transcript.
When txdb is a GRangesList object, elements
in the output align with elements in the input (txdb), and they
have the same names.For extractTranscripts: A DNAStringSet object
with one element per transcript.For sortExonsByRank: A GRangesList object
with one top-level element per transcript. More precisely, the returned
object has the same "shape" (i.e. same length and same number of elements
per top-level element) as the input GRangesList
object x.
extractTranscriptSeqs as a replacement for
extractTranscriptsFromGenome and extractTranscripts.