Downloads sequences from GenBank in batches.

seqrec_get(txid, ps, direct = FALSE, lvl = 0)

Arguments

txid

NCBI taxonomic ID

ps

Parameters list, generated with parameters()

direct

Node-level only or subtree as well? Default FALSE.

lvl

Integer, number of message indentations indicating code depth.

Value

Vector of sequence records

Details

If a restez database is available and the number of sequences to retrieve is less than 'btchsz', the function will look the sequences up from the database rather than download.

See also