Supports options for splitting multi-header fasta files and overwriting existing files.
downloadNCBIGenomes(
asm,
species,
db,
output.dir = "./",
split.fasta = FALSE,
overwrite = FALSE
)
Genome fasta file(s) named according to the FTP database convention.
NCBI assembly summary data.table
Species names.
Database record to use: refseq or genbank
Output directory path. Default is current directory.
NCBI fasta files are multi-header. Split them? Default is FALSE.
Overwrite any existed genome file? Default is FALSE to skip the download.