searchGB: Search GenBank database for sequences.

Description Usage Arguments Note Author(s) References See Also Examples

View source: R/searchGB.R

Description

This function searches the GenBank database for retriving sequences of taxa.

Usage

1
searchGB(term, db="nuccore", retmax=20)

Arguments

term

a search term to find sequence data related to it.

db

a database to search within, default set to "nuccore", the main sequence database.

Note

Depending on search terms, the data retrieved cannot be of the same taxon as the intended search term. It also retrieve the number of records associated to the search. If retmax do not include all records this information can be helpful to retrieve all data associated to the search term.

Author(s)

Lizandro N. Peraza-Flores

References

For details on database visit: https://ncbi.nlm.nih.gov

See Also

fetchseq, read_fasta, read_gb, read_PubMedRec, write2fas

Examples

1
2
# load example data:
sear_seqs <- searchGB("Cattleya crispata", retmax=5)

lizandropf/ncbiRtools documentation built on May 14, 2019, 8:02 a.m.