Module parse
Source - parse_file_names
- 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. - parse_loci
- Parse a list of loci strings into a
HashSet
of formatted loci.
If a locus string is a file on disk, read its contents and parse each line as a locus. - parse_locus
- Parse a locus string into a tuple of contig name, start position, stop position, and optional name.
The locus string can be in the following formats: