pub fn parse_file_names(bam_paths: &[PathBuf]) -> HashSet<Url>
Expand description
Parse a list of BAM file paths into a HashSet
of URLs.
If any of the files are a local file ending in .txt, assume it’s a file of filenames.
§Arguments
bam_paths
- A list of BAM file paths.
§Returns
A HashSet
of URLs.
§Errors
This function returns an error if it cannot parse a given file path.
§Panics
This function will panic if it cannot parse a given file path.