Function bed_reader::sample_files
source · pub fn sample_files<AnyPath0, AnyIter1>(
path_list: AnyIter1
) -> Result<Vec<PathBuf>, Box<BedErrorPlus>>where
AnyPath0: AsRef<Path>,
AnyIter1: IntoIterator<Item = AnyPath0>,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.