fetch.gb: Fetch GB files online

Description Usage Arguments Value

View source: R/read_gb_file.R

Description

Fetching GB file from GenBank database by GenInfo Identifier (GI) or accession number and writeing it to a file named "GI.gb" in current work directory.

Usage

1
fetch.gb(GI, read = TRUE)

Arguments

GI

GenInfo Identifier(GI) for interested genome file.

read

A logical value. If it is TRUE, the function will read the fetched GB file into current R session environment.

Value

If read is set as TRUE. The function return a large character vector which contains the content of GB file for input GI from GeneBank.


shuyuzheng/Chloroplot documentation built on Dec. 23, 2021, 1:28 a.m.