Seqinfo
or
GRanges
for a genome.
GRangesForUCSCGenome(genome, chrom = NULL, ranges = NULL, ...)
GRangesForBSGenome(genome, chrom = NULL, ranges = NULL, ...)
SeqinfoForUCSCGenome(genome)
SeqinfoForBSGenome(genome)
NULL
.
Ranges
object with the intervals.
GRanges
constructor.
GRangesFor*
functions, a GRanges
object, with the
appropriate seqlengths
and
genome
ID.The SeqinfoFor*
functions return a Seqinfo
for the
indicated genome.
genome
function. The sequence
lengths are also properly initialized for the genome. This mitigates
the possibility of accidentally storing intervals for the wrong
genome. GRangesForUCSCGenome
obtains sequence information from the UCSC
website, while GRangesForBSGenome
looks for it in an
installed BSGenome
package. Using the latter is more efficient
in the long-run, but requires downloading and installing a potentially
large genome package, or creating one from scratch if it does not yet
exist for the genome of interest.