Retrieves fasta sequences from NCBI nucleotide database.
get_sequences(
accession,
start = NULL,
stop = NULL,
api_key = Sys.getenv("NCBI_API_KEY"),
simplify = TRUE,
.parallel = FALSE,
.progress = "none"
)
the accession number of the sequence to retrieve
start bases to retrieve, numbered beginning at 1. If NULL the beginning of the sequence.
stop bases to retrieve, numbered beginning at 1. if NULL the stop of the sequence.
NCBI api-key to allow faster sequence retrieval.
simplify the FASTA headers to include only the genbank accession.
if 'TRUE', perform in parallel, using parallel backend provided by foreach
name of the progress bar to use, see 'create_progress_bar'
an DNAbin object.