Esempio n. 1
0
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]))
Esempio n. 2
0
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)
Esempio n. 3
0
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]))
Esempio n. 4
0
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)
Esempio n. 5
0
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)