Function bed_reader::sample_files
source · [−]pub fn sample_files<I, P>(path_list: I) -> Result<Vec<PathBuf>, BedErrorPlus> where
I: IntoIterator<Item = P>,
P: AsRef<Path>, Expand description
Returns the local paths to a list of files. If necessary, the files will be downloaded.
SHA256 hashes are used to verify that the files are correct.
The files will be in a directory determined by environment variable BED_READER_DATA_DIR.
If that environment variable is not set, a cache folder, appropriate to the OS, will be used.