Parses an RDP reference FASTA file.
parse_rdp(input = NULL, file = NULL, include_seqs = TRUE, add_species = FALSE)
taxmap
(character
) One of the following:
See the example below for what this
looks like. The parser read_fasta
produces output like this.
Each vector should have one base per element.
This is the result of parsers like
read.FASTA
.
This is the result of parsers like
read.fasta
.
Either "input" or "file" must be supplied but not both.
The path to a FASTA file containing sequences to use. Either "input" or "file" must be supplied but not both.
(logical
of length 1) If TRUE
, include
sequences in the output object.
(logical
of length 1) If TRUE
, add the
species information to the taxonomy. In this database, the species name
often contains other information as well.
The input file has a format like:
>S000448483 Sparassis crispa; MBUH-PIRJO&ILKKA94-1587/ss5 Lineage=Root;rootrank;Fun...
ggattcccctagtaactgcgagtgaagcgggaagagctcaaatttaaaatctggcggcgtcctcgtcgtccgagttgtaa
tctggagaagcgacatccgcgctggaccgtgtacaagtctcttggaaaagagcgtcgtagagggtgacaatcccgtcttt
...
Other parsers:
extract_tax_data()
,
lookup_tax_data()
,
parse_dada2()
,
parse_edge_list()
,
parse_greengenes()
,
parse_mothur_tax_summary()
,
parse_mothur_taxonomy()
,
parse_newick()
,
parse_phylo()
,
parse_phyloseq()
,
parse_qiime_biom()
,
parse_silva_fasta()
,
parse_tax_data()
,
parse_ubiome()
,
parse_unite_general()