Retrieves sequence data from the ENA (European Nucleotide Archive)
based on country and date range.
Usage
fetch_ena_data(country, date_range, area_bounds = NULL, scientific_name = NULL)
Arguments
- country
Character string specifying the country.
- date_range
A Date vector of length 2 specifying start and end dates.
- area_bounds
Optional list with west, east, south, and north.
- scientific_name
Optional scientific name filter. If NULL or empty,
no scientific name filter is applied.
Value
A data.table containing ENA sequence data.
Details
This function sends a query to the ENA API using the provided filters and
returns the results in tabular format suitable for downstream analysis.