wb_get_genome_path: Get path to cached genome file

View source: R/load_genome.R

wb_get_genome_pathR Documentation

Get path to cached genome file

Description

Returns the path to a genome FASTA file in the cache. Useful to use with functions that require a connection to read from, or to pass to other packages. The file gets downloaded as necessary.

Usage

wb_get_genome_path(WS, dir_cache = NULL)

Arguments

WS

Wormbase release version.

dir_cache

Directory where the downloaded files are cached.

Value

a character string pointing to a "c_elegans.PRJNA13758.WSxxx.genomic.fa.gz" file.


AlexWeinreb/wbData documentation built on April 3, 2025, 1:24 p.m.