download_gbk: A genbank accession downloader scurrilously stolen from ape.

View source: R/annotation_genbank.R

download_gbkR Documentation

A genbank accession downloader scurrilously stolen from ape.

Description

This takes and downloads genbank accessions.

Usage

download_gbk(accessions = "AE009949", write = TRUE)

Arguments

accessions

An accession – actually a set of them.

write

Write the files? Otherwise return a list of the strings

Details

Tested in test_40ann_biomartgenbank.R In this function I stole the same functionality from the ape package and set a few defaults so that it hopefully fails less often.

Value

A list containing the number of files downloaded and the character strings acquired.

Author(s)

The ape authors with some modifications by atb.

See Also

[ape]

Examples

 written <- download_gbk(accessions = "AE009949")
 written$written_file

elsayed-lab/hpgltools documentation built on May 9, 2024, 5:02 a.m.