Description Usage Arguments Value Examples
If the GenBank file does not exist it fetches and writes it. If the file exists it just reads it. It extracts the metadata and return into a a data frame.
Note: use only sequence_keep = TRUE for simple gene sequences, else it may crash
1 2 3 4 5 6 | genbank_download_parse(
accession,
directory,
sequence_keep = TRUE,
store_file = FALSE
)
|
accession |
Character vector of accession numbers |
directory |
Character, directory name which must end by "/" |
sequence_keep |
Logical, if FALSE the sequence is not returned in the file data frame |
store_file |
Logical, if FALSE the file is not stored and the sequence is not returned in the file data frame |
Data frame with the metadata information.
1 | gb_metadata <- genbank_download_parse(accession = c("JX015376", "JQ768406", "LT621940"), directory = "genbank/", sequence_keep=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.