A GenomeDescription object holds the meta information describing a given genome.
In general the user will not need to manipulate directly a GenomeDescription instance but will manipulate instead a higher-level object that belongs to a class that extends the GenomeDescription class. For example, the top-level object defined in any BSgenome data package is a BSgenome object and the BSgenome class contains the GenomeDescription class. Thus a BSgenome object is also a GenomeDescription object and can therefore be treated as such. In other words all the methods described below will work on it.
In the code snippets below,
x is a
organism(object): Return the scientific name of the organism of the genome e.g.
"Caenorhabditis elegans", etc...
commonName(object): Return the common name of the organism of the genome e.g.
provider(x): Return the provider of this genome e.g.
providerVersion(x): Return the provider-side version of this genome. For example UCSC uses versions
"hg17", etc... for the different Builds of the Human genome.
releaseDate(x): Return the release date of this genome e.g.
releaseName(x): Return the release name of this genome, which is generally made of the name of the organization who assembled it plus its Build version. For example, UCSC uses
"hg18"for the version of the Human genome corresponding to the Build 36.1 from NCBI hence the release name for this genome is
"NCBI Build 36.1".
bsgenomeName(x): Uses the meta information stored in
xto make the name of the corresponding BSgenome data package (see the
available.genomesfunction in the BSgenome package for details about the naming scheme used for those packages). Of course there is no guarantee that a package with that name actually exists.
Gets information about the genome sequences. This information is returned in a Seqinfo object. Each part of the information can be retrieved separately with
isCircular(x), respectively, as described below.
Gets the names of the genome sequences.
seqnames(x)is equivalent to
Gets the lengths of the genome sequences.
seqlengths(x)is equivalent to
Returns the circularity flags of the genome sequences.
isCircular(x)is equivalent to
available.genomesfunction and the BSgenome class in the BSgenome package.
The Seqinfo class.
1 2 3 4 5 6 7 8 9 10 11
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.