metadata_extraction {vDiveR} | R Documentation |
Metadata Extraction from NCBI/GISAID EpiCoV FASTA file
Description
This function retrieves metadata (ID, country, date) from the NCBI/GISAID EpiCoV FASTA file (default FASTA header expected).
Usage
metadata_extraction(file_path, source)
Arguments
file_path |
path of fasta file |
source |
the source of fasta file, either "ncbi" or "GISAID" |
Value
A dataframe that has three columns consisting ID, collected country and collected date
Examples
filepath <- system.file('extdata','GISAID_EpiCoV.faa', package = 'vDiveR')
meta_gisaid <- metadata_extraction(filepath, 'GISAID')
[Package vDiveR version 1.2.1 Index]