def _get_known_dirs(args):
    _, data = config_utils.get_dataarg(args)
    work_dir = tz.get_in(["dirs", "work"], data)
    if "alt" in data["reference"] and data["reference"]["alt"].keys() != [data["genome_build"]]:
        raise NotImplementedError("Need to support packing alternative references to S3")

    parts = tz.get_in(["reference", "fasta", "base"], data).split(os.path.sep)
    while len(parts) > 0:
        last_part = parts.pop(-1)
        if last_part == data["genome_build"]:
            break
    if len(parts) > 0:
        biodata_dir = os.path.sep.join(parts)
    return work_dir, biodata_dir
Set the unique sender screen name of this direct message.
dataset/ETHPy150Open chapmanb/bcbio-nextgen-vm/bcbiovm/ship/pack.py/_get_known_dirs--crossover with--dataset/ETHPy150Open livid/v2ex/twitter/twitter.py/DirectMessage.SetSenderScreenName