View source: R/annotation_genbank.R
load_genbank_annotations | R Documentation |
Let us admit it, sometimes biomart is a pain. It also does not have easily accessible data for microbes. Genbank does!
load_genbank_annotations(
accession = "AE009949",
file = NULL,
sequence = TRUE,
reread = TRUE,
savetxdb = FALSE
)
accession |
Accession to download and import. |
file |
Use a file instead of downloading the accession? |
sequence |
Download the sequence with the annotations? |
reread |
Re-read (download) the file from genbank. |
savetxdb |
Attempt saving a txdb object? |
Tested in test_40ann_biomartgenbank.R and test_70expt_spyogenes.R This primarily sets some defaults for the genbankr service in order to facilitate downloading genomes from genbank and dumping them into a local txdb instance.
List containing a txDb, sequences, and some other stuff which I haven't yet finalized.
[Biostrings] [GenomicFeatures] [genbankr::import()] [genbankr::readGenBank()]
sagalacticae_genbank_annot <- load_genbank_annotations(accession = "AE009948")
dim(as.data.frame(sagalacticae_genbank_annot$cds))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.