bold: A programmatic interface to the Barcode of Life data
About
This package gives you access to data from BOLD System http://www.boldsystems.org/ via their API (http://v4.boldsystems.org/index.php/api_home)
Functions
bold_specimens
- Search for specimen databold_seq
- Search for and retrieve sequencesbold_seqspec
- Get sequence and specimen data togetherbold_trace
- Get trace files - saves to diskread_trace
- Read trace files into Rbold_tax_name
- Get taxonomic names via input namesbold_tax_id
- Get taxonomic names via BOLD identifiers (Deprecated)bold_tax_id2
- Get taxonomic names via BOLD identifiers (improved)bold_identify
- Search for match given a COI sequencebold_identify_parents
- Adds guessed parent ranks (Deprecated)bold_identify_taxonomy
- Adds real parent ranks.
Interestingly, they provide xml and tsv format data for the specimen data, while they provide fasta data format for the sequence data. So for the specimen data you can get back raw XML, or a data frame parsed from the tsv data, while for sequence data you get back a list (b/c sequences are quite long and would make a data frame unwieldy).