def get_refs(genome_build, aligner, config): """Retrieve reference genome data from a standard bcbio directory structure. """ find_fn = _find_file(config[CONFIG_KEY], startswith=True) ref_prefix = sret.find_ref_prefix(genome_build, find_fn) return sret.standard_genome_refs(genome_build, aligner, ref_prefix, _list(config[CONFIG_KEY]))
def get_refs(genome_build, aligner, config): """Retrieve reference genome data from a standard bcbio directory structure. """ ref_prefix = sret.find_ref_prefix( genome_build, functools.partial(_find_file, config[KEY])) return sret.standard_genome_refs(genome_build, aligner, ref_prefix, objectstore.list)
def get_refs(genome_build, aligner, config): """Retrieve reference genome data from a standard bcbio directory structure. """ find_fn = _find_file(config[CONFIG_KEY], startswith=True) ref_prefix = sret.find_ref_prefix(genome_build, find_fn) return sret.standard_genome_refs(genome_build, aligner, ref_prefix, _list(config[CONFIG_KEY]))
def get_refs(genome_build, aligner, config): """Retrieve reference genome data from a standard bcbio directory structure. """ find_fn = _find_file(config[KEY], prefix=config[KEY]["ref"]) ref_prefix = sret.find_ref_prefix(genome_build, find_fn) return sret.standard_genome_refs(genome_build, aligner, ref_prefix, objectstore.list)
def get_refs(genome_build, aligner, config): ref_prefix = sret.find_ref_prefix( genome_build, functools.partial(_find_ref_file, config[KEY])) return sret.standard_genome_refs(genome_build, aligner, ref_prefix, _list)