build_fasta: build a fasta file

Description Usage Arguments Value Examples

Description

Download sequences from Genbank and build a fasta file from an object output by cb_taxa_gene function

Usage

1
build_fasta(term, retmax = 500, rettype = "fasta")

Arguments

term

output of cb_taxa_gene function, gives a list of taxon and the name of the gene

retmax

max number of sequences to retain; default is 500

rettype

format of the output; default is Fasta

Value

return a list of fasta sequences

Examples

1
2
pom <- cb_taxa_gene("Pomatoschistus adriaticus","COI")
seq_fasta <- build_fasta(pom)

jurenoult/fishphylo documentation built on Jan. 1, 2021, 7:12 a.m.