View source: R/fetch_sequences.R
fetch_bold | R Documentation |
Fetch sequences from BOLD
fetch_bold(
x,
marker = "COI-5P",
output = "gb-binom",
quiet = FALSE,
db = NULL,
retry_attempt = 3,
retry_wait = 5
)
x |
A taxon name or vector of taxa to download sequences for |
marker |
the barcode marker used as a search term for the database |
output |
the output format for the taxonomy in fasta headers.
Options include "h" for full heirarchial taxonomy (Accession;Domain;Phylum;Class;Order;Family;Genus;Species),
"binom" for just genus species binomials (Accession;Genus_species),
"bold" for BOLD taxonomic ID only (Accession;BoldTaxID),
"gb" for genbank taxonomic ID (Accession|GBTaxID),
"gb-binom" which outputs genbank taxonomic ID's and Genus species binomials, translating BOLD taxonomic ID's to genbank in the process (Accession|GBTaxID;Genus_species)
or "standard" which outputs the default format for each database. For genbank this is the description field, and for bold this is |
quiet |
Whether progress should be printed to the console. |
db |
(Optional) a database file generated using |
retry_attempt |
The number of query attempts in case of query failure due to poor internet connection. |
retry_wait |
How long to wait between query attempts |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.